summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-03-22 21:22:09 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-03-22 21:22:09 +0000
commit1a619d1621741f50d0e7f29f35234eccc31ceb5d (patch)
tree8519a272bcc53d9c2a8411209fa0bcbb73524c04 /sys/arch/sgi/conf
parentddc208ed863c50de1b0049f18eda0963a62ec0ec (diff)
On SGI IP35 systems, get SPD memory records from L1 and attach spdmem to
decode them when available; tested on Fuel and Origin 350.
Diffstat (limited to 'sys/arch/sgi/conf')
-rw-r--r--sys/arch/sgi/conf/GENERIC-IP273
-rw-r--r--sys/arch/sgi/conf/files.sgi7
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/sgi/conf/GENERIC-IP27 b/sys/arch/sgi/conf/GENERIC-IP27
index 682548ddd14..1eea2a0706b 100644
--- a/sys/arch/sgi/conf/GENERIC-IP27
+++ b/sys/arch/sgi/conf/GENERIC-IP27
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC-IP27,v 1.31 2010/03/07 21:26:24 miod Exp $
+# $OpenBSD: GENERIC-IP27,v 1.32 2010/03/22 21:22:08 miod Exp $
#
# THIS KERNEL IS FOR Origin, Onyx, Fuel, Tezro (IP27, IP35) SYSTEMS ONLY.
#
@@ -38,6 +38,7 @@ config bsd swap generic
#
mainbus0 at root
cpu* at mainbus0
+spdmem* at mainbus0 # SPD memory eeproms
clock0 at mainbus0
#### Main local buses
diff --git a/sys/arch/sgi/conf/files.sgi b/sys/arch/sgi/conf/files.sgi
index 482a9d68a56..a11b5cff8cc 100644
--- a/sys/arch/sgi/conf/files.sgi
+++ b/sys/arch/sgi/conf/files.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: files.sgi,v 1.44 2010/02/01 22:06:27 jasper Exp $
+# $OpenBSD: files.sgi,v 1.45 2010/03/22 21:22:08 miod Exp $
#
# maxpartitions must be first item in files.${ARCH}
#
@@ -205,3 +205,8 @@ device owserial
attach owserial at onewire
file arch/sgi/dev/owserial.c owserial
file arch/sgi/dev/owmem_subr.c owmac | owserial
+
+# IP35 SPD memory information
+attach spdmem at mainbus with spdmem_mainbus
+file arch/sgi/dev/spdmem_mainbus.c spdmem_mainbus
+