GENERIC revision 1.107 1 1.107 phx # $NetBSD: GENERIC,v 1.107 2007/12/15 16:09:08 phx Exp $
2 1.1 ws #
3 1.47 gmcgarry # GENERIC machine description file
4 1.47 gmcgarry #
5 1.47 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.47 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.47 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 ws #
9 1.47 gmcgarry # The machine description file can be customised for your specific
10 1.47 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.47 gmcgarry #
12 1.47 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.47 gmcgarry # man page.
14 1.47 gmcgarry #
15 1.47 gmcgarry # For further information on hardware support for this architecture, see
16 1.47 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.47 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.47 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.47 gmcgarry # device.
20 1.1 ws
21 1.47 gmcgarry include "arch/ofppc/conf/std.ofppc"
22 1.23 hubertf
23 1.52 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.52 atatat
25 1.107 phx #ident "GENERIC-$Revision: 1.107 $"
26 1.1 ws
27 1.1 ws maxusers 32
28 1.1 ws
29 1.100 garbled options PIC_OPENPIC
30 1.100 garbled options PIC_I8259
31 1.106 garbled #options PIC_PREPIVR
32 1.100 garbled
33 1.1 ws # various hacks due to bugs in Openfirmware implementation
34 1.6 lukem options FIRMWORKSBUGS
35 1.1 ws
36 1.34 thorpej # Standard system options
37 1.34 thorpej #options INSECURE # disable kernel security checks
38 1.34 thorpej #options NTP # NTP phase/frequency locked loop
39 1.34 thorpej options KTRACE # system call tracing via ktrace(1)
40 1.93 christos #options SYSTRACE # system call vetting via systrace(1)
41 1.34 thorpej
42 1.34 thorpej options SYSVMSG # System V message queues
43 1.34 thorpej options SYSVSEM # System V semaphores
44 1.34 thorpej options SYSVSHM # System V shared memory
45 1.67 bouyer options P1003_1B_SEMAPHORE # p1003.1b semaphore support
46 1.34 thorpej
47 1.34 thorpej options LKM # loadable kernel modules
48 1.50 jdolecek
49 1.55 lukem options USERCONF # userconf(4) support
50 1.50 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
51 1.68 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
52 1.34 thorpej
53 1.34 thorpej # Diagnostic/debugging support options
54 1.85 chs #options DIAGNOSTIC # cheap kernel consistency checks
55 1.45 lukem #options DEBUG # expensive debugging checks/support
56 1.102 garbled #options KMEMSTATS # kernel memory statistics (vmstat -m)
57 1.34 thorpej options DDB # in-kernel debugger
58 1.34 thorpej options DDB_HISTORY_SIZE=512 # enable history editing in DDB
59 1.102 garbled options DDB_VERBOSE_HELP
60 1.34 thorpej options TRAP_PANICWAIT
61 1.1 ws
62 1.54 chs makeoptions DEBUG="-g" # compile full symbol table
63 1.5 thorpej
64 1.34 thorpej # Compatibility option
65 1.34 thorpej options COMPAT_09 # NetBSD 0.9,
66 1.34 thorpej options COMPAT_10 # NetBSD 1.0,
67 1.34 thorpej options COMPAT_11 # NetBSD 1.1,
68 1.34 thorpej options COMPAT_12 # NetBSD 1.2,
69 1.34 thorpej options COMPAT_13 # NetBSD 1.3,
70 1.34 thorpej options COMPAT_14 # NetBSD 1.4,
71 1.96 manu options COMPAT_15 # NetBSD 1.5,
72 1.76 simonb options COMPAT_16 # NetBSD 1.6,
73 1.76 simonb options COMPAT_20 # NetBSD 2.0,
74 1.82 christos options COMPAT_30 # NetBSD 3.0 compatibility.
75 1.34 thorpej options COMPAT_43 # and 4.3BSD
76 1.11 drochner options COMPAT_386BSD_MBRPART # recognize old partition ID
77 1.45 lukem #options COMPAT_LINUX # Linux binary compatibility
78 1.39 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
79 1.70 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
80 1.1 ws
81 1.34 thorpej # File systems
82 1.34 thorpej file-system FFS # UFS
83 1.34 thorpej file-system EXT2FS # second extended file system (linux)
84 1.34 thorpej file-system LFS # log-structured file system
85 1.34 thorpej file-system MFS # memory file system
86 1.34 thorpej file-system NFS # Network file System client
87 1.34 thorpej file-system CD9660 # ISO 9660 + Rock Ridge file system
88 1.34 thorpej file-system MSDOSFS # MS-DOS file system
89 1.34 thorpej file-system FDESC # /dev/fd
90 1.34 thorpej file-system KERNFS # /kern
91 1.34 thorpej file-system NULLFS # loopback file system
92 1.22 wrstuden file-system OVERLAY # overlay file system
93 1.34 thorpej file-system PORTAL # portal file system (still experimental)
94 1.34 thorpej file-system PROCFS # /proc
95 1.34 thorpej file-system UMAPFS # NULLFS + uid and gid remapping
96 1.34 thorpej file-system UNION # union file system
97 1.34 thorpej file-system NTFS # Windows NT file system
98 1.83 christos file-system PTYFS # /dev/pts/N support
99 1.97 jmmv #file-system TMPFS # Efficient memory file-system
100 1.88 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
101 1.34 thorpej
102 1.34 thorpej # File system options
103 1.34 thorpej options QUOTA # UFS quotas
104 1.34 thorpej options FFS_EI # FFS Endian Independent support
105 1.34 thorpej options SOFTDEP # FFS soft updates support
106 1.72 rumble #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
107 1.34 thorpej options NFSSERVER # Network File System server
108 1.86 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
109 1.45 lukem #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
110 1.45 lukem # immutable) behave as system flags.
111 1.34 thorpej
112 1.34 thorpej options NFS_BOOT_DHCP # Support DHCP NFS root
113 1.34 thorpej
114 1.34 thorpej # Networking options
115 1.34 thorpej #options GATEWAY # packet forwarding
116 1.34 thorpej options INET # IP + ICMP + TCP + UDP
117 1.21 itojun options INET6 # IPV6
118 1.21 itojun #options IPSEC # IP security
119 1.21 itojun #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
120 1.78 tron #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
121 1.21 itojun #options IPSEC_DEBUG # debug for IP security
122 1.45 lukem #options MROUTING # IP multicast routing
123 1.69 manu #options PIM # Protocol Independent Multicast
124 1.34 thorpej #options ISO,TPIP # OSI
125 1.34 thorpej #options EON # OSI tunneling over IP
126 1.34 thorpej #options NETATALK # AppleTalk networking protocols
127 1.34 thorpej options PPP_BSDCOMP # BSD-Compress compression support for PPP
128 1.34 thorpej options PPP_DEFLATE # Deflate compression support for PPP
129 1.34 thorpej options PPP_FILTER # Active filter support for PPP (requires BPF)
130 1.34 thorpej options PFIL_HOOKS # pfil(9) packet filter hooks
131 1.34 thorpej options IPFILTER_LOG # ipmon(8) log support
132 1.95 christos options IPFILTER_LOOKUP # ippool(8) support
133 1.57 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default
134 1.6 lukem options NMBCLUSTERS=1024
135 1.39 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
136 1.34 thorpej
137 1.66 abs #options ALTQ # Manipulate network interfaces' output queues
138 1.66 abs #options ALTQ_BLUE # Stochastic Fair Blue
139 1.66 abs #options ALTQ_CBQ # Class-Based Queueing
140 1.66 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
141 1.66 abs #options ALTQ_FIFOQ # First-In First-Out Queue
142 1.66 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
143 1.66 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
144 1.66 abs #options ALTQ_LOCALQ # Local queueing discipline
145 1.66 abs #options ALTQ_PRIQ # Priority Queueing
146 1.66 abs #options ALTQ_RED # Random Early Detection
147 1.66 abs #options ALTQ_RIO # RED with IN/OUT
148 1.66 abs #options ALTQ_WFQ # Weighted Fair Queueing
149 1.66 abs
150 1.102 garbled # These options enable verbose messages for several subsystems.
151 1.102 garbled # Warning, these may compile large string tables into the kernel!
152 1.102 garbled options MIIVERBOSE # verbose PHY autoconfig messages
153 1.102 garbled options PCIVERBOSE # verbose PCI device autoconfig messages
154 1.102 garbled #options PCI_CONFIG_DUMP # verbosely dump PCI config space
155 1.102 garbled options SCSIVERBOSE # human readable SCSI error messages
156 1.102 garbled options USBVERBOSE # verbose USB device autoconfig messages
157 1.102 garbled
158 1.100 garbled options WSEMUL_VT100
159 1.100 garbled options WS_DEFAULT_FG=WSCOL_BLACK
160 1.100 garbled options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
161 1.100 garbled options WS_KERNEL_FG=WSCOL_GREEN
162 1.100 garbled options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
163 1.107 phx #options FONT_GALLANT12x22
164 1.107 phx options FONT_BOLD8x16
165 1.100 garbled
166 1.34 thorpej # Kernel root file system and dump configuration
167 1.4 thorpej config netbsd root on ? type ?
168 1.1 ws
169 1.34 thorpej #
170 1.34 thorpej # Device configuration
171 1.34 thorpej #
172 1.34 thorpej
173 1.34 thorpej mainbus* at root
174 1.1 ws
175 1.106 garbled # CPUs
176 1.106 garbled cpu* at mainbus?
177 1.106 garbled
178 1.100 garbled # Generic OpenFirmware console support
179 1.104 garbled rtas* at mainbus?
180 1.40 matt
181 1.101 garbled # PCI root nodes
182 1.100 garbled ofwpci* at mainbus?
183 1.100 garbled pci* at ofwpci? bus ?
184 1.101 garbled pegasospci* at mainbus?
185 1.101 garbled pci* at pegasospci? bus ?
186 1.101 garbled
187 1.106 garbled # PCI bridges
188 1.100 garbled pchb* at pci? dev ? function ?
189 1.100 garbled ppb* at pci? dev ? function ?
190 1.100 garbled pcib* at pci? dev ? function ?
191 1.106 garbled
192 1.106 garbled # ISA bus support
193 1.106 garbled isa* at pcib?
194 1.106 garbled
195 1.106 garbled # Console Devices
196 1.105 garbled #genfb* at pci? dev ? function ?
197 1.106 garbled #pckbc0 at isa? # pc keyboard controller
198 1.106 garbled #pckbd* at pckbc? # PC keyboard
199 1.106 garbled #pms* at pckbc? # PS/2 mouse for wsmouse
200 1.106 garbled #wscons stuff
201 1.106 garbled #wskbd* at pckbd? console ?
202 1.106 garbled #wsmouse* at pms? mux 0
203 1.106 garbled # make sure the console display is always wsdisplay0 XXX Why?
204 1.105 garbled #wsdisplay0 at wsemuldisplaydev? console 1
205 1.105 garbled #wsdisplay* at wsemuldisplaydev?
206 1.1 ws
207 1.106 garbled attimer0 at isa? # AT Timer
208 1.106 garbled pcppi0 at isa? # PC prog. periph. interface
209 1.106 garbled # FIX ISABEEP LATER
210 1.106 garbled
211 1.106 garbled # Serial Devices
212 1.106 garbled # ISA serial interfaces
213 1.106 garbled com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
214 1.106 garbled com1 at isa? port 0x2f8 irq 3
215 1.1 ws
216 1.105 garbled # Parallel Printer Interfaces
217 1.105 garbled # ISA parallel printer interfaces
218 1.105 garbled lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
219 1.105 garbled
220 1.106 garbled # SCSI Controllers and Devices
221 1.106 garbled siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
222 1.106 garbled esiop* at pci? dev ? function ? # Symbios 53c875 SCSI and newer
223 1.106 garbled
224 1.106 garbled # SCSI bus support
225 1.106 garbled scsibus* at siop?
226 1.106 garbled scsibus* at esiop?
227 1.106 garbled
228 1.106 garbled # SCSI devices
229 1.106 garbled sd* at scsibus? target ? lun ? # SCSI disk drives
230 1.106 garbled st* at scsibus? target ? lun ? # SCSI tape drives
231 1.106 garbled cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
232 1.106 garbled #ch* at scsibus? target ? lun ? # SCSI autochangers
233 1.106 garbled #ss* at scsibus? target ? lun ? # SCSI scanners
234 1.106 garbled #uk* at scsibus? target ? lun ? # SCSI unknown
235 1.106 garbled
236 1.106 garbled # IDE and related devices
237 1.106 garbled # PCI IDE controllers
238 1.106 garbled pciide* at pci? dev ? function ? flags 0x0000
239 1.106 garbled viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
240 1.106 garbled
241 1.106 garbled # ATA (IDE) bus support
242 1.106 garbled atabus* at ata?
243 1.106 garbled
244 1.106 garbled # IDE drives
245 1.106 garbled # Flags are used only with controllers that support DMA operations
246 1.106 garbled # and mode settings (e.g. some pciide controllers)
247 1.106 garbled # The lowest order four bits (rightmost digit) of the flags define the PIO
248 1.106 garbled # mode to use, the next set of four bits the DMA mode and the third set the
249 1.106 garbled # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
250 1.106 garbled # to use, and the last bit must be 1 for this setting to be used.
251 1.106 garbled # For DMA and UDMA, 0xf (1111) means 'disable'.
252 1.106 garbled # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
253 1.106 garbled # (0xc=1100, 0xa=1010, 0xf=1111)
254 1.106 garbled # 0x0000 means "use whatever the drive claims to support".
255 1.106 garbled wd* at atabus? drive ? flags 0x0000
256 1.106 garbled
257 1.106 garbled # ATAPI bus support
258 1.106 garbled atapibus* at atapi?
259 1.106 garbled
260 1.106 garbled # ATAPI devices
261 1.106 garbled # flags have the same meaning as for IDE drives.
262 1.106 garbled cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
263 1.106 garbled sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
264 1.106 garbled uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
265 1.106 garbled
266 1.106 garbled # Network Interfaces
267 1.106 garbled ep* at pci? dev ? function ? # 3Com 3c59x
268 1.106 garbled ex* at pci? dev ? function ? # 3Com 3c90x[BC]
269 1.106 garbled fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
270 1.106 garbled ne* at pci? dev ? function ? # NE2000-compatible Ethernet
271 1.106 garbled pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
272 1.106 garbled rtk* at pci? dev ? function ? # Realtek 8129/8139
273 1.106 garbled sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
274 1.106 garbled tlp* at pci? dev ? function ? # DECchip 21x4x and clones
275 1.106 garbled vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
276 1.106 garbled
277 1.106 garbled # MII/PHY support
278 1.106 garbled acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
279 1.106 garbled amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
280 1.106 garbled bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
281 1.106 garbled brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
282 1.106 garbled ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
283 1.106 garbled dmphy* at mii? phy ? # Davicom DM9101 PHYs
284 1.106 garbled exphy* at mii? phy ? # 3Com internal PHYs
285 1.106 garbled gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
286 1.106 garbled glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
287 1.106 garbled gphyter* at mii? phy ? # NS83861 Gig-E PHY
288 1.106 garbled icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
289 1.106 garbled igphy* at mii? phy ? # Intel IGP01E1000
290 1.106 garbled ikphy* at mii? phy ? # Intel 82563 PHYs
291 1.106 garbled inphy* at mii? phy ? # Intel 82555 PHYs
292 1.106 garbled iophy* at mii? phy ? # Intel 82553 PHYs
293 1.106 garbled lxtphy* at mii? phy ? # Level One LXT-970 PHYs
294 1.106 garbled makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
295 1.106 garbled nsphy* at mii? phy ? # NS83840 PHYs
296 1.106 garbled nsphyter* at mii? phy ? # NS83843 PHYs
297 1.106 garbled pnaphy* at mii? phy ? # generic HomePNA PHYs
298 1.106 garbled qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
299 1.106 garbled rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
300 1.106 garbled rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
301 1.106 garbled sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
302 1.106 garbled tlphy* at mii? phy ? # ThunderLAN PHYs
303 1.106 garbled tqphy* at mii? phy ? # TDK Semiconductor PHYs
304 1.106 garbled ukphy* at mii? phy ? # generic unknown PHYs
305 1.106 garbled urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
306 1.106 garbled
307 1.1 ws
308 1.90 cube pseudo-device vnd # disk-like interface to files
309 1.79 hubertf #options VND_COMPRESSION # compressed vnd(4)
310 1.34 thorpej pseudo-device ccd 4 # concatenated/striped disk devices
311 1.59 elric #pseudo-device cgd 4 # cryptographic disk devices
312 1.99 tsutsui #pseudo-device raid 8 # RAIDframe disk driver
313 1.34 thorpej #options RAID_AUTOCONFIG # auto-configuration of RAID components
314 1.49 oster # Options to enable various other RAIDframe RAID types.
315 1.49 oster # options RF_INCLUDE_EVENODD=1
316 1.49 oster # options RF_INCLUDE_RAID5_RS=1
317 1.49 oster # options RF_INCLUDE_PARITYLOGGING=1
318 1.49 oster # options RF_INCLUDE_CHAINDECLUSTER=1
319 1.49 oster # options RF_INCLUDE_INTERDECLUSTER=1
320 1.49 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
321 1.49 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
322 1.73 hannken pseudo-device fss 4 # file system snapshot device
323 1.34 thorpej pseudo-device md 1 # memory disk device
324 1.34 thorpej pseudo-device loop # network loopback
325 1.89 rpaulo pseudo-device bpfilter # packet filter
326 1.92 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
327 1.34 thorpej pseudo-device ipfilter # IP Filter (firewall) and NAT
328 1.90 cube pseudo-device ppp # Point-to-Point Protocol
329 1.48 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
330 1.90 cube pseudo-device sl # Serial Line IP
331 1.90 cube pseudo-device tun # network tunneling over tty
332 1.71 cube pseudo-device tap # virtual Ethernet
333 1.90 cube #pseudo-device gre # generic L3 over IP tunnel
334 1.34 thorpej pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
335 1.34 thorpej #pseudo-device faith # IPv[46] tcp relay translation i/f
336 1.91 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
337 1.35 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
338 1.46 atatat pseudo-device bridge # simple inter-network bridging
339 1.60 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
340 1.98 martin pseudo-device agr # IEEE 802.3ad link aggregation
341 1.32 jdolecek pseudo-device pty # pseudo-terminals
342 1.33 itojun pseudo-device rnd # /dev/random and in-kernel generator
343 1.53 lukem pseudo-device clockctl # user control of clock subsystem
344 1.54 chs pseudo-device openfirm # /dev/openfirm
345 1.62 ragge pseudo-device ksyms # /dev/ksyms
346 1.107 phx pseudo-device wsmux # mouse and keyboard multiplexor
347 1.65 itojun #pseudo-device pf # PF packet filter
348 1.65 itojun #pseudo-device pflog # PF log if
349 1.54 chs
350 1.54 chs options FIREPOWER_ES # Firepower ES
351 1.54 chs options FIREPOWER_MX # Firepower MX
352 1.54 chs options FIREPOWER_LX # Firepower LX
353 1.87 elad
354 1.87 elad # Veriexec
355 1.87 elad #
356 1.87 elad # a pseudo device needed for veriexec
357 1.87 elad #pseudo-device veriexec 1
358 1.87 elad #
359 1.87 elad # Uncomment the fingerprint methods below that are desired. Note that
360 1.87 elad # removing fingerprint methods will have almost no impact on the kernel
361 1.87 elad # code size.
362 1.87 elad #
363 1.87 elad #options VERIFIED_EXEC_FP_RMD160
364 1.87 elad #options VERIFIED_EXEC_FP_SHA256
365 1.87 elad #options VERIFIED_EXEC_FP_SHA384
366 1.87 elad #options VERIFIED_EXEC_FP_SHA512
367 1.87 elad #options VERIFIED_EXEC_FP_SHA1
368 1.87 elad #options VERIFIED_EXEC_FP_MD5
369