xref: /openbsd/sys/arch/loongson/conf/GENERIC (revision 4cfece93)
1#	$OpenBSD: GENERIC,v 1.61 2019/12/17 13:08:55 reyk 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
77mfokclock0	at iic0				# M41T8x todclock
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
167upd*		at uhidev?	# USB Power Devices sensors
168atu*		at uhub?	# Atmel AT76c50x based 802.11b
169aue*		at uhub?	# ADMtek AN986 Pegasus Ethernet
170axe*		at uhub?	# ASIX Electronics AX88172 USB Ethernet
171axen*		at uhub?	# ASIX Electronics AX88179 USB Ethernet
172bwfm*		at uhub?	# Broadcom FullMAC
173cdce*		at uhub?	# CDC Ethernet
174urndis*		at uhub?	# Remote NDIS Ethernet
175cue*		at uhub?	# CATC USB-EL1201A based Ethernet
176kue*		at uhub?	# Kawasaki KL5KUSB101B based Ethernet
177mos*		at uhub?	# MOSCHIP MCS7730/7830 10/100 Ethernet
178smsc*		at uhub?	# SMSC LAN95xx Ethernet
179otus*		at uhub?	# Atheros AR9001U
180athn*		at uhub?	# Atheros AR9002U
181rum*		at uhub?	# Ralink RT2501USB/RT2601USB
182run*		at uhub?	# Ralink RT2700U/RT2800U/RT3000U
183uath*		at uhub?	# Atheros AR5005UG/AR5005UX
184udav*		at uhub?	# Davicom DM9601 based Ethernet
185upgt*		at uhub?	# Conexant/Intersil PrismGT SoftMAC USB
186upl*		at uhub?	# Prolific PL2301/PL2302 host-to-host `network'
187ugl*		at uhub?	# Genesys Logic GL620USB-A host-to-host `network'
188ural*		at uhub?	# Ralink RT2500USB
189url*		at uhub?	# Realtek RTL8150L based adapters
190ure*		at uhub?	# Realtek RTL8152 based adapters
191urtw*		at uhub?	# Realtek 8187
192rsu*		at uhub?	# Realtek RTL8188SU/RTL8191SU/RTL8192SU
193urtwn*		at uhub?	# Realtek RTL8188CU/RTL8192CU
194wi*		at uhub?	# WaveLAN IEEE 802.11DS
195zyd*		at uhub?	# Zydas ZD1211
196uberry*		at uhub?	# Research In Motion BlackBerry
197udcf*		at uhub?	# Gude Expert mouseCLOCK
198uthum*		at uhidev?	# TEMPerHUM sensor
199ugold*		at uhidev?	# gold TEMPer sensor
200utwitch*	at uhidev?	# YUREX BBU sensor
201ugen*		at uhub?	# USB Generic driver
202
203# USB Audio
204uaudio*		at uhub?
205audio*		at uaudio?
206umidi*		at uhub?	# USB MIDI
207midi*		at umidi?
208
209# USB Video
210uvideo*		at uhub?
211video*		at uvideo?
212
213utvfu*		at uhub?	# Fushicai Audio-Video Grabber
214video*		at utvfu?
215audio*		at utvfu?
216
217udl*		at uhub?
218wsdisplay*	at udl?
219
220# NICs
221em*		at pci?		# Intel Pro/1000 ethernet
222ral*		at pci?
223re*		at pci?
224rl*		at pci?
225
226# Media Independent Interface (mii) drivers
227acphy*		at mii?		# Altima AC101 PHYs
228amphy*		at mii?		# AMD 79C873 PHYs
229bmtphy*		at mii?		# Broadcom 10/100 PHYs
230eephy*		at mii?		# Marvell 88E1000 series PHY
231rgephy*		at mii?		# Realtek 8169S/8110S PHY
232rlphy*		at mii?		# Realtek 8139 internal PHYs
233urlphy*		at mii?		# Realtek RTL8150L internal PHY
234ukphy*		at mii?		# "unknown" PHYs
235
236# SCSI Bus devices
237scsibus*	at scsi?
238sd*		at scsibus?
239st*		at scsibus?
240cd*		at scsibus?
241ch*		at scsibus?
242uk*		at scsibus?
243
244pseudo-device	hotplug	1	# devices hot plugging
245pseudo-device	wsmux	2	# mouse & keyboard multiplexor
246