GENERIC revision 1.72
1# $NetBSD: GENERIC,v 1.72 2004/06/22 14:09:50 itojun 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/bebox/conf/std.bebox"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.72 $"
26
27maxusers	32
28
29#options 	IPKDBUSERHACK	# Allow access to mapped memory via kgdb
30#options 	DEBUG_BY_TOOLS	# Allow debugging from toolsnet
31# HMAC key to be used for debugging sessions
32#options 	IPKDBKEY="\"HMAC pass phrase text\""
33#options 	IPKDBSECURE	# Allow debugging even when securelevel > 0
34makeoptions	DEBUG="-g"
35
36options 	DEBUG
37options 	DIAGNOSTIC
38options 	TRAP_PANICWAIT
39options 	DDB
40#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
41options 	KTRACE
42options 	SYSTRACE		# system call vetting via systrace(1)
43options 	USERCONF		# userconf(4) support
44#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
45
46# Enable experimental buffer queue strategy for better responsiveness under 
47# high disk I/O load. Use it with caution - it's not proven to be stable yet.
48#options 	NEW_BUFQ_STRATEGY
49
50#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
51options 	COMPAT_43
52options 	COMPAT_09
53options 	COMPAT_10
54options 	COMPAT_12
55options 	COMPAT_13
56options 	COMPAT_14
57options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
58#options 	COMPAT_LINUX		# Linux binary compatibility
59
60file-system 	FFS
61file-system 	MFS
62file-system 	NFS
63file-system 	CD9660
64file-system 	MSDOSFS
65file-system 	FDESC
66file-system 	KERNFS
67file-system 	NULLFS
68file-system 	OVERLAY
69file-system 	PORTAL
70file-system 	PROCFS
71file-system 	UMAPFS
72file-system 	UNION
73
74#options 	FFS_EI		# FFS Endian Independant support
75options 	SOFTDEP		# FFS soft updates support.
76#options 	NFSSERVER
77
78options 	INET
79options 	INET6		# IPV6
80#options 	IPSEC		# IP security
81#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
82#options 	IPSEC_DEBUG	# debug for IP security
83
84#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
85
86options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
87
88config		netbsd	root on ? type ?
89
90#pseudo-device 	crypto			# opencrypto framework
91#pseudo-device	cgd		4	# cryptographic disk devices
92pseudo-device	vnd		4
93pseudo-device	loop
94pseudo-device	bpfilter	8	# packet filter
95pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
96#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
97#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
98pseudo-device	vlan			# IEEE 802.1q encapsulation
99pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
100pseudo-device	bridge			# simple inter-network bridging
101#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
102pseudo-device	pty			# pseudo-terminals
103pseudo-device	raid		8	# RAIDframe disk driver
104options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
105# Options to enable various other RAIDframe RAID types.
106# options	RF_INCLUDE_EVENODD=1
107# options	RF_INCLUDE_RAID5_RS=1
108# options	RF_INCLUDE_PARITYLOGGING=1
109# options	RF_INCLUDE_CHAINDECLUSTER=1
110# options	RF_INCLUDE_INTERDECLUSTER=1
111# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
112# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
113#pseudo-device	gre		2	# generic L3 over IP tunnel
114pseudo-device	wsmux
115pseudo-device	clockctl		# user control of clock subsystem
116
117# random number generator pseudo-device
118pseudo-device	rnd			# /dev/random and in-kernel generator
119#options 	RND_COM			# use "com" randomness as well (BROKEN)
120pseudo-device	ksyms			# /dev/ksyms
121#pseudo-device	pf			# PF packet filter
122#pseudo-device	pflog			# PF log if
123
124#
125# device
126#
127options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
128
129options 	PCIVERBOSE	# verbose PCI device messages
130#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
131options 	PCI_NETBSD_CONFIGURE
132
133mainbus0 at root
134
135cpu*	at mainbus0
136pci0	at mainbus0 bus ?
137
138ppb*	at pci? dev ? function ?	# PCI-PCI bridges
139pci*	at ppb? bus ?
140pchb*	at pci? dev ? function ?	# PCI-Host bridges
141pcib*	at pci? dev ? function ?	# PCI-ISA bridges
142
143isa*	at pcib?			# ISA on PCI-ISA bridge
144
145#pc0	at isa? port 0x60 irq 1		# generic PC console device
146
147com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
148com1	at isa? port 0x2f8 irq 3
149#com2	at isa? port 0x380 irq 16
150#com3	at isa? port 0x388 irq 17
151
152lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
153#lpt1	at isa? port 0x278
154#lpt2	at isa? port 0x3bc
155
156#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
157#lms1	at isa? port 0x238 irq 5
158#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
159#mms1	at isa? port 0x238 irq 5
160
161pckbc0	at isa?
162pckbd*	at pckbc?
163#pms*	at pckbc?
164#vga0	at isa?
165vga*	at pci?
166pfb*	at pci?
167wsdisplay*	at vga? console ?
168wsdisplay*	at pfb? console ?
169wskbd*		at pckbd? console ?
170#wsmouse*	at pms? mux 0
171
172# Cryptographic Devices
173
174# PCI cryptographic devices
175#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
176#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
177
178#siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
179#scsibus* at siop?
180#esiop*	at pci? dev ? function ?	# NCR 53875 and newer SCSI controllers
181#scsibus* at esiop?
182
183#sd*	at scsibus? target ? lun ?	# SCSI disk drives
184#st*	at scsibus? target ? lun ?	# SCSI tape drives
185#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
186#ch*	at scsibus? target ? lun ?	# SCSI autochangers
187#ss*	at scsibus? target ? lun ?	# SCSI scanners
188#uk*	at scsibus? target ? lun ?	# SCSI unknown
189
190fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
191#fdc1	at isa? port 0x370 irq ? drq ?
192fd0	at fdc? drive 1
193#fd*	at fdc? drive ?
194
195wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
196atabus* at ata?
197wd*	at atabus? drive ?
198
199ne0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
200#ipkdbif0 at ne?
201
202#wss0	at isa? port 0x530 irq 10 drq 0	# Windows Sound System
203
204#pcppi0 at isa?
205#spkr0	at pcppi?
206
207# Joystick driver. Probe is a little strange; add only if you have one.
208#joy0	at isa? port 0x201
209