diff options
author | 2012-03-28 20:44:23 +0000 | |
---|---|---|
committer | 2012-03-28 20:44:23 +0000 | |
commit | 89e78ff68dbb60985d19f72ea5384db19f165e9c (patch) | |
tree | ce4bbedba0e946ef806252ab74d9ca08167b58a3 /sys/arch/sgi/conf/files.sgi | |
parent | Allow dma map boundary smaller than the kernel page size to work in (diff) | |
download | wireguard-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/conf/files.sgi')
-rw-r--r-- | sys/arch/sgi/conf/files.sgi | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/sys/arch/sgi/conf/files.sgi b/sys/arch/sgi/conf/files.sgi index 83953010ed9..a13ff36f3c7 100644 --- a/sys/arch/sgi/conf/files.sgi +++ b/sys/arch/sgi/conf/files.sgi @@ -1,4 +1,4 @@ -# $OpenBSD: files.sgi,v 1.46 2011/11/15 22:27:53 deraadt Exp $ +# $OpenBSD: files.sgi,v 1.47 2012/03/28 20:44:23 miod Exp $ # # maxpartitions must be first item in files.${ARCH} # @@ -14,6 +14,8 @@ file arch/sgi/sgi/bus_dma.c file arch/sgi/sgi/conf.c file arch/sgi/sgi/disksubr.c disk file arch/sgi/sgi/lock_machdep.c multiprocessor +file arch/sgi/sgi/ip22_machdep.c tgt_indigo | tgt_indigo2 | + tgt_indy file arch/sgi/sgi/ip27_machdep.c tgt_origin file arch/sgi/sgi/ip30_machdep.c tgt_octane file arch/sgi/sgi/ip30_nmi.S tgt_octane & ddb @@ -56,6 +58,21 @@ device clock attach clock at mainbus # +# IP20/22/24 specific devices +# +define giobus {} +device imc: giobus, eisabus +attach imc at mainbus +file arch/sgi/localbus/imc.c imc + +device int +attach int at mainbus +file arch/sgi/localbus/int.c int + +include "arch/sgi/gio/files.gio" +include "arch/sgi/hpc/files.hpc" + +# # O2 MACE localbus autoconfiguration devices # define macebus {[base = -1]} @@ -87,6 +104,13 @@ major {cd = 3} include "dev/i2o/files.i2o" # +# EISA Bus support +# + +include "dev/eisa/files.eisa" +file arch/sgi/sgi/eisa_machdep.c eisa + +# # PCI Bus support # @@ -132,9 +156,9 @@ file arch/sgi/dev/iockbc.c iockbc | # DS1687 Time-Of-Day calendar device device dsrtc -attach dsrtc at macebus with dsrtc_macebus attach dsrtc at ioc with dsrtc_ioc attach dsrtc at iof with dsrtc_iof +attach dsrtc at macebus with dsrtc_macebus file arch/sgi/dev/dsrtc.c dsrtc # GBE framebuffer @@ -207,4 +231,3 @@ 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 - |