diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-12-25 21:09:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-12-25 21:09:58 +0000 |
commit | e418e0a182a969a7190f19661fb8343fdc8f61b3 (patch) | |
tree | 7956ae046e6618da366d6653a55c2215488d7d7b /sys | |
parent | cb9c778aee1958a3db46928bb45b54252552d824 (diff) |
By popular demand and peer pressure, check-in work in progress work to support
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs
polishing; most of this work done during h2k9 last month, although the
porting effort started earlier this year.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/loongson/conf/files.loongson | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/sys/arch/loongson/conf/files.loongson b/sys/arch/loongson/conf/files.loongson new file mode 100644 index 00000000000..52b3c00347d --- /dev/null +++ b/sys/arch/loongson/conf/files.loongson @@ -0,0 +1,77 @@ +# $OpenBSD: files.loongson,v 1.1 2009/12/25 21:09:57 miod Exp $ + +# Standard stanzas config(8) can't run without +maxpartitions 16 +maxusers 2 8 64 + +# Major number for block devices, for ``root on'' lines +major { sd = 0 } +major { cd = 3 } +major { wd = 4 } +major { rd = 8 } + +file dev/cninit.c + +file arch/loongson/loongson/autoconf.c +file arch/loongson/loongson/bus_dma.c +file arch/loongson/loongson/bus_space.c +file arch/loongson/loongson/conf.c +file arch/loongson/loongson/disksubr.c disk +file arch/loongson/loongson/loongson2_machdep.c +file arch/loongson/loongson/machdep.c +file arch/loongson/loongson/mutex.c +file arch/loongson/loongson/pciide_machdep.c pciide +file arch/loongson/loongson/pmon.c +file arch/loongson/loongson/pmon32.S +file arch/loongson/loongson/wscons_machdep.c wsdisplay + +include "dev/ata/files.ata" +include "dev/atapiscsi/files.atapiscsi" +include "dev/i2c/files.i2c" +include "dev/gpio/files.gpio" +include "dev/i2o/files.i2o" +include "dev/isa/files.isa" +include "dev/isa/files.isapnp" +include "dev/mii/files.mii" +include "dev/pci/files.pci" +include "dev/pckbc/files.pckbc" +include "dev/usb/files.usb" +include "dev/rasops/files.rasops" +include "dev/wscons/files.wscons" +include "dev/wsfont/files.wsfont" +include "scsi/files.scsi" + +define mainbus {} +device mainbus +attach mainbus at root +file arch/loongson/dev/mainbus.c mainbus + +device cpu +attach cpu at mainbus + +device clock +attach clock at mainbus + +device bonito {}: pcibus +attach bonito at mainbus +file arch/loongson/dev/bonito.c bonito + +# AMD Geode CS5536 companion chip +file arch/loongson/dev/glx.c bonito & pci + +# AMD Geode CS5536 PCI-ISA bridge +device glxpcib: isabus, gpiobus +attach glxpcib at pci +file arch/loongson/dev/glxpcib.c glxpcib +file arch/loongson/dev/pcib.c glxpcib + +# RTC +device mcclock +attach mcclock at isa with mcclock_isa +file arch/loongson/dev/mcclock.c mcclock +file arch/loongson/dev/mcclock_isa.c mcclock_isa + +# Silicon Motion SM712 frame buffer +device smfb: wsemuldisplaydev, rasops16 +attach smfb at pci +file arch/loongson/dev/smfb.c smfb needs-flag |