summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-08-18 19:34:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-08-18 19:34:18 +0000
commit9a01ee2e8e0f86eba9a9f4027dee4a18ebc50664 (patch)
tree65ac981d577fb98abb08c55e4f88dd8d1bf8d313 /sys/arch/sgi/conf
parenta4b78b2607a328b161f44ec13bba1356993630cc (diff)
Blind partial support for IOC4 chip, found on IO8 and IO9 base I/O boards on
Origin 350 and Tezro systems. While this chip provides serial ports, an ATAPI interface and a PS/2 keyboard and mouse interface, this code currently only attempts to support the serial ports.
Diffstat (limited to 'sys/arch/sgi/conf')
-rw-r--r--sys/arch/sgi/conf/GENERIC-IP277
-rw-r--r--sys/arch/sgi/conf/files.sgi12
2 files changed, 16 insertions, 3 deletions
diff --git a/sys/arch/sgi/conf/GENERIC-IP27 b/sys/arch/sgi/conf/GENERIC-IP27
index 38ce46db43b..acb88bad017 100644
--- a/sys/arch/sgi/conf/GENERIC-IP27
+++ b/sys/arch/sgi/conf/GENERIC-IP27
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC-IP27,v 1.13 2009/07/15 18:15:21 miod Exp $
+# $OpenBSD: GENERIC-IP27,v 1.14 2009/08/18 19:34:14 miod Exp $
#
# THIS KERNEL IS FOR Origin, Onyx, Fuel, Tezro (IP27, IP35) SYSTEMS ONLY.
#
@@ -59,6 +59,11 @@ option ONEWIREVERBOSE
owmac* at onewire?
owserial* at onewire?
+# IOC4
+iof* at pci?
+com0 at iof? base 0x380
+com* at iof?
+
#### SCSI
ahc* at pci?
isp* at pci?
diff --git a/sys/arch/sgi/conf/files.sgi b/sys/arch/sgi/conf/files.sgi
index 6137604eb2a..e869fceb9e5 100644
--- a/sys/arch/sgi/conf/files.sgi
+++ b/sys/arch/sgi/conf/files.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: files.sgi,v 1.31 2009/08/13 15:13:11 jasper Exp $
+# $OpenBSD: files.sgi,v 1.32 2009/08/18 19:34:14 miod Exp $
#
# maxpartitions must be first item in files.${ARCH}
#
@@ -103,9 +103,17 @@ device ioc: onewirebus
attach ioc at pci
file arch/sgi/pci/ioc.c ioc
-# IOC3 serial ports
+# IOC4
+define iof {[base = -1]}
+device iof
+attach iof at pci
+file arch/sgi/pci/iof.c iof
+
+# IOC3/4 serial ports
attach com at ioc with com_ioc
file arch/sgi/dev/com_ioc.c com_ioc
+attach com at iof with com_iof
+file arch/sgi/dev/com_iof.c com_iof
# DS1687 Time-Of-Day calendar device
device dsrtc