GENERIC revision 1.104 1 1.104 jmmv # $NetBSD: GENERIC,v 1.104 2006/11/11 18:47:09 jmmv Exp $
2 1.1 sakamoto #
3 1.48 gmcgarry # GENERIC machine description file
4 1.48 gmcgarry #
5 1.48 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.48 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.48 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 sakamoto #
9 1.48 gmcgarry # The machine description file can be customised for your specific
10 1.48 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.48 gmcgarry #
12 1.48 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.48 gmcgarry # man page.
14 1.48 gmcgarry #
15 1.48 gmcgarry # For further information on hardware support for this architecture, see
16 1.48 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.48 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.48 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.48 gmcgarry # device.
20 1.1 sakamoto
21 1.48 gmcgarry include "arch/bebox/conf/std.bebox"
22 1.23 hubertf
23 1.55 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.55 atatat
25 1.104 jmmv #ident "GENERIC-$Revision: 1.104 $"
26 1.1 sakamoto
27 1.1 sakamoto maxusers 32
28 1.1 sakamoto
29 1.5 sakamoto #options IPKDBUSERHACK # Allow access to mapped memory via kgdb
30 1.5 sakamoto #options DEBUG_BY_TOOLS # Allow debugging from toolsnet
31 1.1 sakamoto # HMAC key to be used for debugging sessions
32 1.5 sakamoto #options IPKDBKEY="\"HMAC pass phrase text\""
33 1.5 sakamoto #options IPKDBSECURE # Allow debugging even when securelevel > 0
34 1.1 sakamoto makeoptions DEBUG="-g"
35 1.1 sakamoto
36 1.89 chs #options DEBUG
37 1.89 chs #options DIAGNOSTIC
38 1.1 sakamoto options TRAP_PANICWAIT
39 1.1 sakamoto options DDB
40 1.2 lukem #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
41 1.2 lukem options KTRACE
42 1.100 christos #options SYSTRACE # system call vetting via systrace(1)
43 1.57 lukem options USERCONF # userconf(4) support
44 1.53 gmcgarry #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
45 1.74 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
46 1.60 junyoung
47 1.61 wiz # Enable experimental buffer queue strategy for better responsiveness under
48 1.60 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
49 1.82 tsutsui #options BUFQ_READPRIO
50 1.82 tsutsui #options BUFQ_PRIOCSCAN
51 1.1 sakamoto
52 1.40 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
53 1.2 lukem options COMPAT_43
54 1.2 lukem options COMPAT_09
55 1.2 lukem options COMPAT_10
56 1.2 lukem options COMPAT_12
57 1.3 kleink options COMPAT_13
58 1.18 augustss options COMPAT_14
59 1.103 manu options COMPAT_15
60 1.80 simonb options COMPAT_16
61 1.80 simonb options COMPAT_20
62 1.86 christos options COMPAT_30 # NetBSD 3.0 compatibility.
63 1.10 sakamoto options COMPAT_386BSD_MBRPART # recognize old partition ID
64 1.46 lukem #options COMPAT_LINUX # Linux binary compatibility
65 1.75 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
66 1.1 sakamoto
67 1.1 sakamoto file-system FFS
68 1.1 sakamoto file-system MFS
69 1.1 sakamoto file-system NFS
70 1.1 sakamoto file-system CD9660
71 1.1 sakamoto file-system MSDOSFS
72 1.1 sakamoto file-system FDESC
73 1.1 sakamoto file-system KERNFS
74 1.1 sakamoto file-system NULLFS
75 1.22 wrstuden file-system OVERLAY
76 1.1 sakamoto file-system PORTAL
77 1.1 sakamoto file-system PROCFS
78 1.1 sakamoto file-system UMAPFS
79 1.1 sakamoto file-system UNION
80 1.87 christos file-system PTYFS # /dev/pts/N support
81 1.104 jmmv #file-system TMPFS # Efficient memory file-system
82 1.95 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
83 1.1 sakamoto
84 1.7 bouyer #options FFS_EI # FFS Endian Independant support
85 1.46 lukem options SOFTDEP # FFS soft updates support.
86 1.76 rumble #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
87 1.2 lukem #options NFSSERVER
88 1.93 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
89 1.21 itojun
90 1.2 lukem options INET
91 1.21 itojun options INET6 # IPV6
92 1.21 itojun #options IPSEC # IP security
93 1.21 itojun #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
94 1.84 tron #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
95 1.21 itojun #options IPSEC_DEBUG # debug for IP security
96 1.40 abs
97 1.40 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
98 1.5 sakamoto
99 1.73 abs #options ALTQ # Manipulate network interfaces' output queues
100 1.73 abs #options ALTQ_BLUE # Stochastic Fair Blue
101 1.73 abs #options ALTQ_CBQ # Class-Based Queueing
102 1.73 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
103 1.73 abs #options ALTQ_FIFOQ # First-In First-Out Queue
104 1.73 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
105 1.73 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
106 1.73 abs #options ALTQ_LOCALQ # Local queueing discipline
107 1.73 abs #options ALTQ_PRIQ # Priority Queueing
108 1.73 abs #options ALTQ_RED # Random Early Detection
109 1.73 abs #options ALTQ_RIO # RED with IN/OUT
110 1.73 abs #options ALTQ_WFQ # Weighted Fair Queueing
111 1.73 abs
112 1.46 lukem options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
113 1.1 sakamoto
114 1.1 sakamoto config netbsd root on ? type ?
115 1.1 sakamoto
116 1.91 thorpej #pseudo-device crypto # /dev/crypto device
117 1.92 thorpej #pseudo-device swcrypto # software crypto implementation
118 1.59 elric #pseudo-device cgd 4 # cryptographic disk devices
119 1.97 cube pseudo-device vnd
120 1.85 hubertf #options VND_COMPRESSION # compressed vnd(4)
121 1.1 sakamoto pseudo-device loop
122 1.96 rpaulo pseudo-device bpfilter # packet filter
123 1.99 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
124 1.97 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
125 1.97 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
126 1.98 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
127 1.35 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
128 1.49 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
129 1.47 atatat pseudo-device bridge # simple inter-network bridging
130 1.62 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
131 1.33 jdolecek pseudo-device pty # pseudo-terminals
132 1.50 oster pseudo-device raid 8 # RAIDframe disk driver
133 1.50 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
134 1.50 oster # Options to enable various other RAIDframe RAID types.
135 1.50 oster # options RF_INCLUDE_EVENODD=1
136 1.50 oster # options RF_INCLUDE_RAID5_RS=1
137 1.50 oster # options RF_INCLUDE_PARITYLOGGING=1
138 1.50 oster # options RF_INCLUDE_CHAINDECLUSTER=1
139 1.50 oster # options RF_INCLUDE_INTERDECLUSTER=1
140 1.50 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
141 1.50 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
142 1.77 hannken pseudo-device fss 4 # file system snapshot device
143 1.97 cube #pseudo-device gre # generic L3 over IP tunnel
144 1.45 augustss pseudo-device wsmux
145 1.56 lukem pseudo-device clockctl # user control of clock subsystem
146 1.34 itojun
147 1.34 itojun # random number generator pseudo-device
148 1.34 itojun pseudo-device rnd # /dev/random and in-kernel generator
149 1.34 itojun #options RND_COM # use "com" randomness as well (BROKEN)
150 1.63 ragge pseudo-device ksyms # /dev/ksyms
151 1.72 itojun #pseudo-device pf # PF packet filter
152 1.72 itojun #pseudo-device pflog # PF log if
153 1.1 sakamoto
154 1.94 elad # Veriexec
155 1.94 elad #
156 1.94 elad # a pseudo device needed for veriexec
157 1.94 elad #pseudo-device veriexec 1
158 1.94 elad #
159 1.94 elad # Uncomment the fingerprint methods below that are desired. Note that
160 1.94 elad # removing fingerprint methods will have almost no impact on the kernel
161 1.94 elad # code size.
162 1.94 elad #
163 1.94 elad #options VERIFIED_EXEC_FP_RMD160
164 1.94 elad #options VERIFIED_EXEC_FP_SHA256
165 1.94 elad #options VERIFIED_EXEC_FP_SHA384
166 1.94 elad #options VERIFIED_EXEC_FP_SHA512
167 1.94 elad #options VERIFIED_EXEC_FP_SHA1
168 1.94 elad #options VERIFIED_EXEC_FP_MD5
169 1.94 elad
170 1.1 sakamoto #
171 1.1 sakamoto # device
172 1.1 sakamoto #
173 1.2 lukem options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
174 1.1 sakamoto
175 1.1 sakamoto options PCIVERBOSE # verbose PCI device messages
176 1.26 cgd #options PCI_CONFIG_DUMP # verbosely dump PCI config space
177 1.36 briggs options PCI_NETBSD_CONFIGURE
178 1.1 sakamoto
179 1.1 sakamoto mainbus0 at root
180 1.1 sakamoto
181 1.41 matt cpu* at mainbus0
182 1.1 sakamoto pci0 at mainbus0 bus ?
183 1.1 sakamoto
184 1.1 sakamoto ppb* at pci? dev ? function ? # PCI-PCI bridges
185 1.1 sakamoto pci* at ppb? bus ?
186 1.1 sakamoto pchb* at pci? dev ? function ? # PCI-Host bridges
187 1.1 sakamoto pcib* at pci? dev ? function ? # PCI-ISA bridges
188 1.1 sakamoto
189 1.1 sakamoto isa* at pcib? # ISA on PCI-ISA bridge
190 1.1 sakamoto
191 1.102 gdamore mcclock0 at isa? port 0x70 # time-of-day clock
192 1.102 gdamore
193 1.8 sakamoto #pc0 at isa? port 0x60 irq 1 # generic PC console device
194 1.1 sakamoto
195 1.5 sakamoto com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
196 1.5 sakamoto com1 at isa? port 0x2f8 irq 3
197 1.10 sakamoto #com2 at isa? port 0x380 irq 16
198 1.10 sakamoto #com3 at isa? port 0x388 irq 17
199 1.46 lukem
200 1.1 sakamoto lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
201 1.1 sakamoto #lpt1 at isa? port 0x278
202 1.1 sakamoto #lpt2 at isa? port 0x3bc
203 1.1 sakamoto
204 1.1 sakamoto #lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
205 1.1 sakamoto #lms1 at isa? port 0x238 irq 5
206 1.1 sakamoto #mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
207 1.1 sakamoto #mms1 at isa? port 0x238 irq 5
208 1.1 sakamoto
209 1.8 sakamoto pckbc0 at isa?
210 1.8 sakamoto pckbd* at pckbc?
211 1.17 drochner #pms* at pckbc?
212 1.8 sakamoto #vga0 at isa?
213 1.8 sakamoto vga* at pci?
214 1.15 sakamoto pfb* at pci?
215 1.8 sakamoto wsdisplay* at vga? console ?
216 1.15 sakamoto wsdisplay* at pfb? console ?
217 1.8 sakamoto wskbd* at pckbd? console ?
218 1.19 augustss #wsmouse* at pms? mux 0
219 1.8 sakamoto
220 1.67 jonathan # Cryptographic Devices
221 1.67 jonathan
222 1.67 jonathan # PCI cryptographic devices
223 1.69 jmc #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
224 1.69 jmc #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
225 1.67 jonathan
226 1.36 briggs #siop* at pci? dev ? function ? # NCR 538XX SCSI controllers
227 1.36 briggs #scsibus* at siop?
228 1.64 bouyer #esiop* at pci? dev ? function ? # NCR 53875 and newer SCSI controllers
229 1.64 bouyer #scsibus* at esiop?
230 1.1 sakamoto
231 1.1 sakamoto #sd* at scsibus? target ? lun ? # SCSI disk drives
232 1.1 sakamoto #st* at scsibus? target ? lun ? # SCSI tape drives
233 1.1 sakamoto #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
234 1.1 sakamoto #ch* at scsibus? target ? lun ? # SCSI autochangers
235 1.1 sakamoto #ss* at scsibus? target ? lun ? # SCSI scanners
236 1.1 sakamoto #uk* at scsibus? target ? lun ? # SCSI unknown
237 1.1 sakamoto
238 1.10 sakamoto fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
239 1.1 sakamoto #fdc1 at isa? port 0x370 irq ? drq ?
240 1.10 sakamoto fd0 at fdc? drive 1
241 1.1 sakamoto #fd* at fdc? drive ?
242 1.1 sakamoto
243 1.6 sakamoto wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
244 1.66 lukem atabus* at ata?
245 1.65 bouyer wd* at atabus? drive ?
246 1.1 sakamoto
247 1.6 sakamoto ne0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards
248 1.6 sakamoto #ipkdbif0 at ne?
249 1.1 sakamoto
250 1.1 sakamoto #wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System
251 1.10 sakamoto
252 1.81 cube #attimer0 at isa?
253 1.9 drochner #pcppi0 at isa?
254 1.9 drochner #spkr0 at pcppi?
255 1.1 sakamoto
256 1.1 sakamoto # Joystick driver. Probe is a little strange; add only if you have one.
257 1.1 sakamoto #joy0 at isa? port 0x201
258