xref: /netbsd-src/sys/arch/landisk/conf/GENERIC (revision 2de962bd804263c16657f586aa00f1704045df8e)
1# $NetBSD: GENERIC,v 1.13 2008/05/06 01:30:22 uwe Exp $
2#
3# GENERIC machine description file
4#
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include		"arch/landisk/conf/std.landisk"
22
23options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary
24
25#ident          "GENERIC-$Revision: 1.13 $"
26
27maxusers	16		# estimated number of users
28
29makeoptions	CPUFLAGS="-m4-nofpu"		# XXX: move to std.landisk?
30#makeoptions     COPTS="-Os -freorder-blocks"	# -O2 is too -falign-* zealous
31
32# CPU-related options.
33options 	PCLOCK=33333333			# 33.33MHz
34options 	DONT_INIT_BSC
35#options 	DONT_INIT_PCIBSC
36
37# Cache options.
38options 	SH4_CACHE_DISABLE_EMODE
39#options 	SH4_CACHE_DISABLE_ICACHE
40#options 	SH4_CACHE_DISABLE_DCACHE
41#options 	SH4_CACHE_WB_U0_P0_P3
42#options 	SH4_CACHE_WB_P1
43
44# kloader-related
45#options 	KLOADER
46#options 	KLOADER_KERNEL_PATH="\"/netbsd\""
47#options 	KLOADER_DEBUG
48
49# Standard system options
50
51options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
52#options 	HZ=64		# clock interrupt generates every 1/HZ sec
53options 	NTP		# NTP phase/frequency locked loop
54
55options 	KTRACE		# system call tracing via ktrace(1)
56
57options 	SYSVMSG		# System V-like message queues
58options 	SYSVSEM		# System V-like semaphores
59options 	SYSVSHM		# System V-like memory sharing
60options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
61
62options 	LKM		# loadable kernel modules
63
64options 	USERCONF	# userconf(4) support
65#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
66options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
67
68# Enable experimental buffer queue strategy for better responsiveness under
69# high disk I/O load. Likely stable but not yet the default.
70#options 	BUFQ_READPRIO
71#options 	BUFQ_PRIOCSCAN
72
73# Diagnostic/debugging support options
74#options 	DIAGNOSTIC	# cheap kernel consistency checks
75#options 	DEBUG		# expensive debugging checks/support
76#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
77options 	DDB		# in-kernel debugger
78#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
79options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
80#makeoptions	DEBUG="-g -fno-omit-frame-pointer"
81
82# Compatibility options
83options 	COMPAT_16	# NetBSD 1.6,
84options 	COMPAT_20	# NetBSD 2.0,
85options 	COMPAT_30	# NetBSD 3.0,
86options 	COMPAT_40	# NetBSD 4.0,
87options 	COMPAT_43	# and 4.3BSD
88#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
89
90options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
91options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
92
93# Executable format options
94options 	EXEC_COFF	# COFF executables
95
96# File systems
97file-system 	FFS		# UFS
98file-system 	EXT2FS		# second extended file system (linux)
99file-system 	LFS		# log-structured file system
100file-system 	MFS		# memory file system
101file-system 	NFS		# Network File System client
102file-system 	NTFS		# Windows/NT file system (experimental)
103file-system 	CD9660		# ISO 9660 + Rock Ridge file system
104file-system 	MSDOSFS		# MS-DOS file system
105file-system 	FDESC		# /dev/fd
106file-system 	KERNFS		# /kern
107file-system 	NULLFS		# loopback file system
108file-system 	OVERLAY		# overlay file system
109file-system 	PORTAL		# portal filesystem (still experimental)
110file-system 	PROCFS		# /proc
111file-system 	UMAPFS		# NULLFS + uid and gid remapping
112file-system 	UNION		# union file system
113file-system	CODA		# Coda File System; also needs vcoda (below)
114file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
115file-system	PTYFS		# /dev/pts/N support
116#file-system	TMPFS		# Efficient memory file-system
117#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
118
119# File system options
120options 	QUOTA		# UFS quotas
121#options 	FFS_EI		# FFS Endian Independent support
122options 	SOFTDEP		# FFS soft updates support.
123#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
124options 	NFSSERVER	# Network File System server
125#options 	FFS_NO_SNAPSHOT	# ffs snapshots
126#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
127				# immutable) behave as system flags.
128
129# Networking options
130#options 	GATEWAY		# packet forwarding
131options 	INET		# IP + ICMP + TCP + UDP
132options 	INET6		# IPV6
133#options 	IPSEC		# IP security
134#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
135#options 	IPSEC_DEBUG	# debug for IP security
136#options 	MROUTING	# IP multicast routing
137#options 	PIM		# Protocol Independent Multicast
138#options 	ISO,TPIP	# OSI
139#options 	EON		# OSI tunneling over IP
140#options 	NETATALK	# AppleTalk networking protocols
141#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
142#options 	PPP_DEFLATE	# Deflate compression support for PPP
143#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
144#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
145#options 	IPFILTER_LOG	# ipmon(8) log support
146#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
147#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
148
149#options 	ALTQ		# Manipulate network interfaces' output queues
150#options 	ALTQ_BLUE	# Stochastic Fair Blue
151#options 	ALTQ_CBQ	# Class-Based Queueing
152#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
153#options 	ALTQ_FIFOQ	# First-In First-Out Queue
154#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
155#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
156#options 	ALTQ_LOCALQ	# Local queueing discipline
157#options 	ALTQ_PRIQ	# Priority Queueing
158#options 	ALTQ_RED	# Random Early Detection
159#options 	ALTQ_RIO	# RED with IN/OUT
160#options 	ALTQ_WFQ	# Weighted Fair Queueing
161
162# These options enable verbose messages for several subsystems.
163# Warning, these may compile large string tables into the kernel!
164options 	MIIVERBOSE	# verbose PHY autoconfig messages
165options 	PCIVERBOSE	# verbose PCI device autoconfig messages
166#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
167options 	SCSIVERBOSE	# human readable SCSI error messages
168options 	USBVERBOSE	# verbose USB device autoconfig messages
169
170options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
171
172
173# Kernel root file system and dump configuration.
174#config		netbsd	root on ? type ?
175config		netbsd	root on wd0a type ffs
176#config		netbsd	root on ? type nfs
177
178
179#
180# Device configuration
181#
182
183mainbus0 at root
184
185cpu*	at mainbus?
186
187# Basic Bus Support
188
189# PCI bus support
190options 	PCI_NETBSD_CONFIGURE
191shpcic*	at mainbus?		# SH7751 PCIC
192pci0	at shpcic? bus ?
193
194# SH bus
195shb*	at mainbus?
196
197# ob-board I/O bus
198obio0	at mainbus?
199
200# Serial Devices
201
202options 	SCIFCONSOLE
203options 	SCIFCN_SPEED=9600
204scif0	at shb?
205
206rs5c313rtc0 at shb0			# time-of-day clock
207
208# SCSI Controllers and Devices
209
210# SCSI devices
211sd*	at scsibus? target ? lun ?	# SCSI disk drives
212st*	at scsibus? target ? lun ?	# SCSI tape drives
213cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
214ch*	at scsibus? target ? lun ?	# SCSI autochangers
215ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
216ss*	at scsibus? target ? lun ?	# SCSI scanners
217uk*	at scsibus? target ? lun ?	# SCSI unknown
218
219# IDE and related devices
220# PCI IDE controllers - see pciide(4) for supported hardware.
221# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
222# how to set up DMA modes for this chip. This may work, or may cause
223# a machine hang with some controllers.
224pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
225acardide*	at pci? dev ? function ?	# Acard IDE controllers
226
227wdc0	at obio? port 0x14000000 irq 10		# CF
228#wdc1	at obio? port 0x18000000 irq 9		# iConnect
229
230# ATA (IDE) bus support
231atabus*	at ata?
232
233# IDE drives
234# Flags are used only with controllers that support DMA operations
235# and mode settings (e.g. some pciide controllers)
236# The lowest order four bits (rightmost digit) of the flags define the PIO
237# mode to use, the next set of four bits the DMA mode and the third set the
238# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
239# to use, and the last bit must be 1 for this setting to be used.
240# For DMA and UDMA, 0xf (1111) means 'disable'.
241# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
242# (0xc=1100, 0xa=1010, 0xf=1111)
243# 0x0000 means "use whatever the drive claims to support".
244wd*	at atabus? drive ? flags 0x0000
245
246# ATAPI bus support
247atapibus* at atapi?
248
249# ATAPI devices
250# flags have the same meaning as for IDE drives.
251cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
252sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
253uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
254
255# Network Interfaces
256
257# PCI network interfaces
258re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
259rtk*	at pci? dev ? function ?	# Realtek 8129/8139
260
261# MII/PHY support
262rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
263urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
264ukphy*	at mii? phy ?			# generic unknown PHYs
265
266
267# USB Controller and Devices
268
269# PCI USB controllers
270ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
271ohci*	at pci?	dev ? function ?	# Open Host Controller
272
273# USB bus support
274usb*	at ehci?
275usb*	at ohci?
276
277# USB Hubs
278uhub*	at usb?
279uhub*	at uhub? port ?
280
281# USB HID device
282uhidev*	at uhub? port ? configuration ? interface ?
283
284# USB Mice
285ums*	at uhidev? reportid ?
286wsmouse* at ums? mux 0
287
288# USB Keyboards
289ukbd*	at uhidev? reportid ?
290wskbd*	at ukbd? console ? mux 1
291
292# USB serial adpater
293ucycom* at uhidev? reportid ?
294
295# USB Generic HID devices
296uhid*	at uhidev? reportid ?
297
298# USB Printer
299ulpt*	at uhub? port ? configuration ? interface ?
300
301# USB Modem
302umodem*	at uhub? port ? configuration ?
303ucom*	at umodem?
304
305# USB Mass Storage
306umass*	at uhub? port ? configuration ? interface ?
307scsibus* at umass?
308wd*	at umass?
309
310# USB audio
311uaudio*	at uhub? port ? configuration ?
312
313# USB MIDI
314umidi* at uhub? port ? configuration ?
315
316# USB IrDA
317# USB-IrDA bridge spec
318uirda* at uhub? port ? configuration ? interface ?
319irframe* at uirda?
320
321# SigmaTel STIr4200 USB/IrDA Bridge
322ustir* at uhub? port ?
323irframe* at ustir?
324
325# USB Ethernet adapters
326aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
327axe*	at uhub? port ?		# ASIX AX88172 based adapters
328cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
329cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
330kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
331udav*	at uhub? port ?		# Davicom DM9601 based adapters
332ral*	at uhub? port ?		#
333url*	at uhub? port ?		# Realtek RTL8150L based adapters
334
335# USB 802.11b adapters
336atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
337
338# Prolific PL2301/PL2302 host-to-host adapter
339upl*	at uhub? port ?
340
341# Serial adapters
342ubsa*	at uhub? port ?		# Belkin serial adapter
343ucom*	at ubsa? portno ?
344
345uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
346ucom*	at uftdi? portno ?
347
348umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
349ucom*	at umct? portno ?
350
351uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
352ucom*	at uplcom? portno ?
353
354uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
355ucom*	at uvscom? portno ?
356
357# Diamond Multimedia Rio 500
358urio*	at uhub? port ?
359
360# USB Handspring Visor
361uvisor*	at uhub? port ?
362ucom*	at uvisor?
363
364# Kyocera AIR-EDGE PHONE
365ukyopon* at uhub? port ?
366ucom*	at ukyopon? portno ?
367
368# USB scanners
369uscanner* at uhub? port ?
370
371# USB scanners that use SCSI emulation, e.g., HP5300
372usscanner* at uhub? port ?
373
374# Y@P firmware loader
375uyap* at uhub? port ?
376
377# D-Link DSB-R100 USB radio
378udsbr*	at uhub? port ?
379radio*	at udsbr?
380
381# USB Generic driver
382ugen*	at uhub? port ?
383
384
385# Audio Devices
386
387# Audio support
388audio*	at audiobus?
389
390# MIDI support
391midi*	at midibus?
392
393
394# Miscellaneous Devices
395
396# Power switch
397pwrsw0	at obio?
398
399# Reset button, USL-5P misc button
400btn0	at obio?
401
402# Pull in optional local configuration
403cinclude "arch/landisk/conf/GENERIC.local"
404
405
406# Pseudo-Devices
407
408# disk/mass storage pseudo-devices
409pseudo-device	ccd		4	# concatenated/striped disk devices
410#pseudo-device	cgd		4	# cryptographic disk devices
411pseudo-device	raid		8	# RAIDframe disk driver
412options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
413# Options to enable various other RAIDframe RAID types.
414#options 	RF_INCLUDE_EVENODD=1
415#options 	RF_INCLUDE_RAID5_RS=1
416#options 	RF_INCLUDE_PARITYLOGGING=1
417#options 	RF_INCLUDE_CHAINDECLUSTER=1
418#options 	RF_INCLUDE_INTERDECLUSTER=1
419#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
420#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
421pseudo-device	fss		4	# file system snapshot device
422
423pseudo-device	md		1	# memory disk device (ramdisk)
424pseudo-device	vnd			# disk-like interface to files
425options 	VND_COMPRESSION		# compressed vnd(4)
426
427# network pseudo-devices
428pseudo-device	bpfilter		# Berkeley packet filter
429pseudo-device	ipfilter		# IP filter (firewall) and NAT
430pseudo-device	loop			# network loopback
431pseudo-device	ppp			# Point-to-Point Protocol
432pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
433pseudo-device	sl			# Serial Line IP
434pseudo-device	strip			# Starmode Radio IP (Metricom)
435pseudo-device	irframetty		# IrDA frame line discipline
436pseudo-device	tap			# virtual Ethernet
437pseudo-device	tun			# network tunneling over tty
438pseudo-device	gre			# generic L3 over IP tunnel
439pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
440#pseudo-device	faith			# IPv[46] tcp relay translation i/f
441#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
442pseudo-device	vlan			# IEEE 802.1q encapsulation
443pseudo-device	bridge			# simple inter-network bridging
444#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
445pseudo-device	agr			# IEEE 802.3ad link aggregation
446#pseudo-device	pf			# PF packet filter
447#pseudo-device	pflog			# PF log if
448
449# miscellaneous pseudo-devices
450pseudo-device	pty			# pseudo-terminals
451pseudo-device	sequencer	1	# MIDI sequencer
452pseudo-device	rnd			# /dev/random and in-kernel generator
453pseudo-device	clockctl		# user control of clock subsystem
454pseudo-device	ksyms			# /dev/ksyms
455
456# a pseudo device needed for Coda	# also needs CODA (above)
457pseudo-device	vcoda		4	# coda minicache <-> venus comm.
458
459# a pseudo device needed for SMBFS
460pseudo-device	nsmb			# experimental - SMB requester
461
462# wscons pseudo-devices
463pseudo-device	wsmux			# mouse & keyboard multiplexor
464#pseudo-device	wsfont
465