1# $OpenBSD: GENERIC,v 1.22 2010/05/08 21:59:53 miod Exp $ 2# 3# For further information on compiling OpenBSD kernels, see the config(8) 4# man page. 5# 6# For further information on hardware support for this architecture, see 7# the intro(4) man page. For further information about kernel options 8# for this architecture, see the options(4) man page. For an explanation 9# of each device driver in this file see the section 4 man page for the 10# device. 11 12machine loongson mips64 13include "../../../conf/GENERIC" 14maxusers 32 15 16option CPU_LOONGSON2 17makeoption LINK_ADDRESS="0xffffffff80200000" 18 19option USER_PCICONF 20option WSDISPLAY_COMPAT_RAWKBD # provide raw scancodes; needed for X11 21 22option PCIVERBOSE 23option USBVERBOSE 24 25config bsd swap generic 26 27# 28# Definition of system 29# 30mainbus0 at root 31cpu0 at mainbus0 32clock0 at mainbus0 33apm0 at mainbus0 34 35# Main local buses 36bonito* at mainbus0 37pci* at bonito? 38 39# Lemote Lynloong, Lemote Fuloong 2F and Lemote Yeeloong devices 40glxpcib* at pci? 41isa0 at glxpcib? 42mcclock0 at isa? port 0x70 43pckbc0 at isa? # Yeeloong only 44pckbd* at pckbc? # Yeeloong only 45wskbd* at pckbd? mux 1 # Yeeloong only 46pmsi* at pckbc? # Yeeloong only 47wsmouse* at pmsi? mux 0 # Yeeloong only 48ykbec0 at isa? port 0x381 # Yeeloong only 49com0 at isa? port 0x2f8 irq 3 # Fuloong 2F only 50com1 at isa? port 0x3f8 irq 4 # Fuloong 2F only (IR port) 51pciide* at pci? 52wd* at pciide? flags 0x0000 53sisfb* at pci? # Lynloong/Fuloong 2F only 54wsdisplay* at sisfb? 55smfb* at pci? # Yeeloong only 56wsdisplay* at smfb? 57auglx* at pci? 58audio* at auglx? 59 60# Gdium Liberty specific devices 61voyager* at pci? 62gpio0 at voyager? 63gdiumiic0 at gpio0 offset 6 mask 0x81 # pins 6 and 13 64gdiumiic0 at gpio0 offset 46 mask 0x03 # pins 46 and 47 65iic0 at gdiumiic0 66stsec0 at iic0 # ST7 Embedded Controller 67lmtemp0 at iic0 # National Semiconductor LM75 68mfokclock0 at iic0 # M41T8x todclock 69#iic* at voyager? 70ohci* at voyager? 71smfb* at voyager? 72wsdisplay* at smfb? 73 74# Generic 2E systems (in addition to the Fuloong devices) 75pcib* at pci? 76isa0 at pcib? 77vga* at pci? 78wsdisplay* at vga? 79auvia* at pci? 80audio* at auvia? 81viaenv* at pci? 82 83# USB Controllers 84ohci* at pci? 85uhci* at pci? 86ehci* at pci? 87 88# USB bus support 89usb* at ohci? 90usb* at uhci? 91usb* at ehci? 92 93# USB devices 94uhub* at usb? # USB Hubs 95uhub* at uhub? # USB Hubs 96umodem* at uhub? # USB Modems/Serial 97ucom* at umodem? 98uvisor* at uhub? # Handspring Visor 99ucom* at uvisor? 100uvscom* at uhub? # SUNTAC Slipper U VS-10U serial 101ucom* at uvscom? 102ubsa* at uhub? # Belkin serial adapter 103ucom* at ubsa? 104uftdi* at uhub? # FTDI FT8U100AX serial adapter 105ucom* at uftdi? 106uplcom* at uhub? # I/O DATA USB-RSAQ2 serial adapter 107ucom* at uplcom? 108umct* at uhub? # MCT USB-RS232 serial adapter 109ucom* at umct? 110uslcom* at uhub? # Silicon Laboratories CP210x serial 111ucom* at uslcom? 112uark* at uhub? # Arkmicro ARK3116 serial 113ucom* at uark? 114moscom* at uhub? # MosChip MCS7703 serial 115ucom* at moscom? 116uipaq* at uhub? # iPAQ serial adapter 117ucom* at uipaq? 118umsm* at uhub? # Qualcomm MSM EVDO 119ucom* at umsm? 120uchcom* at uhub? # WinChipHead CH341/340 serial 121ucom* at uchcom? 122ulpt* at uhub? # USB Printers 123umass* at uhub? # USB Mass Storage devices 124atapiscsi* at umass? 125scsibus* at atapiscsi? 126scsibus* at umass? 127uhidev* at uhub? # Human Interface Devices 128ums* at uhidev? # USB mouse 129wsmouse* at ums? mux 0 130ukbd* at uhidev? # USB keyboard 131wskbd* at ukbd? mux 1 132uhid* at uhidev? # USB generic HID support 133atu* at uhub? # Atmel AT76c50x based 802.11b 134aue* at uhub? # ADMtek AN986 Pegasus Ethernet 135axe* at uhub? # ASIX Electronics AX88172 USB Ethernet 136cdce* at uhub? # CDC Ethernet 137urndis* at uhub? # Remote NDIS Ethernet 138cue* at uhub? # CATC USB-EL1201A based Ethernet 139kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet 140mos* at uhub? # MOSCHIP MCS7730/7830 10/100 Ethernet 141otus* at uhub? # Atheros AR9001U 142rum* at uhub? # Ralink RT2501USB/RT2601USB 143run* at uhub? # Ralink RT2700U/RT2800U/RT3000U 144uath* at uhub? # Atheros AR5005UG/AR5005UX 145udav* at uhub? # Davicom DM9601 based Ethernet 146upgt* at uhub? # Conexant/Intersil PrismGT SoftMAC USB 147upl* at uhub? # Prolific PL2301/PL2302 host-to-host `network' 148ural* at uhub? # Ralink RT2500USB 149url* at uhub? # Realtek RTL8150L based adapters 150urtw* at uhub? # RealTek 8187 151wi* at uhub? # WaveLAN IEEE 802.11DS 152zyd* at uhub? # Zydas ZD1211 153uberry* at uhub? # Research In Motion Blackberry 154udcf* at uhub? # Gude Expert mouseCLOCK 155uthum* at uhidev? # TEMPerHUM sensor 156ugen* at uhub? # USB Generic driver 157 158# USB Audio 159uaudio* at uhub? 160audio* at uaudio? 161umidi* at uhub? # USB MIDI 162midi* at umidi? 163 164# USB Video 165uvideo* at uhub? 166video* at uvideo? 167 168udl* at uhub? 169wsdisplay* at udl? 170 171# Bluetooth controllers 172ubt* at uhub? # USB Bluetooth 173bthub* at ubt? 174 175bthidev* at bthub? # Bluetooth HID support 176btkbd* at bthidev? 177btms* at bthidev? 178wskbd* at btkbd? mux 1 179wsmouse* at btms? mux 0 180btsco* at bthub? # Bluetooth audio support 181audio* at btsco? 182 183# NICs 184ral* at pci? 185re* at pci? 186rl* at pci? 187 188# Media Independent Interface (mii) drivers 189acphy* at mii? # Altima AC101 PHYs 190amphy* at mii? # AMD 79C873 PHYs 191bmtphy* at mii? # Broadcom 10/100 PHYs 192eephy* at mii? # Marvell 88E1000 series PHY 193rgephy* at mii? # Realtek 8169S/8110S PHY 194rlphy* at mii? # RealTek 8139 internal PHYs 195urlphy* at mii? # Realtek RTL8150L internal PHY 196ukphy* at mii? # "unknown" PHYs 197 198# SCSI Bus devices 199sd* at scsibus? 200st* at scsibus? 201cd* at scsibus? 202ch* at scsibus? 203ss* at scsibus? 204uk* at scsibus? 205 206pseudo-device hotplug 1 # devices hot plugging 207pseudo-device wsmux 2 # mouse & keyboard multiplexor 208