GENERIC revision 1.60 1 # $NetBSD: GENERIC,v 1.60 2011/08/11 20:56:34 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.60 $"
26
27 maxusers 32
28
29 #options ALTIVEC # Include AltiVec support
30
31 #options IPKDBUSERHACK # Allow access to mapped memory via kgdb
32 #options DEBUG_BY_TOOLS # Allow debugging from toolsnet
33 # HMAC key to be used for debugging sessions
34 #options IPKDBKEY="\"HMAC pass phrase text\""
35 #options IPKDBSECURE # Allow debugging even when securelevel > 0
36 #makeoptions DEBUG="-g"
37
38 #options MODULAR # module(7) support
39
40 #options DEBUG
41 #options DIAGNOSTIC
42 options TRAP_PANICWAIT
43 options DDB
44 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
45 options KTRACE
46 #options PMAPCHECK
47 #options PMAPDEBUG
48 #options SYMTAB_SPACE=300000
49 #options USERCONF # userconf(4) support
50 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
51 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
52
53 # Compatibility options
54 options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
55 options COMPAT_09 # NetBSD 0.9
56 options COMPAT_10 # NetBSD 1.0
57 options COMPAT_11 # NetBSD 1.1
58 options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
59 options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
60 options COMPAT_14 # NetBSD 1.4
61 options COMPAT_15 # NetBSD 1.5
62 options COMPAT_16 # NetBSD 1.6
63 options COMPAT_20 # NetBSD 2.0
64 options COMPAT_30 # NetBSD 3.0
65 options COMPAT_40 # NetBSD 4.0
66 options COMPAT_50 # NetBSD 5.0 compatibility.
67 options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
68 #options COMPAT_386BSD_MBRPART # recognize old partition ID
69 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
70
71 options COMPAT_LINUX # binary compatibility with Linux
72 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
73
74 options MSGBUFSIZE=65536
75
76 file-system FFS # UFS
77 file-system EXT2FS # second extended file system (linux)
78 #file-system LFS # log-structured file system
79 file-system MFS # memory file system
80 file-system NFS # Network File System client
81 #file-system NTFS # Windows/NT file system (experimental)
82 #file-system CD9660 # ISO 9660 + Rock Ridge file system
83 file-system MSDOSFS # MS-DOS file system
84 file-system FDESC # /dev/fd
85 file-system KERNFS # /kern
86 file-system NULLFS # loopback file system
87 #file-system OVERLAY # overlay file system
88 file-system PROCFS # /proc
89 #file-system UMAPFS # NULLFS + uid and gid remapping
90 #file-system UNION # union file system
91 #file-system CODA # Coda File System; also needs vcoda (below)
92 #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
93 file-system PTYFS # /dev/ptm support
94 file-system TMPFS # Efficient memory file-system
95
96 # File system options
97 options QUOTA # legacy UFS quotas
98 options QUOTA2 # new, in-filesystem UFS quotas
99 #options FFS_EI # FFS Endian Independent support
100 options WAPBL # File system journaling support - Experimental
101 options NFSSERVER # Network File System server
102 #options FFS_NO_SNAPSHOT # No FFS snapshot support
103 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
104
105 # Networking options
106 #options GATEWAY # packet forwarding
107 options INET # IP + ICMP + TCP + UDP
108 options INET6 # IPV6
109 #options IPSEC # IP security
110 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
111 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
112 #options IPSEC_DEBUG # debug for IP security
113 #options MROUTING # IP multicast routing
114 #options PIM # Protocol Independent Multicast
115 #options ISO,TPIP # OSI
116 #options EON # OSI tunneling over IP
117 #options NETATALK # AppleTalk networking protocols
118 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
119 #options PPP_DEFLATE # Deflate compression support for PPP
120 #options PPP_FILTER # Active filter support for PPP (requires BPF)
121 #options PFIL_HOOKS # pfil(9) packet filter hooks
122 #options IPFILTER_LOG # ipmon(8) log support
123 #options IPFILTER_LOOKUP # ippool(8) support
124 #options IPFILTER_COMPAT # Compat for IP-Filter
125 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
126 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
127
128 #options ALTQ # Manipulate network interfaces' output queues
129 #options ALTQ_BLUE # Stochastic Fair Blue
130 #options ALTQ_CBQ # Class-Based Queueing
131 #options ALTQ_CDNR # Diffserv Traffic Conditioner
132 #options ALTQ_FIFOQ # First-In First-Out Queue
133 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
134 #options ALTQ_HFSC # Hierarchical Fair Service Curve
135 #options ALTQ_LOCALQ # Local queueing discipline
136 #options ALTQ_PRIQ # Priority Queueing
137 #options ALTQ_RED # Random Early Detection
138 #options ALTQ_RIO # RED with IN/OUT
139 #options ALTQ_WFQ # Weighted Fair Queueing
140
141 options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
142
143 config netbsd root on ? type ?
144
145 # network pseudo-devices
146 pseudo-device bpfilter # packet filter
147 pseudo-device vlan # IEEE 802.1q encapsulation
148 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
149 #pseudo-device bridge # simple inter-network bridging
150 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
151 #pseudo-device ipfilter
152 pseudo-device loop
153
154 # miscellaneous pseudo-devices
155 pseudo-device rnd # /dev/random and in-kernel generator
156 pseudo-device vnd
157 #options VND_COMPRESSION # compressed vnd(4)
158 #pseudo-device cgd 4 # cryptographic disk devices
159 pseudo-device pty
160 pseudo-device clockctl # user control of clock subsystem
161 pseudo-device ksyms # /dev/ksyms
162 #pseudo-device pf # PF packet filter
163 #pseudo-device pflog # PF log if
164 pseudo-device fss # file system snapshot device
165
166 #
167 # device
168 #
169 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
170
171 #options PCIVERBOSE # verbose PCI device messages
172 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
173 #options PCI_NETBSD_CONFIGURE # Have NetBSD configure PCI I/O & Mem
174
175 mainbus0 at root
176
177 cpu* at mainbus0
178 pci* at mainbus0 bus ?
179
180 pchb* at pci? dev ? function ? # PCI host bridge
181
182 eumb* at mainbus0
183 com0 at eumb? unit 0 # console at 0x4500
184 #com1 at eumb? unit 1
185 satmgr0 at eumb? unit 1 # satmgr at 0x4600
186 ociic* at eumb?
187 iic* at ociic?
188 dsrtc* at iic? addr 0x68
189 rs5c372rtc* at iic? addr 0x32
190 s390rtc* at iic? addr 0x30
191 strtc* at iic? addr 0x68
192 options STRTC_NO_WATCHDOG
193 options STRTC_NO_USERRAM
194
195 # PCI IDE controllers - see pciide(4) for supported hardware.
196 acardide* at pci? dev ? function ? # Acard IDE controllers
197 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
198 iteide* at pci? dev ? function ? # IT Express IDE controllers
199 satalink* at pci? dev ? function ? # SiI SATALink controllers
200 viaide* at pci? dev ? function ? # VIA IDE controllers
201
202 # ATA (IDE) bus support
203 atabus* at ata?
204
205 # IDE drives
206 wd* at atabus? drive ? flags 0x0000 # the drives themselves
207
208 # PCI network interfaces
209 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
210 ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g
211 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
212 skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet
213 sk* at skc? # Marvell Yukon Gigabit Ethernet
214 stge* at pci? dev ? function ? # Sundance ST1023 Gigabit
215 tlp* at pci? dev ? function ? # DEC Tulip and similar
216 wm* at pci? dev ? function ? # Intel 8254x Gigabit Ethernet
217
218 inphy* at mii? phy ? # Intel 82555 PHYs
219 nsphy* at mii? phy ? # NS83840 PHYs
220 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
221 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
222 ukphy* at mii? phy ? # generic unknown PHYs
223
224 # USB Controller and Devices
225 ehci* at pci? dev ? function ? # Enhanced Host Controller
226 ohci* at pci? dev ? function ? # Open Host Controller
227
228 # USB bus support
229 usb* at ehci?
230 usb* at ohci?
231
232 # USB Hubs
233 uhub* at usb?
234 uhub* at uhub? port ?
235
236 # USB HID devices
237 uhidev* at uhub? port ? configuration ? interface ? # USB HID device
238 uthum* at uhidev? reportid ? # TEMPerHUM sensors
239 uhid* at uhidev? reportid ? # USB Generic HID
240
241 # USB video
242 uvideo* at uhub? # USB Video Class capture devices
243 video* at videobus?
244
245 # USB printer
246 ulpt* at uhub? port ? configuration ? interface ? # USB Printer
247
248 # USB Mass Storage
249 umass* at uhub? port ? configuration ? interface ?
250 wd* at umass?
251
252 scsibus* at umass?
253 sd* at scsibus? target ? lun ? # SCSI disk drives
254
255 # Veriexec
256 #
257 # a pseudo device needed for veriexec
258 #pseudo-device veriexec 1
259 #
260 # Uncomment the fingerprint methods below that are desired. Note that
261 # removing fingerprint methods will have almost no impact on the kernel
262 # code size.
263 #
264 #options VERIFIED_EXEC_FP_RMD160
265 #options VERIFIED_EXEC_FP_SHA256
266 #options VERIFIED_EXEC_FP_SHA384
267 #options VERIFIED_EXEC_FP_SHA512
268 #options VERIFIED_EXEC_FP_SHA1
269 #options VERIFIED_EXEC_FP_MD5
270