summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-07-07 00:11:50 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-07-07 00:11:50 +0000
commitf4fd0fb14c0a729eb78f1899e0faa91c5a37aec3 (patch)
tree18c4719f8996500445cc82b978b85ed54091a91e
parent06782dcd7ec71d7a4bfa316eaedfa3068c5c7b11 (diff)
Add pccom to files.i386. SPARE-PARTS is an i386-dx40, which runs
with zero fifo overruns or dropped characters at 115200bps with pccom.
-rw-r--r--sys/arch/i386/conf/SPARE-PARTS102
-rw-r--r--sys/arch/i386/conf/files.i38610
2 files changed, 111 insertions, 1 deletions
diff --git a/sys/arch/i386/conf/SPARE-PARTS b/sys/arch/i386/conf/SPARE-PARTS
new file mode 100644
index 00000000000..eadb2e8487e
--- /dev/null
+++ b/sys/arch/i386/conf/SPARE-PARTS
@@ -0,0 +1,102 @@
+#
+# SPARE-PARTS: spare-parts.teeny.org
+#
+# $OpenBSD: SPARE-PARTS,v 1.1 1996/07/07 00:11:48 downsj Exp $
+#
+
+machine i386
+option I386_CPU
+option I486_CPU
+option MATH_EMULATE
+
+maxusers 8
+option TIMEZONE=480
+option DST=0
+
+option SWAPPAGER
+option VNODEPAGER
+option DEVPAGER
+
+#option DDB
+#makeoptions DEBUG="-g"
+#option DIAGNOSTIC
+option KTRACE
+
+option SYSVMSG
+option SYSVSEM
+option SYSVSHM
+#option SHMMAXPGS=1024
+
+option COMPAT_NOMID
+option COMPAT_09
+option COMPAT_10
+option COMPAT_11
+option COMPAT_43
+option TCP_COMPAT_42
+
+option COMPAT_SVR4
+option COMPAT_IBCS2
+option COMPAT_LINUX
+option COMPAT_FREEBSD
+
+option LKM
+
+option FFS
+option QUOTA
+option MFS
+
+option PPP_BSDCOMP,PPP_DEFLATE
+option IPFILTER
+
+option NFSCLIENT
+option NFSSERVER
+
+option CD9660
+option MSDOSFS
+option FDESC
+option FIFO
+option KERNFS
+option NULLFS
+option PROCFS
+option UMAPFS
+option UNION
+
+option GATEWAY
+option INET
+
+config bsd root on wd0 swap on wd0
+
+mainbus0 at root
+
+isa0 at mainbus0
+
+npx0 at isa? port 0xf0 irq 13
+isadma0 at isa?
+
+pc0 at isa? port 0x60 irq 1
+
+#com0 at isa? port 0x3f8 irq 4
+#com1 at isa? port 0x2f8 irq 3
+#com2 at isa? port 0x3e8 irq 2
+pccom0 at isa? port 0x3f8 irq 4
+pccom1 at isa? port 0x2f8 irq 3
+pccom2 at isa? port 0x3e8 irq 2
+
+lpt0 at isa? port 0x3BC irq 7
+lpt1 at isa? port 0x278 irq 5
+
+ed0 at isa? port 0x300 irq 10
+
+fdc0 at isa? port 0x3f0 irq 6 drq 2
+fd* at fdc? drive ?
+
+wdc0 at isa? port 0x1f0 irq 14
+wd* at wdc? drive ?
+
+pseudo-device loop 1
+pseudo-device bpfilter 8
+pseudo-device ppp 4
+pseudo-device tun 2
+
+pseudo-device pty 64
+pseudo-device vnd 8
diff --git a/sys/arch/i386/conf/files.i386 b/sys/arch/i386/conf/files.i386
index 4841180f478..d77ae540605 100644
--- a/sys/arch/i386/conf/files.i386
+++ b/sys/arch/i386/conf/files.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: files.i386,v 1.20 1996/06/22 21:52:51 tholo Exp $
+# $OpenBSD: files.i386,v 1.21 1996/07/07 00:11:49 downsj Exp $
# $NetBSD: files.i386,v 1.73 1996/05/07 00:58:36 thorpej Exp $
#
# new style config file for i386 architecture
@@ -108,6 +108,14 @@ file arch/i386/isa/npx.c npx needs-flag
# XXX should be a real device
define pckbd { [irq = -1], [port = -1] }
+# 8250/16[45]50-based "com" ports, optimized for the i386 interrupt system
+device pccom: tty
+attach pccom at isa with pccom_isa
+#attach pccom at pccommulti with pccom_commulti
+attach pccom at pcmcia with pccom_pcmcia
+#file arch/i386/isa/pccom.c pccom & (pccom_isa | pccom_commulti | pccom_pcmcia) needs-flag
+file arch/i386/isa/pccom.c pccom & (pccom_isa | pccom_pcmcia) needs-flag
+
# PC console support a la "pccons"
device pc: tty, pckbd
attach pc at isa