summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1999-10-26 13:12:49 +0000
committerdownsj <downsj@openbsd.org>1999-10-26 13:12:49 +0000
commitf8ea54a5439b0be0db66c03113bd7ac98838b46b (patch)
tree9945c50941831c84246d119b84cc1b135ba6f7c1
parentAdd com/pccom driver for puc. (diff)
downloadwireguard-openbsd-f8ea54a5439b0be0db66c03113bd7ac98838b46b.tar.xz
wireguard-openbsd-f8ea54a5439b0be0db66c03113bd7ac98838b46b.zip
Add puc devices.
-rw-r--r--sys/arch/i386/conf/GENERIC5
-rw-r--r--sys/arch/i386/conf/files.i38613
2 files changed, 14 insertions, 4 deletions
diff --git a/sys/arch/i386/conf/GENERIC b/sys/arch/i386/conf/GENERIC
index 661aff9a5eb..8871b9da4ab 100644
--- a/sys/arch/i386/conf/GENERIC
+++ b/sys/arch/i386/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.133 1999/10/12 17:06:56 jason Exp $
+# $OpenBSD: GENERIC,v 1.134 1999/10/26 13:12:49 downsj Exp $
# $NetBSD: GENERIC,v 1.48 1996/05/20 18:17:23 mrg Exp $
#
# GENERIC -- everything that's currently supported
@@ -81,6 +81,8 @@ pcmcia* at pcic? controller ? socket ?
# USB Generic driver
#ugen* at uhub? port ? configuration ? interface ?
+puc* at pci? # PCI "universal" communication device
+
npx0 at isa? port 0xf0 irq 13 # math coprocessor
isadma0 at isa?
isapnp0 at isa?
@@ -104,6 +106,7 @@ pccom* at ast? slave ?
#pccom* at rtfps? slave ?
pccom* at pcmcia? function ? # PCMCIA modems/serial ports
pccom* at isapnp?
+pccom* at puc? port ?
# option for using CD1400 handshaking for incoming data
# requires a special cable that exchanges the RTS and DTR lines
diff --git a/sys/arch/i386/conf/files.i386 b/sys/arch/i386/conf/files.i386
index 28c95489a36..4c638d269b9 100644
--- a/sys/arch/i386/conf/files.i386
+++ b/sys/arch/i386/conf/files.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: files.i386,v 1.58 1999/10/06 07:36:55 deraadt Exp $
+# $OpenBSD: files.i386,v 1.59 1999/10/26 13:14:35 downsj Exp $
# $NetBSD: files.i386,v 1.73 1996/05/07 00:58:36 thorpej Exp $
#
# new style config file for i386 architecture
@@ -129,8 +129,7 @@ define pckbd { [irq = -1], [port = -1] }
device pccom: tty
attach pccom at isa with pccom_isa
attach pccom at commulti with pccom_commulti
-#attach pccom at pcmcia with pccom_pcmcia
-file arch/i386/isa/pccom.c pccom & (pccom_isa | pccom_isapnp | pccom_commulti | pccom_pcmcia) needs-flag
+file arch/i386/isa/pccom.c pccom & (pccom_isa | pccom_isapnp | pccom_commulti | pccom_pcmcia | pccom_puc) needs-flag
# PC console support a la "pccons"
device pc: tty, pckbd
@@ -268,6 +267,14 @@ file dev/isa/i82365_isa.c pcic_isa
# Code common to ISA and ISAPnP attachments
file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp
+#
+# Machine-independent PUC drivers
+#
+include "dev/puc/files.puc"
+
+# i386-specific PUC drivers
+attach pccom at puc with pccom_puc
+
# PCMCIA wants to be probed as late as possible.
#