GENERIC revision 1.63.2.10 1 # $NetBSD: GENERIC,v 1.63.2.10 2005/12/11 10:28:15 christos 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
21 include "arch/bebox/conf/std.bebox"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.63.2.10 $"
26
27 maxusers 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
34 makeoptions DEBUG="-g"
35
36 #options DEBUG
37 #options DIAGNOSTIC
38 options TRAP_PANICWAIT
39 options DDB
40 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
41 options KTRACE
42 options SYSTRACE # system call vetting via systrace(1)
43 options USERCONF # userconf(4) support
44 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
45 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
46
47 # Enable experimental buffer queue strategy for better responsiveness under
48 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
49 #options BUFQ_READPRIO
50 #options BUFQ_PRIOCSCAN
51
52 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
53 options COMPAT_43
54 options COMPAT_09
55 options COMPAT_10
56 options COMPAT_12
57 options COMPAT_13
58 options COMPAT_14
59 options COMPAT_16
60 options COMPAT_20
61 options COMPAT_30 # NetBSD 3.0 compatibility.
62 options COMPAT_386BSD_MBRPART # recognize old partition ID
63 #options COMPAT_LINUX # Linux binary compatibility
64 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
65
66 file-system FFS
67 file-system MFS
68 file-system NFS
69 file-system CD9660
70 file-system MSDOSFS
71 file-system FDESC
72 file-system KERNFS
73 file-system NULLFS
74 file-system OVERLAY
75 file-system PORTAL
76 file-system PROCFS
77 file-system UMAPFS
78 file-system UNION
79 file-system PTYFS # /dev/pts/N support
80 #file-system TMPFS # experimental - Efficient memory file-system
81
82 #options FFS_EI # FFS Endian Independant support
83 options SOFTDEP # FFS soft updates support.
84 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
85 #options NFSSERVER
86 #options FFS_NO_SNAPSHOT # No FFS snapshot support
87
88 options INET
89 options INET6 # IPV6
90 #options IPSEC # IP security
91 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
92 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
93 #options IPSEC_DEBUG # debug for IP security
94
95 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
96
97 #options ALTQ # Manipulate network interfaces' output queues
98 #options ALTQ_BLUE # Stochastic Fair Blue
99 #options ALTQ_CBQ # Class-Based Queueing
100 #options ALTQ_CDNR # Diffserv Traffic Conditioner
101 #options ALTQ_FIFOQ # First-In First-Out Queue
102 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
103 #options ALTQ_HFSC # Hierarchical Fair Service Curve
104 #options ALTQ_LOCALQ # Local queueing discipline
105 #options ALTQ_PRIQ # Priority Queueing
106 #options ALTQ_RED # Random Early Detection
107 #options ALTQ_RIO # RED with IN/OUT
108 #options ALTQ_WFQ # Weighted Fair Queueing
109
110 options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
111
112 config netbsd root on ? type ?
113
114 #pseudo-device crypto # /dev/crypto device
115 #pseudo-device swcrypto # software crypto implementation
116 #pseudo-device cgd 4 # cryptographic disk devices
117 pseudo-device vnd 4
118 #options VND_COMPRESSION # compressed vnd(4)
119 pseudo-device loop
120 pseudo-device bpfilter 8 # packet filter
121 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
122 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
123 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
124 pseudo-device vlan # IEEE 802.1q encapsulation
125 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
126 pseudo-device bridge # simple inter-network bridging
127 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
128 pseudo-device pty # pseudo-terminals
129 pseudo-device raid 8 # RAIDframe disk driver
130 options RAID_AUTOCONFIG # auto-configuration of RAID components
131 # Options to enable various other RAIDframe RAID types.
132 # options RF_INCLUDE_EVENODD=1
133 # options RF_INCLUDE_RAID5_RS=1
134 # options RF_INCLUDE_PARITYLOGGING=1
135 # options RF_INCLUDE_CHAINDECLUSTER=1
136 # options RF_INCLUDE_INTERDECLUSTER=1
137 # options RF_INCLUDE_PARITY_DECLUSTERING=1
138 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
139 pseudo-device fss 4 # file system snapshot device
140 #pseudo-device gre 2 # generic L3 over IP tunnel
141 pseudo-device wsmux
142 pseudo-device clockctl # user control of clock subsystem
143
144 # random number generator pseudo-device
145 pseudo-device rnd # /dev/random and in-kernel generator
146 #options RND_COM # use "com" randomness as well (BROKEN)
147 pseudo-device ksyms # /dev/ksyms
148 #pseudo-device pf # PF packet filter
149 #pseudo-device pflog # PF log if
150
151 # Veriexec
152 #options VERIFIED_EXEC
153 #
154 # a pseudo device needed for veriexec
155 #pseudo-device veriexec 1
156 #
157 # Uncomment the fingerprint methods below that are desired. Note that
158 # removing fingerprint methods will have almost no impact on the kernel
159 # code size.
160 #
161 #options VERIFIED_EXEC_FP_RMD160
162 #options VERIFIED_EXEC_FP_SHA256
163 #options VERIFIED_EXEC_FP_SHA384
164 #options VERIFIED_EXEC_FP_SHA512
165 #options VERIFIED_EXEC_FP_SHA1
166 #options VERIFIED_EXEC_FP_MD5
167
168 #
169 # device
170 #
171 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
172
173 options PCIVERBOSE # verbose PCI device messages
174 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
175 options PCI_NETBSD_CONFIGURE
176
177 mainbus0 at root
178
179 cpu* at mainbus0
180 pci0 at mainbus0 bus ?
181
182 ppb* at pci? dev ? function ? # PCI-PCI bridges
183 pci* at ppb? bus ?
184 pchb* at pci? dev ? function ? # PCI-Host bridges
185 pcib* at pci? dev ? function ? # PCI-ISA bridges
186
187 isa* at pcib? # ISA on PCI-ISA bridge
188
189 #pc0 at isa? port 0x60 irq 1 # generic PC console device
190
191 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
192 com1 at isa? port 0x2f8 irq 3
193 #com2 at isa? port 0x380 irq 16
194 #com3 at isa? port 0x388 irq 17
195
196 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
197 #lpt1 at isa? port 0x278
198 #lpt2 at isa? port 0x3bc
199
200 #lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
201 #lms1 at isa? port 0x238 irq 5
202 #mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
203 #mms1 at isa? port 0x238 irq 5
204
205 pckbc0 at isa?
206 pckbd* at pckbc?
207 #pms* at pckbc?
208 #vga0 at isa?
209 vga* at pci?
210 pfb* at pci?
211 wsdisplay* at vga? console ?
212 wsdisplay* at pfb? console ?
213 wskbd* at pckbd? console ?
214 #wsmouse* at pms? mux 0
215
216 # Cryptographic Devices
217
218 # PCI cryptographic devices
219 #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
220 #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
221
222 #siop* at pci? dev ? function ? # NCR 538XX SCSI controllers
223 #scsibus* at siop?
224 #esiop* at pci? dev ? function ? # NCR 53875 and newer SCSI controllers
225 #scsibus* at esiop?
226
227 #sd* at scsibus? target ? lun ? # SCSI disk drives
228 #st* at scsibus? target ? lun ? # SCSI tape drives
229 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
230 #ch* at scsibus? target ? lun ? # SCSI autochangers
231 #ss* at scsibus? target ? lun ? # SCSI scanners
232 #uk* at scsibus? target ? lun ? # SCSI unknown
233
234 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
235 #fdc1 at isa? port 0x370 irq ? drq ?
236 fd0 at fdc? drive 1
237 #fd* at fdc? drive ?
238
239 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
240 atabus* at ata?
241 wd* at atabus? drive ?
242
243 ne0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards
244 #ipkdbif0 at ne?
245
246 #wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System
247
248 #attimer0 at isa?
249 #pcppi0 at isa?
250 #spkr0 at pcppi?
251
252 # Joystick driver. Probe is a little strange; add only if you have one.
253 #joy0 at isa? port 0x201
254