xref: /netbsd/sys/arch/landisk/conf/GENERIC (revision 6550d01e)
1# $NetBSD: GENERIC,v 1.27 2011/01/03 06:07:43 tsutsui 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.27 $"
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
62#options 	MODULAR		# new style module(7) framework
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_50	# NetBSD 5.0 compatibility.
88options 	COMPAT_43	# and 4.3BSD
89#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
90
91options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
92options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
93
94# Executable format options
95options 	EXEC_COFF	# COFF executables
96
97# File systems
98file-system 	FFS		# UFS
99file-system 	EXT2FS		# second extended file system (linux)
100file-system 	LFS		# log-structured file system
101file-system 	MFS		# memory file system
102file-system 	NFS		# Network File System client
103file-system 	NTFS		# Windows/NT file system (experimental)
104file-system 	CD9660		# ISO 9660 + Rock Ridge file system
105file-system 	MSDOSFS		# MS-DOS file system
106file-system 	FDESC		# /dev/fd
107file-system 	KERNFS		# /kern
108file-system 	NULLFS		# loopback file system
109file-system 	OVERLAY		# overlay file system
110file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
111file-system 	PROCFS		# /proc
112file-system 	UMAPFS		# NULLFS + uid and gid remapping
113file-system 	UNION		# union file system
114file-system	CODA		# Coda File System; also needs vcoda (below)
115file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
116file-system	PTYFS		# /dev/pts/N support
117file-system	TMPFS		# Efficient memory file-system
118#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
119
120# File system options
121options 	QUOTA		# UFS quotas
122#options 	FFS_EI		# FFS Endian Independent support
123options 	WAPBL		# File system journaling support - Experimental
124#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
125options 	NFSSERVER	# Network File System server
126#options 	FFS_NO_SNAPSHOT	# ffs snapshots
127#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
128				# immutable) behave as system flags.
129
130# Networking options
131#options 	GATEWAY		# packet forwarding
132options 	INET		# IP + ICMP + TCP + UDP
133options 	INET6		# IPV6
134#options 	IPSEC		# IP security
135#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
136#options 	IPSEC_DEBUG	# debug for IP security
137#options 	MROUTING	# IP multicast routing
138#options 	PIM		# Protocol Independent Multicast
139#options 	ISO,TPIP	# OSI
140#options 	EON		# OSI tunneling over IP
141#options 	NETATALK	# AppleTalk networking protocols
142#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
143#options 	PPP_DEFLATE	# Deflate compression support for PPP
144#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
145#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
146#options 	IPFILTER_LOG	# ipmon(8) log support
147options 	IPFILTER_COMPAT # Compat for IP-Filter
148#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
149#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
150
151#options 	ALTQ		# Manipulate network interfaces' output queues
152#options 	ALTQ_BLUE	# Stochastic Fair Blue
153#options 	ALTQ_CBQ	# Class-Based Queueing
154#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
155#options 	ALTQ_FIFOQ	# First-In First-Out Queue
156#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
157#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
158#options 	ALTQ_LOCALQ	# Local queueing discipline
159#options 	ALTQ_PRIQ	# Priority Queueing
160#options 	ALTQ_RED	# Random Early Detection
161#options 	ALTQ_RIO	# RED with IN/OUT
162#options 	ALTQ_WFQ	# Weighted Fair Queueing
163
164# These options enable verbose messages for several subsystems.
165# Warning, these may compile large string tables into the kernel!
166options 	MIIVERBOSE	# verbose PHY autoconfig messages
167options 	PCIVERBOSE	# verbose PCI device autoconfig messages
168#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
169options 	SCSIVERBOSE	# human readable SCSI error messages
170options 	USBVERBOSE	# verbose USB device autoconfig messages
171
172options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
173
174
175# Kernel root file system and dump configuration.
176#config		netbsd	root on ? type ?
177config		netbsd	root on wd0a type ffs
178#config		netbsd	root on ? type nfs
179
180
181#
182# Device configuration
183#
184
185mainbus0 at root
186
187cpu*	at mainbus?
188
189# Basic Bus Support
190
191# PCI bus support
192options 	PCI_NETBSD_CONFIGURE
193shpcic*	at mainbus?		# SH7751 PCIC
194pci0	at shpcic? bus ?
195
196# SH bus
197shb*	at mainbus?
198
199# ob-board I/O bus
200obio0	at mainbus?
201
202# Serial Devices
203
204options 	SCIFCONSOLE
205options 	SCIFCN_SPEED=9600
206scif0	at shb?
207
208rs5c313rtc0 at shb0			# time-of-day clock
209
210# SCSI Controllers and Devices
211
212# SCSI devices
213sd*	at scsibus? target ? lun ?	# SCSI disk drives
214st*	at scsibus? target ? lun ?	# SCSI tape drives
215cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
216ch*	at scsibus? target ? lun ?	# SCSI autochangers
217ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
218ss*	at scsibus? target ? lun ?	# SCSI scanners
219uk*	at scsibus? target ? lun ?	# SCSI unknown
220
221# IDE and related devices
222# PCI IDE controllers - see pciide(4) for supported hardware.
223# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
224# how to set up DMA modes for this chip. This may work, or may cause
225# a machine hang with some controllers.
226pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
227acardide*	at pci? dev ? function ?	# Acard IDE controllers
228
229wdc0	at obio? port 0x14000000 irq 10		# CF
230#wdc1	at obio? port 0x18000000 irq 9		# iConnect
231
232# ATA (IDE) bus support
233atabus*	at ata?
234
235# IDE drives
236# Flags are used only with controllers that support DMA operations
237# and mode settings (e.g. some pciide controllers)
238# The lowest order four bits (rightmost digit) of the flags define the PIO
239# mode to use, the next set of four bits the DMA mode and the third set the
240# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
241# to use, and the last bit must be 1 for this setting to be used.
242# For DMA and UDMA, 0xf (1111) means 'disable'.
243# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
244# (0xc=1100, 0xa=1010, 0xf=1111)
245# 0x0000 means "use whatever the drive claims to support".
246wd*	at atabus? drive ? flags 0x0000
247
248# ATAPI bus support
249atapibus* at atapi?
250
251# ATAPI devices
252# flags have the same meaning as for IDE drives.
253cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
254sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
255uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
256
257# Network Interfaces
258
259# PCI network interfaces
260re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
261rtk*	at pci? dev ? function ?	# Realtek 8129/8139
262
263# MII/PHY support
264rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
265urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
266ukphy*	at mii? phy ?			# generic unknown PHYs
267
268
269# USB Controller and Devices
270
271# PCI USB controllers
272ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
273ohci*	at pci?	dev ? function ?	# Open Host Controller
274
275# USB bus support
276usb*	at ehci?
277usb*	at ohci?
278
279# USB Hubs
280uhub*	at usb?
281uhub*	at uhub? port ?
282
283# USB HID device
284uhidev*	at uhub? port ? configuration ? interface ?
285
286# USB Mice
287ums*	at uhidev? reportid ?
288wsmouse* at ums? mux 0
289
290# USB Keyboards
291ukbd*	at uhidev? reportid ?
292wskbd*	at ukbd? console ? mux 1
293
294# USB LCDs and USB-VGA adaptors
295udl*	at uhub? port ?		# DisplayLink DL-1x0/1x5
296wsdisplay* at udl?
297
298# USB serial adpater
299ucycom* at uhidev? reportid ?
300
301# USB Generic HID devices
302uhid*	at uhidev? reportid ?
303
304# USB Printer
305ulpt*	at uhub? port ? configuration ? interface ?
306
307# USB Modem
308umodem*	at uhub? port ? configuration ?
309ucom*	at umodem?
310
311# Option N.V. Wireless WAN modems
312uhso*	at uhub? port ? configuration ?
313
314# USB Mass Storage
315umass*	at uhub? port ? configuration ? interface ?
316scsibus* at umass?
317wd*	at umass?
318
319# USB audio
320uaudio*	at uhub? port ? configuration ?
321
322# USB MIDI
323umidi* at uhub? port ? configuration ?
324
325# USB IrDA
326# USB-IrDA bridge spec
327uirda* at uhub? port ? configuration ? interface ?
328irframe* at uirda?
329
330# SigmaTel STIr4200 USB/IrDA Bridge
331ustir* at uhub? port ?
332irframe* at ustir?
333
334# USB Ethernet adapters
335aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
336axe*	at uhub? port ?		# ASIX AX88172 based adapters
337cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
338cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
339kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
340udav*	at uhub? port ?		# Davicom DM9601 based adapters
341ral*	at uhub? port ?		#
342url*	at uhub? port ?		# Realtek RTL8150L based adapters
343
344# USB 802.11b adapters
345atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
346
347# Prolific PL2301/PL2302 host-to-host adapter
348upl*	at uhub? port ?
349
350# Serial adapters
351ubsa*	at uhub? port ?		# Belkin serial adapter
352ucom*	at ubsa? portno ?
353
354uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
355ucom*	at uftdi? portno ?
356
357umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
358ucom*	at umct? portno ?
359
360uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
361ucom*	at uplcom? portno ?
362
363uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
364ucom*	at uvscom? portno ?
365
366# Diamond Multimedia Rio 500
367urio*	at uhub? port ?
368
369# USB Handspring Visor
370uvisor*	at uhub? port ?
371ucom*	at uvisor?
372
373# Kyocera AIR-EDGE PHONE
374ukyopon* at uhub? port ?
375ucom*	at ukyopon? portno ?
376
377# USB scanners
378uscanner* at uhub? port ?
379
380# USB scanners that use SCSI emulation, e.g., HP5300
381usscanner* at uhub? port ?
382
383# Y@P firmware loader
384uyap* at uhub? port ?
385
386# D-Link DSB-R100 USB radio
387udsbr*	at uhub? port ?
388radio*	at udsbr?
389
390# USB Generic driver
391ugen*	at uhub? port ?
392
393
394# Audio Devices
395
396# Audio support
397audio*	at audiobus?
398
399# MIDI support
400midi*	at midibus?
401
402
403# Miscellaneous Devices
404
405# Power switch
406pwrsw0	at obio?
407
408# Reset button, USL-5P misc button
409btn0	at obio?
410
411# Pull in optional local configuration
412cinclude "arch/landisk/conf/GENERIC.local"
413
414
415# Pseudo-Devices
416
417#
418# accept filters
419pseudo-device   accf_data		# "dataready" accept filter
420pseudo-device   accf_http		# "httpready" accept filter
421
422# disk/mass storage pseudo-devices
423pseudo-device	ccd		4	# concatenated/striped disk devices
424#pseudo-device	cgd		4	# cryptographic disk devices
425pseudo-device	raid		8	# RAIDframe disk driver
426options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
427# Options to enable various other RAIDframe RAID types.
428#options 	RF_INCLUDE_EVENODD=1
429#options 	RF_INCLUDE_RAID5_RS=1
430#options 	RF_INCLUDE_PARITYLOGGING=1
431#options 	RF_INCLUDE_CHAINDECLUSTER=1
432#options 	RF_INCLUDE_INTERDECLUSTER=1
433#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
434#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
435pseudo-device	fss			# file system snapshot device
436
437pseudo-device	md			# memory disk device (ramdisk)
438pseudo-device	vnd			# disk-like interface to files
439options 	VND_COMPRESSION		# compressed vnd(4)
440
441# network pseudo-devices
442pseudo-device	bpfilter		# Berkeley packet filter
443pseudo-device	ipfilter		# IP filter (firewall) and NAT
444pseudo-device	loop			# network loopback
445pseudo-device	ppp			# Point-to-Point Protocol
446pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
447pseudo-device	sl			# Serial Line IP
448pseudo-device	strip			# Starmode Radio IP (Metricom)
449pseudo-device	irframetty		# IrDA frame line discipline
450pseudo-device	tap			# virtual Ethernet
451pseudo-device	tun			# network tunneling over tty
452pseudo-device	gre			# generic L3 over IP tunnel
453pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
454#pseudo-device	faith			# IPv[46] tcp relay translation i/f
455#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
456pseudo-device	vlan			# IEEE 802.1q encapsulation
457pseudo-device	bridge			# simple inter-network bridging
458#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
459pseudo-device	agr			# IEEE 802.3ad link aggregation
460#pseudo-device	pf			# PF packet filter
461#pseudo-device	pflog			# PF log if
462
463# miscellaneous pseudo-devices
464pseudo-device	pty			# pseudo-terminals
465pseudo-device	sequencer	1	# MIDI sequencer
466pseudo-device	rnd			# /dev/random and in-kernel generator
467pseudo-device	clockctl		# user control of clock subsystem
468pseudo-device	ksyms			# /dev/ksyms
469pseudo-device	putter			# for puffs and pud
470
471# a pseudo device needed for Coda	# also needs CODA (above)
472pseudo-device	vcoda		4	# coda minicache <-> venus comm.
473
474# a pseudo device needed for SMBFS
475pseudo-device	nsmb			# experimental - SMB requester
476
477# wscons pseudo-devices
478pseudo-device	wsmux			# mouse & keyboard multiplexor
479#pseudo-device	wsfont
480