summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf/RAMDISK
blob: 1a8c722980c081e9795ccfaa42040fa76e017e5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
#	$OpenBSD: RAMDISK,v 1.18 2011/05/25 21:19:59 miod Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine		loongson mips64

maxusers	8

option		CPU_LOONGSON2
makeoption	LINK_ADDRESS="0xffffffff80200000"

option		PCIVERBOSE
option		USBVERBOSE

# Filesystem options
option		FFS		# UFS
option		FFS2		# UFS2
option		NFSCLIENT	# Network File System client
option		CD9660		# ISO 9660 + Rock Ridge file system
option		UDF		# UDF (DVD) file system
option		EXT2FS		# Second Extended Filesystem
option		MSDOSFS		# MS-DOS file system
option		INET		# IP + ICMP + TCP + UDP
option		INET6		# IPv6 (needs INET)
option		DDB		# kernel debugger

option		MINIROOTSIZE=8192
option		RAMDISK_HOOKS

config	bsd	root on rd0a swap on rd0b

#
# Definition of system
#
mainbus0	at root
cpu0		at mainbus0
clock0		at mainbus0

# Main local buses
bonito*		at mainbus0
pci*		at bonito?

# Lemote Lynloong, Lemote Fuloong 2F and Lemote Yeeloong devices
glxpcib*	at pci?
isa0		at glxpcib?
mcclock0	at isa? port 0x70
pckbc0		at isa?				# Yeeloong only
pckbd*		at pckbc?			# Yeeloong only
wskbd*		at pckbd? mux 1			# Yeeloong only
com0		at isa? port 0x2f8 irq 3	# Fuloong 2F only
com1		at isa? port 0x3f8 irq 3	# Fuloong 2E only
pciide*		at pci?
wd*		at pciide? flags 0x0000
sisfb*		at pci?				# Lynloong/Fuloong 2F only
wsdisplay*	at sisfb?
smfb*		at pci?				# Yeeloong only
wsdisplay*	at smfb?

# Gdium Liberty specific devices
voyager*	at pci?
gpio0		at voyager?
gdiumiic0	at gpio0 offset 6 mask 0x81	# pins 6 and 13
gdiumiic0	at gpio0 offset 46 mask 0x03	# pins 46 and 47
iic0		at gdiumiic0
mfokclock0	at iic0				# M41T8x todclock
ohci*		at voyager?
smfb*		at voyager?
wsdisplay*	at smfb?

# Generic 2E systems (in addition to the Fuloong devices)
pcib*		at pci?
isa0		at pcib?
vga*		at pci?
wsdisplay*	at vga?

# USB Controllers
ohci*		at pci?
uhci*		at pci?
ehci*		at pci?

# USB bus support
usb*		at ohci?
usb*		at uhci?
usb*		at ehci?

# USB devices
uhub*		at usb?		# USB Hubs
uhub*		at uhub?	# USB Hubs
umodem*		at uhub?	# USB Modems/Serial
ucom*		at umodem?
uvscom*		at uhub?	# SUNTAC Slipper U VS-10U serial
ucom*		at uvscom?
ubsa*		at uhub?	# Belkin serial adapter
ucom*		at ubsa?
uplcom*		at uhub?	# I/O DATA USB-RSAQ2 serial adapter
ucom*		at uplcom?
umass*		at uhub?	# USB Mass Storage devices
scsibus*	at umass?
uhidev*		at uhub?	# Human Interface Devices
ukbd*		at uhidev?	# USB keyboard
wskbd*		at ukbd? mux 1
uhid*		at uhidev?	# USB generic HID support
atu*		at uhub?	# Atmel AT76c50x based 802.11b
aue*		at uhub?	# ADMtek AN986 Pegasus Ethernet  
axe*		at uhub?	# ASIX Electronics AX88172 USB Ethernet
cdce*		at uhub?	# CDC Ethernet
cue*		at uhub?	# CATC USB-EL1201A based Ethernet
kue*		at uhub?	# Kawasaki KL5KUSB101B based Ethernet
mos*		at uhub?	# MOSCHIP MCS7730/7830 10/100 Ethernet
otus*		at uhub?	# Atheros AR9001U
rum*		at uhub?	# Ralink RT2501USB/RT2601USB
run*		at uhub?	# Ralink RT2700U/RT2800U/RT3000U
uath*		at uhub?	# Atheros AR5005UG/AR5005UX
udav*		at uhub?	# Davicom DM9601 based Ethernet
upgt*		at uhub?	# Conexant/Intersil PrismGT SoftMAC USB
upl*		at uhub?	# Prolific PL2301/PL2302 host-to-host `network'
ural*		at uhub?	# Ralink RT2500USB
url*		at uhub?	# Realtek RTL8150L based adapters
urtw*		at uhub?	# RealTek 8187
wi*		at uhub?	# WaveLAN IEEE 802.11DS
zyd*		at uhub?	# Zydas ZD1211
ugen*		at uhub?	# USB Generic driver

# NICs
ral*		at pci?
re*		at pci?
rl*		at pci?

# Media Independent Interface (mii) drivers
acphy*		at mii?		# Altima AC101 PHYs
amphy*		at mii?		# AMD 79C873 PHYs
bmtphy*		at mii?		# Broadcom 10/100 PHYs
eephy*		at mii?		# Marvell 88E1000 series PHY
rgephy*		at mii?		# Realtek 8169S/8110S PHY
rlphy*		at mii?		# RealTek 8139 internal PHYs
urlphy*		at mii?		# Realtek RTL8150L internal PHY
ukphy*		at mii?		# "unknown" PHYs

sd*		at scsibus?
#st*		at scsibus?
cd*		at scsibus?
#ch*		at scsibus?
#uk*		at scsibus?

pseudo-device	loop		1	# network loopback
pseudo-device	bpfilter	1	# packet filter
pseudo-device	rd		1	# ram disk
pseudo-device	wsmux		2	# mouse & keyboard multiplexor

option		BOOT_CONFIG	# boot-time kernel config