summaryrefslogtreecommitdiffstats
path: root/sys/arch/sgi/gio/files.gio
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-03-28 20:44:23 +0000
committermiod <miod@openbsd.org>2012-03-28 20:44:23 +0000
commit89e78ff68dbb60985d19f72ea5384db19f165e9c (patch)
treece4bbedba0e946ef806252ab74d9ca08167b58a3 /sys/arch/sgi/gio/files.gio
parentAllow dma map boundary smaller than the kernel page size to work in (diff)
downloadwireguard-openbsd-89e78ff68dbb60985d19f72ea5384db19f165e9c.tar.xz
wireguard-openbsd-89e78ff68dbb60985d19f72ea5384db19f165e9c.zip
Work in progress support for the SGI Indigo, Indigo 2 and Indy systems
(IP20, IP22, IP24) in 64-bit mode, adapated from NetBSD. Currently limited to headless operation, input and video drivers will get ported soon. Should work on all R4000, R4440 and R5000 based systems. L2 cache on R5000SC Indy not supported yet (coming soon), R4600 not supported yet either (coming soon as well). Tested to boot multiuser on: Indigo2 R4000SC, Indy R4000PC, Indy R4000SC, Indy R5000SC, Indigo2 R4400SC. There are still glitches in the Ethernet driver which are being looked at. Expansion support is limited to the GIO E++ board; GIO boards with PCI-GIO bridges not ported yet due to the lack of hardware, and this kind of driver does not port blindly. Most of this work comes from NetBSD, polishing and integration work, as well as putting as many ``R4x00 in 64-bit mode'' erratas as necessary, by yours truly. More work is coming, as well as trying to get some easy way to boot install kernels (as older PROM can only boot ECOFF binaries, which won't do for the kernel).
Diffstat (limited to 'sys/arch/sgi/gio/files.gio')
-rw-r--r--sys/arch/sgi/gio/files.gio31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/arch/sgi/gio/files.gio b/sys/arch/sgi/gio/files.gio
new file mode 100644
index 00000000000..fe393862625
--- /dev/null
+++ b/sys/arch/sgi/gio/files.gio
@@ -0,0 +1,31 @@
+# $OpenBSD: files.gio,v 1.1 2012/03/28 20:44:23 miod Exp $
+# $NetBSD: files.gio,v 1.11 2009/02/12 06:33:57 rumble Exp $
+
+device gio {[slot = -1], [addr = -1]}
+attach gio at giobus
+
+file arch/sgi/gio/gio.c gio needs-flag
+
+device hpc {[offset = -1]}: smc93cx6
+attach hpc at gio
+file arch/sgi/hpc/hpc.c hpc
+
+# XL graphics
+device newport: wsemuldisplaydev, rasops8
+attach newport at gio
+file arch/sgi/gio/newport.c newport needs-flag
+
+# GR2 graphics
+device grtwo: wsemuldisplaydev
+attach grtwo at gio
+file arch/sgi/gio/grtwo.c grtwo needs-flag
+
+# LG1/LG2 graphics
+device light: wsemuldisplaydev
+attach light at gio
+file arch/sgi/gio/light.c light needs-flag
+
+# PCI cards glued to the GIO bus
+device giopci: pcibus
+attach giopci at gio
+file arch/sgi/gio/pci_gio.c giopci