GENERIC revision 1.47 1 # $NetBSD: GENERIC,v 1.47 2010/05/17 22:52:17 phx 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/sandpoint/conf/std.sandpoint"
22 options PIC_I8259
23
24 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
25
26 #ident "GENERIC-$Revision: 1.47 $"
27
28 maxusers 32
29
30 options ALTIVEC # Include AltiVec support
31
32 #options IPKDBUSERHACK # Allow access to mapped memory via kgdb
33 #options DEBUG_BY_TOOLS # Allow debugging from toolsnet
34 # HMAC key to be used for debugging sessions
35 #options IPKDBKEY="\"HMAC pass phrase text\""
36 #options IPKDBSECURE # Allow debugging even when securelevel > 0
37 #makeoptions DEBUG="-g"
38
39 #options DEBUG
40 options DIAGNOSTIC
41 options TRAP_PANICWAIT
42 options DDB
43 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
44 options KTRACE
45 #options PMAPCHECK
46 #options PMAPDEBUG
47 #options SYMTAB_SPACE=300000
48 #options USERCONF # userconf(4) support
49 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
50 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
51
52 # Compatibility options
53 options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
54 options COMPAT_09 # NetBSD 0.9
55 options COMPAT_10 # NetBSD 1.0
56 options COMPAT_11 # NetBSD 1.1
57 options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
58 options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
59 options COMPAT_14 # NetBSD 1.4
60 options COMPAT_15 # NetBSD 1.5
61 options COMPAT_16 # NetBSD 1.6
62 options COMPAT_20 # NetBSD 2.0
63 options COMPAT_30 # NetBSD 3.0
64 options COMPAT_40 # NetBSD 4.0
65 options COMPAT_50 # NetBSD 5.0 compatibility.
66 options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
67 #options COMPAT_386BSD_MBRPART # recognize old partition ID
68 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
69
70 options COMPAT_LINUX # binary compatibility with Linux
71 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
72
73 options MSGBUFSIZE=65536
74
75 file-system FFS # UFS
76 file-system EXT2FS # second extended file system (linux)
77 #file-system LFS # log-structured file system
78 file-system MFS # memory file system
79 file-system NFS # Network File System client
80 #file-system NTFS # Windows/NT file system (experimental)
81 #file-system CD9660 # ISO 9660 + Rock Ridge file system
82 #file-system MSDOSFS # MS-DOS file system
83 file-system FDESC # /dev/fd
84 file-system KERNFS # /kern
85 file-system NULLFS # loopback file system
86 #file-system OVERLAY # overlay file system
87 #file-system PROCFS # /proc
88 #file-system UMAPFS # NULLFS + uid and gid remapping
89 #file-system UNION # union file system
90 #file-system CODA # Coda File System; also needs vcoda (below)
91 #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
92 file-system PTYFS # /dev/ptm support
93 file-system TMPFS # Efficient memory file-system
94
95 # File system options
96 options QUOTA # UFS quotas
97 #options FFS_EI # FFS Endian Independent support
98 options WAPBL # File system journaling support - Experimental
99 options NFSSERVER # Network File System server
100 #options FFS_NO_SNAPSHOT # No FFS snapshot support
101 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
102
103 options INET
104 options INET6 # IPV6
105 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
106
107 #options ALTQ # Manipulate network interfaces' output queues
108 #options ALTQ_BLUE # Stochastic Fair Blue
109 #options ALTQ_CBQ # Class-Based Queueing
110 #options ALTQ_CDNR # Diffserv Traffic Conditioner
111 #options ALTQ_FIFOQ # First-In First-Out Queue
112 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
113 #options ALTQ_HFSC # Hierarchical Fair Service Curve
114 #options ALTQ_LOCALQ # Local queueing discipline
115 #options ALTQ_PRIQ # Priority Queueing
116 #options ALTQ_RED # Random Early Detection
117 #options ALTQ_RIO # RED with IN/OUT
118 #options ALTQ_WFQ # Weighted Fair Queueing
119
120 options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
121
122 config netbsd root on ? type ?
123
124 # network psuedo-devices
125 pseudo-device bpfilter # packet filter
126 pseudo-device vlan # IEEE 802.1q encapsulation
127 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
128 #pseudo-device bridge # simple inter-network bridging
129 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
130 #pseudo-device ipfilter
131 pseudo-device loop
132
133 # mouse & keyboard multiplexor pseudo-devices
134 #pseudo-device wsmux
135
136 #
137 # accept filters
138 pseudo-device accf_data # "dataready" accept filter
139 pseudo-device accf_http # "httpready" accept filter
140
141 # miscellaneous pseudo-devices
142 pseudo-device rnd # /dev/random and in-kernel generator
143 pseudo-device vnd
144 #options VND_COMPRESSION # compressed vnd(4)
145 #pseudo-device cgd 4 # cryptographic disk devices
146 pseudo-device pty
147 pseudo-device clockctl # user control of clock subsystem
148 pseudo-device ksyms # /dev/ksyms
149 #pseudo-device pf # PF packet filter
150 #pseudo-device pflog # PF log if
151
152 #
153 # device
154 #
155 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
156
157 options PCIVERBOSE # verbose PCI device messages
158 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
159 options PCI_NETBSD_CONFIGURE # Have NetBSD configure PCI I/O & Mem
160
161 mainbus0 at root
162
163 cpu* at mainbus0
164 pci* at mainbus0 bus ?
165
166 pchb* at pci? dev ? function ? # PCI host bridge
167 pcib* at pci? dev ? function ? # Winbond 83C553 PCI-ISA bridges
168
169 eumb* at mainbus0
170 com* at eumb?
171 ociic* at eumb?
172 iic* at ociic?
173
174 isa* at pcib? # ISA on PCI-ISA bridge
175
176 mcclock0 at isa? port 0x70 # time-of-day clock
177
178 # PCI IDE controllers - see pciide(4) for supported hardware.
179 #pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
180 slide* at pci? dev ? function ? # 83C533 IDE controllers
181 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
182 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
183 iteide* at pci? dev ? function ? # IT Express IDE controllers
184 satalink* at pci? dev ? function ? # SiI SATALink controllers
185
186 # ATA (IDE) bus support
187 atabus* at ata?
188
189 # IDE drives
190 wd* at atabus? drive ? flags 0x0000 # the drives themselves
191
192 #vga* at pci? dev ? function ?
193
194 # PCI network interfaces
195 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
196 tlp* at pci? dev ? function ? # DEC Tulip and similar
197 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
198 skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet
199 sk* at skc? # Marvell Yukon Gigabit Ethernet
200 wm* at pci? dev ? function ? # Intel 8254x gigabit
201
202 inphy* at mii? phy ? # Intel 82555 PHYs
203 nsphy* at mii? phy ? # NS83840 PHYs
204 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
205 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
206 ukphy* at mii? phy ? # generic unknown PHYs
207
208 # USB Controller and Devices
209 ehci* at pci? dev ? function ? # Enhanced Host Controller
210 ohci* at pci? dev ? function ? # Open Host Controller
211 uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
212
213 # USB bus support
214 usb* at ehci?
215 usb* at ohci?
216 usb* at uhci?
217
218 # USB Hubs
219 uhub* at usb?
220 uhub* at uhub? port ?
221
222 # USB Mass Storage
223 umass* at uhub? port ? configuration ? interface ?
224 wd* at umass?
225
226 pckbc0 at isa? # PS/2 keyboard controller
227 pckbd* at pckbc? # PC keyboard
228 pms* at pckbc? # PS/2 mouse for wsmouse
229 #wsdisplay* at vga? console ?
230 wskbd* at pckbd? console ?
231 wsmouse* at pms? mux 0
232
233 attimer0 at isa?
234 pcppi0 at isa?
235 midi* at pcppi? # MIDI interface to the PC speaker
236 #sysbeep0 at pcppi?
237
238 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
239 com1 at isa? port 0x2f8 irq 3
240
241 #lpt0 at isa? port 0x278 irq 7 # standard PC parallel ports
242 #fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
243 #fd* at fdc? drive ? # the drives themselves
244
245 scsibus* at umass?
246
247 sd* at scsibus? target ? lun ? # SCSI disk drives
248
249 # Veriexec
250 #
251 # a pseudo device needed for veriexec
252 #pseudo-device veriexec 1
253 #
254 # Uncomment the fingerprint methods below that are desired. Note that
255 # removing fingerprint methods will have almost no impact on the kernel
256 # code size.
257 #
258 #options VERIFIED_EXEC_FP_RMD160
259 #options VERIFIED_EXEC_FP_SHA256
260 #options VERIFIED_EXEC_FP_SHA384
261 #options VERIFIED_EXEC_FP_SHA512
262 #options VERIFIED_EXEC_FP_SHA1
263 #options VERIFIED_EXEC_FP_MD5
264