GENERIC revision 1.7 1 # $NetBSD: GENERIC,v 1.7 2000/06/08 13:16:55 nonaka Exp $
2 #
3 # GENERIC -- everything that's currently supported
4 #
5
6 include "arch/prep/conf/std.prep"
7
8 #ident "GENERIC-$Revision: 1.7 $"
9
10 maxusers 32
11
12 # Standard system options
13
14 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
15 options NTP # NTP phase/frequency locked loop
16
17 options KTRACE # system call tracing via ktrace(1)
18
19 options SYSVMSG # System V-like message queues
20 options SYSVSEM # System V-like semaphores
21 options SYSVSHM # System V-like memory sharing
22 #options SHMMAXPGS=1024 # 1024 pages is the default
23
24 options LKM # loadable kernel modules
25
26 # Diagnostic/debugging support options
27 options DIAGNOSTIC # cheap kernel consistency checks
28 #options DEBUG # expensive debugging checks/support
29 #options KMEMSTATS # kernel memory statistics (vmstat -m)
30 options DDB # in-kernel debugger
31 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
32 #makeoptions DEBUG="-g"
33
34 # Compatibility options
35 options COMPAT_13 # NetBSD 1.3,
36 options COMPAT_14 # NetBSD 1.4,
37 options COMPAT_43 # and 4.3BSD
38
39 # File systems
40 file-system FFS # UFS
41 file-system EXT2FS # second extended file system (linux)
42 file-system LFS # log-structured file system
43 file-system MFS # memory file system
44 file-system NFS # Network File System client
45 file-system NTFS # Windows/NT file system (experimental)
46 file-system CD9660 # ISO 9660 + Rock Ridge file system
47 file-system MSDOSFS # MS-DOS file system
48 file-system FDESC # /dev/fd
49 file-system KERNFS # /kern
50 file-system NULLFS # loopback file system
51 file-system OVERLAY # overlay file system
52 file-system PORTAL # portal filesystem (still experimental)
53 file-system PROCFS # /proc
54 file-system UMAPFS # NULLFS + uid and gid remapping
55 file-system UNION # union file system
56 #file-system CODA # Coda File System; also needs vcoda (below)
57
58 # File system options
59 options QUOTA # UFS quotas
60 options FFS_EI # FFS Endian Independant support
61 #options SOFTDEP # FFS soft updates support.
62 options NFSSERVER # Network File System server
63 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
64 # immutable) behave as system flags.
65
66 # Pull in config fragments for kernel crypto. This is required for
67 # options IPSEC etc. to work. If you want to run with IPSEC, uncomment
68 # one of these, based on whether you use crypto-us or crypto-intl, and
69 # adjust the prefixes as necessary.
70
71 #prefix ../crypto-us/sys
72 #cinclude "conf/files.crypto-us"
73 #prefix
74
75 #prefix ../crypto-intl/sys
76 #cinclude "conf/files.crypto-intl"
77 #prefix
78
79 # Networking options
80 #options GATEWAY # packet forwarding
81 options INET # IP + ICMP + TCP + UDP
82 options INET6 # IPv6
83 #options IPSEC # IP security
84 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
85 #options IPSEC_DEBUG # debug for IP security
86 #options MROUTING # IP multicast routing
87 options NETATALK # AppleTalk networking protocols
88 options PPP_BSDCOMP # BSD-Compress compression support for PPP
89 options PPP_DEFLATE # Deflate compression support for PPP
90 options PPP_FILTER # Active filter support for PPP (requires bpf)
91 options PFIL_HOOKS # pfil(9) packet filter hooks
92 options IPFILTER_LOG # ipmon(8) log support
93
94 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
95 #options TCP_COMPAT_42
96
97 # These options enable verbose messages for several subsystems.
98 # Warning, these may compile large string tables into the kernel!
99 options MIIVERBOSE # verbose PHY autoconfig messages
100 options PCIVERBOSE # verbose PCI device autoconfig messages
101 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
102 options SCSIVERBOSE # human readable SCSI error messages
103 options USBVERBOSE # verbose USB device autoconfig messages
104
105 options NFS_BOOT_BOOTP
106 options NFS_BOOT_BOOTPARAM
107 options NFS_BOOT_DHCP
108
109 #
110 # wscons options
111 #
112 # builtin terminal emulations
113 options WSEMUL_VT100 # VT100 / VT220 emulation
114 # different kernel output - see dev/wscons/wsdisplayvar.h
115 options WS_KERNEL_FG=WSCOL_GREEN
116 #options WS_KERNEL_BG=WSCOL_BLACK
117 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
118 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
119 # allocate a number of virtual screens at autoconfiguration time
120 #options WSDISPLAY_DEFAULTSCREENS=4
121 # use a large software cursor that doesn't blink
122 options PCDISPLAY_SOFTCURSOR
123
124 # Kernel root file system and dump configuration.
125 config netbsd root on ? type ?
126 #config netbsd root on de0 type nfs
127 #config netbsd root on le0 type nfs
128
129 #
130 # Device configuration
131 #
132
133 mainbus0 at root
134 cpu0 at mainbus0
135
136 # Basic Bus Support
137
138 # PCI bus support
139 pci0 at mainbus0 bus ?
140 pci* at pchb? bus ?
141 pci* at ppb? bus ?
142
143 # PCI bridges
144 pchb* at pci? dev ? function ? # PCI-Host bridges
145 ppb* at pci? dev ? function ? # PCI-PCI bridges
146 pcib* at pci? dev ? function ? # PCI-ISA bridges
147
148 # ISA bus support
149 isa* at pcib? # ISA on PCI-ISA bridge
150
151 # Console Devices
152
153 # ISA console.
154 #pc0 at isa? port 0x60 irq 1 # generic PC console device
155
156 # Keyboard layout configuration for pccons
157 #options FRENCH_KBD
158 #options FINNISH_KBD
159 #options GERMAN_KBD
160 #options NORWEGIAN_KBD
161
162 # wscons
163 pckbc0 at isa? # pc keyboard controller
164 pckbd* at pckbc? # PC keyboard
165 pms* at pckbc? # PS/2 mouse for wsmouse
166 pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse
167 vga* at pci?
168 wsdisplay* at vga? console ?
169 wskbd* at pckbd? console ?
170 wsmouse* at pms? mux 0
171 wsmouse* at pmsi? mux 0
172
173 pcppi0 at isa? # PC prog. periph. interface
174 isabeep0 at pcppi? # "keyboard" beep
175
176 mcclock0 at isa? port 0x70 # mc146818 and compatible
177
178 # Serial Devices
179
180 # ISA serial interfaces
181 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
182 com1 at isa? port 0x2f8 irq 3
183
184 # Parallel Printer Interfaces
185
186 # ISA parallel printer interfaces
187 lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
188
189 # SCSI Controllers and Devices
190
191 # PCI SCSI controllers
192 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
193
194 # SCSI bus support
195 scsibus* at pcscp?
196
197 # SCSI devices
198 sd* at scsibus? target ? lun ? # SCSI disk drives
199 st* at scsibus? target ? lun ? # SCSI tape drives
200 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
201 ch* at scsibus? target ? lun ? # SCSI autochangers
202 ss* at scsibus? target ? lun ? # SCSI scanners
203 uk* at scsibus? target ? lun ? # SCSI unknown
204
205 # IDE and related devices
206
207 # ATAPI devices
208 # flags have the same meaning as for IDE drives.
209 #cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
210 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
211 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
212
213 # Network Interfaces
214
215 # PCI network interfaces
216 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
217 ep* at pci? dev ? function ? # 3Com 3c59x
218 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
219 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
220 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
221
222 # MII/PHY support
223 dmphy* at mii? phy ? # Davicom DM9101 PHYs
224 exphy* at mii? phy ? # 3Com internal PHYs
225 icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
226 inphy* at mii? phy ? # Intel 82555 PHYs
227 iophy* at mii? phy ? # Intel 82553 PHYs
228 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
229 nsphy* at mii? phy ? # NS83840 PHYs
230 nsphyter* at mii? phy ? # NS83843 PHYs
231 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
232 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
233 tlphy* at mii? phy ? # ThunderLAN PHYs
234 tqphy* at mii? phy ? # TDK Semiconductor PHYs
235 ukphy* at mii? phy ? # generic unknown PHYs
236
237 # USB Controller and Devices
238
239 # PCI USB controllers
240 uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
241 ohci* at pci? dev ? function ? # Open Host Controller
242
243 # USB bus support
244 usb* at uhci?
245 usb* at ohci?
246
247 # USB Hubs
248 uhub* at usb?
249 uhub* at uhub? port ? configuration ? interface ?
250
251 # USB Mice
252 ums* at uhub? port ? configuration ? interface ?
253 wsmouse* at ums? mux 0
254
255 # USB Keyboards
256 ukbd* at uhub? port ? configuration ? interface ?
257 wskbd* at ukbd? console ? mux 1
258
259 # USB Generic HID devices
260 uhid* at uhub? port ? configuration ? interface ?
261
262 # USB Printer
263 ulpt* at uhub? port ? configuration ? interface ?
264
265 # USB Modem
266 umodem* at uhub? port ? configuration ?
267 ucom* at umodem?
268
269 # USB Mass Storage
270 umass* at uhub? port ? configuration ? interface ?
271 scsibus* at umass? channel ?
272 #atapibus* at umass? channel ?
273
274 # USB audio
275 uaudio* at uhub? port ? configuration ?
276
277 # USB Ethernet adapters
278 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
279 cue* at uhub? port ? # CATC USB-EL1201A based adapters
280 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
281
282 # Prolofic PL2301/PL2302 host-to-host adapter
283 upl* at uhub? port ?
284
285 # Serial adapters
286 # FTDI FT8U100AX serial adapter
287 #uftdi* at uhub? port ?
288 #ucom* at uftdi? portno ?
289
290 # Diamond Multimedia Rio 500
291 urio* at uhub? port ?
292
293 # USB Handspring Visor
294 uvisor* at uhub? port ?
295 ucom* at uvisor?
296
297 # USB Generic driver
298 ugen* at uhub? port ?
299
300 # Audio device
301
302 # Audio support
303 audio* at uaudio?
304
305 # MIDI support
306 midi* at pcppi? # MIDI interface to the PC speaker
307
308 # The spkr driver provides a simple tone interface to the built in speaker.
309 spkr0 at pcppi? # PC speaker
310
311 # Joysticks
312
313 # ISA joysticks. Probe is a little strange; add only if you have one.
314 joy0 at isa? port 0x201
315
316 # Pseudo-Devices
317
318 # disk/mass storage pseudo-devices
319 pseudo-device ccd 4 # concatenated/striped disk devices
320 pseudo-device raid 4 # RAIDframe disk driver
321 #options RAID_AUTOCONFIG # auto-configuration of RAID components
322 pseudo-device md 1 # memory disk device (ramdisk)
323 pseudo-device vnd 4 # disk-like interface to files
324
325 # network pseudo-devices
326 pseudo-device loop # network loopback
327 pseudo-device bpfilter 8 # Berkeley packet filter
328 pseudo-device ipfilter # IP filter (firewall) and NAT
329 pseudo-device ppp 2 # Point-to-Point Protocol
330 pseudo-device sl 2 # Serial Line IP
331 pseudo-device strip 2 # Starmode Radio IP (Metricom)
332 pseudo-device tun 2 # network tunneling over tty
333 pseudo-device gre 2 # generic L3 over IP tunnel
334 pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
335 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
336 #pseudo-device faith 2 # IPv[46] tcp relay translation i/f
337 #pseudo-device stf 2 # 6to4 IPv6 over IPv4 encapsulation
338
339 # miscellaneous pseudo-devices
340 pseudo-device pty 64 # pseudo-terminals
341 pseudo-device tb 1 # tablet line discipline
342 pseudo-device sequencer 1 # MIDI sequencer
343 pseudo-device rnd # /dev/random and in-kernel generator
344 #options RND_COM # use "com" randomness as well
345
346 # a pseudo device needed for Coda # also needs CODA (above)
347 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
348
349 # mouse & keyboard multiplexor pseudo-devices
350 pseudo-device wsmux 2
351