summaryrefslogtreecommitdiff
path: root/sys/arch/cats/conf/RAMDISK
blob: a1439cfbb07f1012597cd7c8cccea18487904395 (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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
#	$OpenBSD: RAMDISK,v 1.7 2004/10/08 07:14:43 mcbride Exp $
# $NetBSD: GENERIC,v 1.27.4.1 2002/08/01 04:18:06 lukem Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default OpenBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# 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	cats	arm

# include "../../../conf/GENERIC"
option		TIMEZONE=0	# time zone to adjust RTC time by
option		DST=0		# daylight saving time used by RTC
option		COMPAT_43	# and 4.3BSD
option		FFS		# UFS
option		NFSCLIENT	# Network File System client
option		CD9660		# ISO 9660 + Rock Ridge file system
option		MSDOSFS		# MS-DOS file system
option		INET		# IP + ICMP + TCP + UDP
option		INET6		# IPv6 (needs INET)
option		DDB		# kernel debugger
option		EXT2FS		# Second Extended Filesystem
option          FIFO            # FIFOs; RECOMMENDED

options		SYSCALL_DEBUG
options	ARM32
options FOOTBRIDGE_INTR

# estimated number of users

maxusers	32

# Standard system options

#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
#options 	INSECURE	# disable kernel securelevel

#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

# For StrongARM systems
options 	CPU_SA110	# Support the SA110 core

# FPA options

#options 	ARMFPE		# ARM Ltd FPE




# Compatibility options

option WSDISPLAY_COMPAT_USL		# VT handling
option WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
option WSDISPLAY_DEFAULTSCREENS=6	# can get raw scancodes
option WSDISPLAY_COMPAT_PCVT		# can get raw scancodes


#config		bsd	swap generic
config                bsd     root on rd0a swap on rd0b

# The main bus device
mainbus0 at root

# The boot cpu
cpu0 at mainbus?

# Core logic
footbridge0	at mainbus?

# footbridge uart
fcom0	at footbridge?

# system clock via footbridge
#clock*	at footbridge?

# time-of-day device via footbridge or RTC
todclock0	at todservice?

# PCI bus support
# PCI bus via footbridge
pci0	at footbridge?		# PCI bus

pci*	at ppb?

option          PCIVERBOSE
option          USBVERBOSE

# PCI bridges
ppb*	at pci?			# PCI-PCI bridges
# XXX 'puc's aren't really bridges, but there's no better place for them here
#puc*	at pci?			# PCI "universal" comm. cards

# PCI serial interfaces
#com*	at puc?			# 16x50s on "universal" comm boards
#cy*	at pci?			# Cyclades Cyclom-Y serial boards

# PCI parallel printer interfaces
#lpt*	at puc?			# || ports on "universal" comm boards

# PCI SCSI Controllers and Buses
adv*	at pci?			# AdvanSys 1200[A,B], ULTRA SCSI
scsibus* at adv?
#adw*	at pci?			# AdvanSys 9xxUW SCSI
#scsibus* at adw?
ahc*	at pci?			# Adaptec [23]94x, aic78x0 SCSI controllers
scsibus* at ahc?
#bha*	at pci?			# BusLogic 9xx SCSI
#scsibus* at bha?
iha*	at pci?			# Initio INIC-940/950 SCSI
scsibus* at iha?
#isp*	at pci?			# Qlogic ISP 10x0 SCSI controllers
#scsibus* at isp?
pcscp*	at pci?			# AMD 53c974 PCscsi-PCI SCSI
scsibus* at pcscp?
siop*	at pci?			# NCR 53c8xx SCSI
scsibus* at siop?

# SCSI devices
sd*	at scsibus?		# SCSI disk drives
st*	at scsibus?		# SCSI tape drives
cd*	at scsibus?		# SCSI CD-ROM drives
#ch*	at scsibus?		# SCSI auto-changers
#uk*	at scsibus?		# SCSI unknown device
#ss*	at scsibus?		# SCSI scanner

# PCI IDE Controllers and Devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
pciide* at pci? flags 0x0000

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*	at pciide? flags 0x0000	# the drives themselves

# ATAPI bus support
atapiscsi* at pciide?
scsibus* at atapiscsi?

# PCI network interfaces
#en*	at pci?			# ENI/Adaptec ATM
#ep*	at pci?			# 3C590 ethernet cards
em*	at pci?			# Intel Pro/1000 ethernet
fxp*	at pci?			# Intel EtherExpress PRO 10+/100B
ne*	at pci?			# NE2000 compat ethernet
#ntwoc*	at pci?			# Riscom/N2 PCI Sync Serial
dc*	at pci?			# DECchip 21x4x and clones
de*	at pci?			# DECchip 21x4x and clones
vr*	at pci?			# VIA Rhine Fast Ethernet
xl*	at pci?			# 3C9xx ethernet
#lmc*	at pci?			# Lan Media Corp SSI/HSSI/DS3

# MII/PHY support
exphy*	at mii?			# 3Com internal PHYs
#icsphy* at mii?		# Integrated Circuit Systems ICS189x
inphy*	at mii?			# Intel 82555 PHYs
#iophy*	at mii?			# Intel 82553 PHYs
#lxtphy*	at mii?		# Level One LXT-970 PHYs
nsphy*	at mii?			# NS83840 PHYs
#nsphyter* at mii?		# NS83843 PHYs
qsphy*	at mii?			# Quality Semiconductor QS6612 PHYs
#sqphy*	at mii?			# Seeq 80220/80221/80223 PHYs
#tlphy*	at mii?			# ThunderLAN PHYs
#tqphy*	at mii?			# TDK Semiconductor PHYs
ukphy*	at mii?			# generic unknown PHYs

# USB Controller and Devices

# PCI USB controllers
ohci*	at pci?				# Open Host Controller

# USB bus support
usb*	at ohci?

# USB Hubs
uhub*	at usb?
uhub*	at uhub?

# USB HID device
uhidev*	at uhub?

# USB Mice
ums*	at uhidev?
wsmouse*	at ums?

# USB Keyboards
ukbd*	at uhidev?
wskbd*	at ukbd?

# USB Generic HID devices
uhid*	at uhidev?

# USB Printer
ulpt*	at uhub?

# USB Modem
umodem*	at uhub?
ucom*	at umodem?

# USB Mass Storage
umass*	at uhub?
atapiscsi* at umass?
scsibus* at umass?

# USB audio
uaudio*	at uhub?
audio*	at uaudio?

# USB MIDI
umidi*	at uhub?
midi*	at umidi?

# USB Ethernet adapters
aue*	at uhub?		# ADMtek AN986 Pegasus based adapters
cue*	at uhub?		# CATC USB-EL1201A based adapters
kue*	at uhub?		# Kawasaki LSI KL5KUSB101B based adapters

# Prolofic PL2301/PL2302 host-to-host adapter
upl*	at uhub?

# Serial adapters
# FTDI FT8U100AX serial adapter
uftdi*	at uhub?
ucom*	at uftdi?

uplcom*	at uhub?		# I/O DATA USB-RSAQ2 serial adapter
ucom*	at uplcom?

umct*	at uhub?		# MCT USB-RS232 serial adapter
ucom*	at umct?

# Diamond Multimedia Rio 500
urio*	at uhub?

# USB Handspring Visor
uvisor*	at uhub?
ucom*	at uvisor?

# USB scanners
uscanner* at uhub?

# USB scanners that use SCSI emulation, e.g., HP5300
usscanner* at uhub?
scsibus* at usscanner?

# Y@P firmware loader
uyap* at uhub?

# USB Generic driver
ugen* at uhub?

# Audio Devices

# PCI audio devices
#eap*	at pci?			# Ensoniq AudioPCI
#sv*	at pci?			# S3 SonicVibes

# Audio support
#audio*	at eap?
#audio*	at sv?

vga*		at pci?
wsdisplay*	at vga?

# ISA bus bridging

pcib*	at pci?			# PCI-ISA bridge
isa*	at pcib?		# ISA bus

# ISA Plug-and-Play bus support
#isapnp0	at isa?

# wscons
pckbc0	at isa?			# pc keyboard controller
pckbd*	at pckbc?		# PC keyboard
pms*		at pckbc?	# PS/2 mouse for wsmouse
wskbd*		at pckbd?
wsmouse*	at pms?

pcppi0	at isa?
sysbeep0	at pcppi?

# ISA Plug-and-Play serial interfaces
#com*	at isapnp?			# Modems and serial boards

# ISA Plug-and-Play network interfaces
#ep*	at isapnp?			# 3Com 3c509 Ethernet

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
com1	at isa? port 0x2f8 irq 3
#com2	at isa? port 0x3e8 irq 9
#com3	at isa? port 0x2e8 irq 10

# ISA parallel printer interfaces
lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
lpt1	at isa? port 0x278 irq 5
#lpt2	at isa? port 0x3bc

# ISA floppy
#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
#fdc1	at isa? port 0x370
#fd*	at fdc?				# the drives themselves

# ISA network interface
#ne0	at isa? port 0x280 irq 9
#ne1	at isa? port 0x300 irq 10
#ep*	at isa?
lc0 at isa? port 0x200 irq ?
lc1 at isa? port 0x280 irq ?

# The spkr driver provides a simple tone interface to the built in speaker.
spkr0	at pcppi?			# PC speaker

ds1687rtc0	at isa? port 0x72		# Dallas RTC

# ISA Plug-and-Play audio devices
#ess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
#sb*	at isapnp?			# SoundBlaster-compatible audio
#wss*	at isapnp?			# Windows Sound System

# MPU 401 UARTs
#mpu*	at sb?

# MIDI support
midi*	at pcppi?		# MIDI interface to the PC speaker
#midi*	at mpu?			# MPU 401

# Joysticks

# ISA Plug-and-Play joysticks
#joy*	at isapnp?			# Game ports (usually on audio cards)

# ISA joysticks. Probe is a little strange; add only if you have one.
#joy0	at isa? port 0x201

# Pseudo-Devices

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


option		BOOT_CONFIG	# boot-time kernel config

# RAMDISK stuff
option		MINIROOTSIZE=8192
option		RAMDISK_HOOKS