xref: /openbsd/sys/arch/loongson/conf/GENERIC (revision 097a140d)
1#	$OpenBSD: GENERIC,v 1.64 2021/02/04 16:25:39 anton 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
17option		CPU_LOONGSON3
18option		CPU_MIPS64R2		# required by CPU_LOONGSON3
19makeoption	LINK_ADDRESS="0xffffffff80200000"
20
21option		USER_PCICONF
22option		WSDISPLAY_COMPAT_RAWKBD	# provide raw scancodes; needed for X11
23
24option		PCIVERBOSE
25option		USBVERBOSE
26
27config	bsd	swap generic
28
29#
30# Definition of system
31#
32mainbus0	at root
33cpu0		at mainbus0
34clock0		at mainbus0
35apm0		at mainbus0
36
37# 2E- and 2F- based systems with Bonito or Bonito-like northbridge
38bonito*		at mainbus0
39pci*		at bonito?
40# 3A-based systems with a HyperTransport-PCI northbridge
41htb*		at mainbus0
42pci*		at htb?
43ppb*		at pci?
44pci*		at ppb?
45
46# Lemote Lynloong, Lemote Fuloong 2F and Lemote Yeeloong devices
47glxpcib*	at pci?
48gpio*		at glxpcib?
49isa0		at glxpcib?
50glxclk*		at glxpcib?
51mcclock0	at isa? port 0x70
52pckbc0		at isa?				# Yeeloong only
53pckbd*		at pckbc?			# Yeeloong only
54wskbd*		at pckbd? mux 1			# Yeeloong only
55pms*		at pckbc?			# Yeeloong only
56wsmouse*	at pms? mux 0			# Yeeloong only
57ykbec0		at isa? port 0x381		# Yeeloong only
58com0		at isa? port 0x2f8 irq 3	# Fuloong 2F only
59com1		at isa? port 0x3f8 irq 4	# Fuloong 2F only (IR port)
60pciide*		at pci?
61wd*		at pciide? flags 0x0000
62sisfb*		at pci?				# Lynloong/Fuloong 2F only
63wsdisplay*	at sisfb?
64smfb*		at pci?				# Yeeloong only
65wsdisplay*	at smfb?
66auglx*		at pci?
67audio*		at auglx?
68
69# Gdium Liberty specific devices
70voyager*	at pci?
71gpio0		at voyager?
72gdiumiic0	at gpio0 offset 6 mask 0x81	# pins 6 and 13
73gdiumiic0	at gpio0 offset 46 mask 0x03	# pins 46 and 47
74iic0		at gdiumiic0
75stsec0		at iic0				# ST7 Embedded Controller
76lmtemp0		at iic0 			# National Semiconductor LM75
77mfokrtc0	at iic0				# M41T8x RTC
78#iic*		at voyager?
79ohci*		at voyager?
80smfb*		at voyager?
81wsdisplay*	at smfb?
82
83# AMD RS780E devices
84azalia*		at pci?
85audio*		at azalia?
86piixpm*		at pci?
87iic*		at piixpm?
88spdmem*		at iic?
89radeondrm*	at pci?
90drm*		at radeondrm?
91wsdisplay*	at radeondrm?
92radeonfb*	at pci?
93wsdisplay*	at radeonfb?
94
95# Generic 2E systems (in addition to the Fuloong devices)
96pcib*		at pci?
97isa0		at pcib?
98vga*		at pci?
99wsdisplay*	at vga?
100auvia*		at pci?
101audio*		at auvia?
102viapm*		at pci?
103
104# Generic 3A systems
105leioc0		at mainbus0
106com*		at leioc?
107ahci*		at pci?
108
109# USB Controllers
110ohci*		at pci?
111uhci*		at pci?
112ehci*		at pci?
113
114# USB bus support
115usb*		at ohci?
116usb*		at uhci?
117usb*		at ehci?
118
119# USB devices
120uhub*		at usb?		# USB Hubs
121uhub*		at uhub?	# USB Hubs
122urng*		at uhub?	# USB Random Number Generator
123uonerng*	at uhub?	# Moonbase Otago OneRNG
124umodem*		at uhub?	# USB Modems/Serial
125ucom*		at umodem?
126uvisor*		at uhub?	# Handspring Visor
127ucom*		at uvisor?
128uvscom*		at uhub?	# SUNTAC Slipper U VS-10U serial
129ucom*		at uvscom?
130ubsa*		at uhub?	# Belkin serial adapter
131ucom*		at ubsa?
132uftdi*		at uhub?	# FTDI FT8U100AX serial adapter
133ucom*		at uftdi?
134uplcom* 	at uhub?	# I/O DATA USB-RSAQ2 serial adapter
135ucom*		at uplcom?
136umct*		at uhub?	# MCT USB-RS232 serial adapter
137ucom*		at umct?
138uslcom*		at uhub?	# Silicon Laboratories CP210x serial
139ucom*		at uslcom?
140uscom*		at uhub?	# Simple USB serial adapters
141ucom*		at uscom?
142ucrcom*		at uhub?	# Chromebook serial
143ucom*		at ucrcom?
144uark*		at uhub?	# Arkmicro ARK3116 serial
145ucom*		at uark?
146moscom*		at uhub?	# MosChip MCS7703 serial
147ucom*		at moscom?
148umcs*		at uhub?	# MosChip MCS78x0 serial
149ucom*		at umcs?
150uipaq*		at uhub?	# iPAQ serial adapter
151ucom*		at uipaq?
152umsm*		at uhub?	# Qualcomm MSM EVDO
153ucom*		at umsm?
154uchcom*		at uhub?	# WinChipHead CH341/340 serial
155ucom*		at uchcom?
156ulpt*		at uhub?	# USB Printers
157umass*		at uhub?	# USB Mass Storage devices
158uhidev*		at uhub?	# Human Interface Devices
159ums*		at uhidev?	# USB mouse
160wsmouse*	at ums? mux 0
161ukbd*		at uhidev?	# USB keyboard
162wskbd*		at ukbd? mux 1
163uslhcom* 	at uhidev?	# Silicon Labs CP2110 USB HID UART
164ucom*		at uslhcom?
165uhid*		at uhidev?	# USB generic HID support
166fido*		at uhidev?	# FIDO/U2F security key support
167ujoy*		at uhidev?	# USB joystick/gamecontroller support
168uhidpp*		at uhidev?	# Logitech HID++ Devices
169upd*		at uhidev?	# USB Power Devices sensors
170atu*		at uhub?	# Atmel AT76c50x based 802.11b
171aue*		at uhub?	# ADMtek AN986 Pegasus Ethernet
172axe*		at uhub?	# ASIX Electronics AX88172 USB Ethernet
173axen*		at uhub?	# ASIX Electronics AX88179 USB Ethernet
174bwfm*		at uhub?	# Broadcom FullMAC
175cdce*		at uhub?	# CDC Ethernet
176urndis*		at uhub?	# Remote NDIS Ethernet
177cue*		at uhub?	# CATC USB-EL1201A based Ethernet
178kue*		at uhub?	# Kawasaki KL5KUSB101B based Ethernet
179mos*		at uhub?	# MOSCHIP MCS7730/7830 10/100 Ethernet
180smsc*		at uhub?	# SMSC LAN95xx Ethernet
181otus*		at uhub?	# Atheros AR9001U
182athn*		at uhub?	# Atheros AR9002U
183rum*		at uhub?	# Ralink RT2501USB/RT2601USB
184run*		at uhub?	# Ralink RT2700U/RT2800U/RT3000U
185uath*		at uhub?	# Atheros AR5005UG/AR5005UX
186udav*		at uhub?	# Davicom DM9601 based Ethernet
187upgt*		at uhub?	# Conexant/Intersil PrismGT SoftMAC USB
188upl*		at uhub?	# Prolific PL2301/PL2302 host-to-host `network'
189ugl*		at uhub?	# Genesys Logic GL620USB-A host-to-host `network'
190ural*		at uhub?	# Ralink RT2500USB
191url*		at uhub?	# Realtek RTL8150L based adapters
192ure*		at uhub?	# Realtek RTL8152 based adapters
193urtw*		at uhub?	# Realtek 8187
194rsu*		at uhub?	# Realtek RTL8188SU/RTL8191SU/RTL8192SU
195urtwn*		at uhub?	# Realtek RTL8188CU/RTL8192CU
196wi*		at uhub?	# WaveLAN IEEE 802.11DS
197zyd*		at uhub?	# Zydas ZD1211
198uberry*		at uhub?	# Research In Motion BlackBerry
199udcf*		at uhub?	# Gude Expert mouseCLOCK
200uthum*		at uhidev?	# TEMPerHUM sensor
201ugold*		at uhidev?	# gold TEMPer sensor
202utwitch*	at uhidev?	# YUREX BBU sensor
203ugen*		at uhub?	# USB Generic driver
204
205# USB Audio
206uaudio*		at uhub?
207audio*		at uaudio?
208umidi*		at uhub?	# USB MIDI
209midi*		at umidi?
210
211# USB Video
212uvideo*		at uhub?
213video*		at uvideo?
214
215utvfu*		at uhub?	# Fushicai Audio-Video Grabber
216video*		at utvfu?
217audio*		at utvfu?
218
219udl*		at uhub?
220wsdisplay*	at udl?
221
222# NICs
223em*		at pci?		# Intel Pro/1000 ethernet
224ral*		at pci?
225re*		at pci?
226rl*		at pci?
227
228# Media Independent Interface (mii) drivers
229acphy*		at mii?		# Altima AC101 PHYs
230amphy*		at mii?		# AMD 79C873 PHYs
231bmtphy*		at mii?		# Broadcom 10/100 PHYs
232eephy*		at mii?		# Marvell 88E1000 series PHY
233rgephy*		at mii?		# Realtek 8169S/8110S PHY
234rlphy*		at mii?		# Realtek 8139 internal PHYs
235urlphy*		at mii?		# Realtek RTL8150L internal PHY
236ukphy*		at mii?		# "unknown" PHYs
237
238# SCSI Bus devices
239scsibus*	at scsi?
240sd*		at scsibus?
241st*		at scsibus?
242cd*		at scsibus?
243ch*		at scsibus?
244uk*		at scsibus?
245
246pseudo-device	hotplug	1	# devices hot plugging
247pseudo-device	wsmux	2	# mouse & keyboard multiplexor
248