GENERIC revision 1.67 1 # $NetBSD: GENERIC,v 1.67 2012/01/23 01:58:54 phx Exp $
2 #
3 # machine description file for GENERIC NAS
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/sandpoint/conf/std.sandpoint"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.67 $"
26
27 maxusers 32
28
29 #options ALTIVEC # Include AltiVec support
30
31 # Standard system options
32 #options INSECURE # disable kernel security levels
33
34 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
35 options KTRACE
36
37 #options SYSVMSG # System V message queues
38 #options SYSVSEM # System V semaphores
39 #options SYSVSHM # System V shared memory
40 #options P1003_1B_SEMAPHORE # p1003.1b semaphore support
41
42 #options MODULAR # module(7) support
43 #options USERCONF # userconf(4) support
44
45 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
46 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
47
48 # Enable experimental buffer queue strategy for better responsiveness under
49 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
50 #options BUFQ_READPRIO
51 #options BUFQ_PRIOCSCAN
52
53 # Diagnostic/debugging support options
54 #options DIAGNOSTIC # cheap kernel consistency checks
55 #options DEBUG # expensive debugging checks/support
56 options DDB
57 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
58 #options TRAP_PANICWAIT
59 #options PMAPCHECK
60 #options PMAPDEBUG
61 #options SYMTAB_SPACE=300000
62 options MSGBUFSIZE=65536
63
64 #makeoptions DEBUG="-g"
65
66 # Compatibility options
67 options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
68 options COMPAT_09 # NetBSD 0.9
69 options COMPAT_10 # NetBSD 1.0
70 options COMPAT_11 # NetBSD 1.1
71 options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
72 options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
73 options COMPAT_14 # NetBSD 1.4
74 options COMPAT_15 # NetBSD 1.5
75 options COMPAT_16 # NetBSD 1.6
76 options COMPAT_20 # NetBSD 2.0
77 options COMPAT_30 # NetBSD 3.0
78 options COMPAT_40 # NetBSD 4.0
79 options COMPAT_50 # NetBSD 5.0 compatibility.
80 options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
81 #options COMPAT_386BSD_MBRPART # recognize old partition ID
82 #options COMPAT_LINUX # binary compatibility with Linux
83 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
84 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
85
86 # Wedge support
87 #options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
88 #options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
89 # The following two options can break /etc/fstab, so handle with care
90 #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
91 #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
92
93 # File systems
94 file-system FFS # UFS
95 file-system EXT2FS # second extended file system (linux)
96 #file-system LFS # log-structured file system
97 file-system MFS # memory file system
98 file-system NFS # Network File System client
99 #file-system NTFS # Windows/NT file system (experimental)
100 #file-system CD9660 # ISO 9660 + Rock Ridge file system
101 file-system MSDOSFS # MS-DOS file system
102 file-system FDESC # /dev/fd
103 file-system KERNFS # /kern
104 file-system NULLFS # loopback file system
105 #file-system OVERLAY # overlay file system
106 file-system PROCFS # /proc
107 #file-system UMAPFS # NULLFS + uid and gid remapping
108 #file-system UNION # union file system
109 #file-system CODA # Coda File System; also needs vcoda (below)
110 #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
111 file-system PTYFS # /dev/ptm support
112 file-system TMPFS # Efficient memory file-system
113
114 # File system options
115 options QUOTA # legacy UFS quotas
116 options QUOTA2 # new, in-filesystem UFS quotas
117 #options FFS_EI # FFS Endian Independent support
118 options WAPBL # File system journaling support
119 options NFSSERVER # Network File System server
120 #options FFS_NO_SNAPSHOT # No FFS snapshot support
121 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
122
123 #options NFS_BOOT_DHCP
124 options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
125
126 # Networking options
127 #options GATEWAY # packet forwarding
128 options INET # IP + ICMP + TCP + UDP
129 options INET6 # IPV6
130 #options IPSEC # IP security
131 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
132 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
133 #options IPSEC_DEBUG # debug for IP security
134 #options MROUTING # IP multicast routing
135 #options PIM # Protocol Independent Multicast
136 #options ISO,TPIP # OSI
137 #options EON # OSI tunneling over IP
138 #options NETATALK # AppleTalk networking protocols
139 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
140 #options PPP_DEFLATE # Deflate compression support for PPP
141 #options PPP_FILTER # Active filter support for PPP (requires BPF)
142 #options PFIL_HOOKS # pfil(9) packet filter hooks
143 #options IPFILTER_LOG # ipmon(8) log support
144 #options IPFILTER_LOOKUP # ippool(8) support
145 #options IPFILTER_COMPAT # Compat for IP-Filter
146 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
147 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
148
149 #options ALTQ # Manipulate network interfaces' output queues
150 #options ALTQ_BLUE # Stochastic Fair Blue
151 #options ALTQ_CBQ # Class-Based Queueing
152 #options ALTQ_CDNR # Diffserv Traffic Conditioner
153 #options ALTQ_FIFOQ # First-In First-Out Queue
154 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
155 #options ALTQ_HFSC # Hierarchical Fair Service Curve
156 #options ALTQ_LOCALQ # Local queueing discipline
157 #options ALTQ_PRIQ # Priority Queueing
158 #options ALTQ_RED # Random Early Detection
159 #options ALTQ_RIO # RED with IN/OUT
160 #options ALTQ_WFQ # Weighted Fair Queueing
161
162 # These options enable verbose messages for several subsystems.
163 # Warning, these may compile large string tables into the kernel!
164 #options PCIVERBOSE # verbose PCI device autoconfig messages
165 #options MIIVERBOSE # verbose PHY autoconfig messages
166 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
167 #options SCSIVERBOSE # human readable SCSI error messages
168 #options USBVERBOSE # verbose USB device autoconfig messages
169
170 # Kernel root file system and dump configuration
171 config netbsd root on ? type ?
172
173 #
174 # Device configuration
175 #
176 mainbus0 at root
177 cpu* at mainbus0
178
179 #cfi0 at mainbus0
180 #nor* at cfi?
181 #flash* at nor?
182
183 nhpow0 at mainbus0 # NH230/231 power,LED,buttons
184
185 #options PCI_NETBSD_CONFIGURE
186 pci* at mainbus0 bus ?
187 pchb* at pci? dev ? function ? # PCI host bridge
188
189 eumb* at mainbus0
190 com0 at eumb? unit 0 # console at 0x4500
191 #com1 at eumb? unit 1
192 satmgr0 at eumb? unit 1 # satmgr at 0x4600
193 ociic* at eumb?
194 iic* at ociic?
195 rs5c372rtc* at iic? addr 0x32
196 s390rtc* at iic? addr 0x30
197 pcf8563rtc* at iic? addr 0x51
198 dsrtc* at iic? addr 0x68
199 strtc* at iic? addr 0x68
200 options STRTC_NO_WATCHDOG
201 options STRTC_NO_USERRAM
202
203 # PCI IDE controllers - see pciide(4) for supported hardware.
204 acardide* at pci? dev ? function ? # Acard IDE controllers
205 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
206 iteide* at pci? dev ? function ? # IT Express IDE controllers
207 satalink* at pci? dev ? function ? # SiI SATALink controllers
208 viaide* at pci? dev ? function ? # VIA IDE controllers
209
210 # ATA (IDE) bus support
211 atabus* at ata?
212
213 # IDE drives
214 wd* at atabus? drive ? flags 0x0000 # the drives themselves
215
216 # PCI network interfaces
217 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
218 ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g
219 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
220 skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet
221 sk* at skc? # Marvell Yukon Gigabit Ethernet
222 stge* at pci? dev ? function ? # Sundance ST1023 Gigabit
223 tlp* at pci? dev ? function ? # DEC Tulip and similar
224 wm* at pci? dev ? function ? # Intel 8254x Gigabit Ethernet
225
226 inphy* at mii? phy ? # Intel 82555 PHYs
227 nsphy* at mii? phy ? # NS83840 PHYs
228 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
229 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
230 ukphy* at mii? phy ? # generic unknown PHYs
231
232 # GPIO devices
233 gpio* at gpiobus?
234
235 # USB Controller and Devices
236 ehci* at pci? dev ? function ? # Enhanced Host Controller
237 ohci* at pci? dev ? function ? # Open Host Controller
238
239 # USB bus support
240 usb* at ehci?
241 usb* at ohci?
242
243 # USB Hubs
244 uhub* at usb?
245 uhub* at uhub? port ?
246
247 # USB HID devices
248 uhidev* at uhub? port ? configuration ? interface ? # USB HID device
249 uthum* at uhidev? reportid ? # TEMPerHUM sensors
250 uhid* at uhidev? reportid ? # USB Generic HID
251
252 # USB video
253 uvideo* at uhub? # USB Video Class capture devices
254 video* at videobus?
255
256 # USB printer
257 ulpt* at uhub? port ? configuration ? interface ? # USB Printer
258
259 # USB Mass Storage
260 umass* at uhub? port ? configuration ? interface ?
261 wd* at umass?
262
263 scsibus* at umass?
264 sd* at scsibus? target ? lun ? # SCSI disk drives
265
266
267 #
268 # accept filters
269 #pseudo-device accf_data # "dataready" accept filter
270 #pseudo-device accf_http # "httpready" accept filter
271
272 # network pseudo-devices
273 pseudo-device loop
274 pseudo-device bpfilter # packet filter
275 #pseudo-device ppp # Point-to-Point Protocol
276 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
277 #pseudo-device bridge # simple inter-network bridging
278 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
279 #pseudo-device ipfilter
280 #pseudo-device pf # PF packet filter
281 #pseudo-device pflog # PF log if
282 #pseudo-device sl # Serial Line IP
283 #pseudo-device vlan # IEEE 802.1q encapsulation
284 #pseudo-device tun # network tunneling over tty
285 #pseudo-device tap # virtual Ethernet
286 #pseudo-device gre # generic L3 over IP tunnel
287 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
288 #pseudo-device faith # IPv[46] tcp relay translation i/f
289 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
290 pseudo-device vlan # IEEE 802.1q encapsulation
291 #pseudo-device bridge # simple inter-network bridging
292 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
293 #pseudo-device agr # IEEE 802.3ad link aggregation
294 #pseudo-device carp # Common Address Redundancy Protocol
295
296 # miscellaneous pseudo-devices
297 pseudo-device vnd
298 #options VND_COMPRESSION # compressed vnd(4)
299 #pseudo-device ccd 4 # concatenated/striped disk devices
300 #pseudo-device cgd 4 # cryptographic disk devices
301 pseudo-device raid 8 # RAIDframe disk driver
302 options RAID_AUTOCONFIG # auto-configuration of RAID components
303 # Options to enable various other RAIDframe RAID types.
304 #options RF_INCLUDE_EVENODD=1
305 #options RF_INCLUDE_RAID5_RS=1
306 #options RF_INCLUDE_PARITYLOGGING=1
307 #options RF_INCLUDE_CHAINDECLUSTER=1
308 #options RF_INCLUDE_INTERDECLUSTER=1
309 #options RF_INCLUDE_PARITY_DECLUSTERING=1
310 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
311 pseudo-device pty
312 pseudo-device clockctl # user control of clock subsystem
313 pseudo-device ksyms # /dev/ksyms
314 #pseudo-device nsmb # SMB requester
315 pseudo-device fss # file system snapshot device
316 #pseudo-device putter # for puffs and pud
317
318 # userland interface to drivers, including autoconf and properties retrieval
319 pseudo-device drvctl
320
321 # Veriexec
322 #
323 # a pseudo device needed for veriexec
324 #pseudo-device veriexec 1
325 #
326 # Uncomment the fingerprint methods below that are desired. Note that
327 # removing fingerprint methods will have almost no impact on the kernel
328 # code size.
329 #
330 #options VERIFIED_EXEC_FP_RMD160
331 #options VERIFIED_EXEC_FP_SHA256
332 #options VERIFIED_EXEC_FP_SHA384
333 #options VERIFIED_EXEC_FP_SHA512
334 #options VERIFIED_EXEC_FP_SHA1
335 #options VERIFIED_EXEC_FP_MD5
336
337 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
338