1# $OpenBSD: files.loongson,v 1.17 2013/11/04 14:07:16 deraadt Exp $ 2 3# Standard stanzas config(8) can't run without 4maxpartitions 16 5maxusers 2 8 64 6 7# Major number for block devices, for ``root on'' lines 8major { sd = 0 } 9major { cd = 3 } 10major { wd = 4 } 11major { rd = 8 } 12 13file dev/cninit.c 14 15file arch/loongson/loongson/autoconf.c 16file arch/loongson/loongson/bus_dma.c 17file arch/loongson/loongson/bus_space.c 18file arch/loongson/loongson/conf.c 19file arch/loongson/loongson/disksubr.c disk 20file arch/loongson/loongson/gdium_machdep.c 21file arch/loongson/loongson/generic2e_machdep.c 22file arch/loongson/loongson/isa_machdep.c isa 23file arch/loongson/loongson/loongson2_machdep.c 24file arch/loongson/loongson/machdep.c 25file arch/loongson/loongson/hibernate_machdep.c hibernate 26file arch/loongson/loongson/mutex.c 27file arch/loongson/loongson/pciide_machdep.c pciide 28file arch/loongson/loongson/pmon.c 29file arch/loongson/loongson/pmon32.S 30file arch/loongson/loongson/wscons_machdep.c wsdisplay 31file arch/loongson/loongson/yeeloong_machdep.c 32 33include "dev/ata/files.ata" 34include "dev/atapiscsi/files.atapiscsi" 35include "dev/i2c/files.i2c" 36include "dev/gpio/files.gpio" 37include "dev/isa/files.isa" 38include "dev/isa/files.isapnp" 39include "dev/mii/files.mii" 40include "dev/pci/files.pci" 41include "dev/pckbc/files.pckbc" 42include "dev/usb/files.usb" 43include "dev/bluetooth/files.bluetooth" 44include "dev/rasops/files.rasops" 45include "dev/wscons/files.wscons" 46include "dev/wsfont/files.wsfont" 47include "scsi/files.scsi" 48 49define mainbus {} 50device mainbus 51attach mainbus at root 52file arch/loongson/dev/mainbus.c mainbus 53 54device cpu 55attach cpu at mainbus 56 57device clock 58attach clock at mainbus 59 60device bonito {}: pcibus 61attach bonito at mainbus 62file arch/loongson/dev/bonito.c bonito 63 64# AMD Geode CS5536 companion chip 65file arch/loongson/dev/glx.c bonito & pci 66 67# Other PCI-ISA bridges 68device pcib: isabus 69attach pcib at pci 70file arch/loongson/dev/pcib.c pcib | glxpcib 71 72# Lemote Yeeloong RTC 73device mcclock 74attach mcclock at isa with mcclock_isa 75file arch/loongson/dev/mcclock.c mcclock 76file arch/loongson/dev/mcclock_isa.c mcclock_isa 77 78# Lemote Yeeloong KB3310B Embedded Controller 79device ykbec 80attach ykbec at isa 81file arch/loongson/dev/kb3310.c ykbec needs-flag 82 83# Silicon Motion SM502 master device 84device voyager {}: gpiobus 85attach voyager at pci 86file arch/loongson/dev/voyager.c voyager 87 88# SM502 specific I2C bus bit-banging 89device gdiumiic: i2cbus, i2c_bitbang 90attach gdiumiic at gpio 91file arch/loongson/dev/gdiumiic.c gdiumiic 92 93# Gdium ST7 controller 94device stsec 95attach stsec at i2c 96file arch/loongson/dev/stsec.c stsec 97 98# Gdium M41T8x RTC 99device mfokclock 100attach mfokclock at i2c 101file arch/loongson/dev/m41t8xclock.c mfokclock 102 103# SM502 OHCI 104attach ohci at voyager with ohci_voyager 105file arch/loongson/dev/ohci_voyager.c ohci_voyager 106 107# Silicon Motion SM502/SM712 frame buffer 108device smfb: wsemuldisplaydev, rasops16 109attach smfb at pci with smfb_pci 110attach smfb at voyager with smfb_voyager 111file arch/loongson/dev/smfb.c smfb needs-flag 112 113# SIS 315 Pro frame buffer 114device sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32 115attach sisfb at pci 116file arch/loongson/dev/sisfb.c sisfb needs-flag 117 118device apm 119attach apm at mainbus 120file arch/loongson/dev/apm.c apm needs-flag 121 122device glxclk 123attach glxclk at glxpcib 124file arch/loongson/dev/glxclk.c glxclk 125