summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-11-01 19:17:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-11-01 19:17:57 +0000
commit8be1a254d891ccea583db329e23a02b79f1332a4 (patch)
treeb6b57c6425be6e62be4263f9ddd994ce3d25915e /sys/arch/sgi/conf
parent3efc2baf403ee74c47843093d736409f75680980 (diff)
Driver for the sgi IOC3 onboard Ethernet interface. Tested on Octane only so
far, and needs help to figure out its Ethernet address on IP35 systems. Heavily derived from mec(4) written by Izumi Tsutsui and Christopher Sekiya, although it required many changes to fit the IOC3 chip.
Diffstat (limited to 'sys/arch/sgi/conf')
-rw-r--r--sys/arch/sgi/conf/GENERIC-IP273
-rw-r--r--sys/arch/sgi/conf/GENERIC-IP303
-rw-r--r--sys/arch/sgi/conf/RAMDISK-IP273
-rw-r--r--sys/arch/sgi/conf/RAMDISK-IP303
-rw-r--r--sys/arch/sgi/conf/files.sgi7
5 files changed, 14 insertions, 5 deletions
diff --git a/sys/arch/sgi/conf/GENERIC-IP27 b/sys/arch/sgi/conf/GENERIC-IP27
index e42beb9fac1..929deaa8551 100644
--- a/sys/arch/sgi/conf/GENERIC-IP27
+++ b/sys/arch/sgi/conf/GENERIC-IP27
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC-IP27,v 1.17 2009/10/22 19:55:45 miod Exp $
+# $OpenBSD: GENERIC-IP27,v 1.18 2009/11/01 19:17:56 miod Exp $
#
# THIS KERNEL IS FOR Origin, Onyx, Fuel, Tezro (IP27, IP35) SYSTEMS ONLY.
#
@@ -54,6 +54,7 @@ com0 at ioc? base 0x00020178
com1 at ioc? base 0x00020170
com* at ioc?
dsrtc0 at ioc?
+iec* at ioc?
onewire* at ioc?
option ONEWIREVERBOSE
diff --git a/sys/arch/sgi/conf/GENERIC-IP30 b/sys/arch/sgi/conf/GENERIC-IP30
index 739d170a94e..d3b4d6874d1 100644
--- a/sys/arch/sgi/conf/GENERIC-IP30
+++ b/sys/arch/sgi/conf/GENERIC-IP30
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC-IP30,v 1.14 2009/10/26 18:13:31 miod Exp $
+# $OpenBSD: GENERIC-IP30,v 1.15 2009/11/01 19:17:56 miod Exp $
#
# THIS KERNEL IS FOR Octane and Octane 2 (IP30) SYSTEMS ONLY.
#
@@ -56,6 +56,7 @@ com0 at ioc? base 0x00020178
com1 at ioc? base 0x00020170
com* at ioc?
dsrtc0 at ioc?
+iec* at ioc?
onewire* at ioc?
option ONEWIREVERBOSE
diff --git a/sys/arch/sgi/conf/RAMDISK-IP27 b/sys/arch/sgi/conf/RAMDISK-IP27
index 98b89f50c9f..95a58519250 100644
--- a/sys/arch/sgi/conf/RAMDISK-IP27
+++ b/sys/arch/sgi/conf/RAMDISK-IP27
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK-IP27,v 1.12 2009/10/22 19:55:45 miod Exp $
+# $OpenBSD: RAMDISK-IP27,v 1.13 2009/11/01 19:17:56 miod Exp $
#
# THIS KERNEL IS FOR Origin, Onyx, Fuel, Tezro (IP27, IP35) SYSTEMS ONLY.
@@ -61,6 +61,7 @@ ioc* at pci?
com0 at ioc? base 0x00020178
com1 at ioc? base 0x00020170
dsrtc0 at ioc?
+iec* at ioc?
onewire* at ioc?
option ONEWIREVERBOSE
diff --git a/sys/arch/sgi/conf/RAMDISK-IP30 b/sys/arch/sgi/conf/RAMDISK-IP30
index 7ebb4352e7a..991ff08197e 100644
--- a/sys/arch/sgi/conf/RAMDISK-IP30
+++ b/sys/arch/sgi/conf/RAMDISK-IP30
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK-IP30,v 1.10 2009/10/22 19:55:45 miod Exp $
+# $OpenBSD: RAMDISK-IP30,v 1.11 2009/11/01 19:17:56 miod Exp $
#
# THIS KERNEL IS FOR Octane and Octane 2 (IP30) SYSTEMS ONLY.
@@ -63,6 +63,7 @@ com0 at ioc? base 0x00020178
com1 at ioc? base 0x00020170
com* at ioc?
dsrtc0 at ioc?
+iec* at ioc?
onewire* at ioc?
option ONEWIREVERBOSE
diff --git a/sys/arch/sgi/conf/files.sgi b/sys/arch/sgi/conf/files.sgi
index 5925463c3e5..8afd0f245f3 100644
--- a/sys/arch/sgi/conf/files.sgi
+++ b/sys/arch/sgi/conf/files.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: files.sgi,v 1.36 2009/10/26 18:13:31 miod Exp $
+# $OpenBSD: files.sgi,v 1.37 2009/11/01 19:17:56 miod Exp $
#
# maxpartitions must be first item in files.${ARCH}
#
@@ -114,6 +114,11 @@ 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
+# IOC3 onboard Ethernet
+device iec: ether, ifnet, ifmedia, mii
+attach iec at ioc
+file arch/sgi/dev/if_iec.c iec
+
# DS1687 Time-Of-Day calendar device
device dsrtc
attach dsrtc at macebus with dsrtc_macebus