GENERIC revision 1.9 1 # $NetBSD: GENERIC,v 1.9 2000/06/22 20:27:55 fvdl Exp $
2 #
3 # GENERIC -- everything that's currently supported
4 #
5
6 include "arch/prep/conf/std.prep"
7
8 #ident "GENERIC-$Revision: 1.9 $"
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 # Networking options
67 #options GATEWAY # packet forwarding
68 options INET # IP + ICMP + TCP + UDP
69 options INET6 # IPv6
70 #options IPSEC # IP security
71 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
72 #options IPSEC_DEBUG # debug for IP security
73 #options MROUTING # IP multicast routing
74 options NETATALK # AppleTalk networking protocols
75 options PPP_BSDCOMP # BSD-Compress compression support for PPP
76 options PPP_DEFLATE # Deflate compression support for PPP
77 options PPP_FILTER # Active filter support for PPP (requires bpf)
78 options PFIL_HOOKS # pfil(9) packet filter hooks
79 options IPFILTER_LOG # ipmon(8) log support
80
81 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
82 #options TCP_COMPAT_42
83
84 # These options enable verbose messages for several subsystems.
85 # Warning, these may compile large string tables into the kernel!
86 options MIIVERBOSE # verbose PHY autoconfig messages
87 options PCIVERBOSE # verbose PCI device autoconfig messages
88 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
89 options SCSIVERBOSE # human readable SCSI error messages
90 options USBVERBOSE # verbose USB device autoconfig messages
91
92 options NFS_BOOT_BOOTP
93 options NFS_BOOT_BOOTPARAM
94 options NFS_BOOT_DHCP
95
96 #
97 # wscons options
98 #
99 # builtin terminal emulations
100 options WSEMUL_VT100 # VT100 / VT220 emulation
101 # different kernel output - see dev/wscons/wsdisplayvar.h
102 options WS_KERNEL_FG=WSCOL_GREEN
103 #options WS_KERNEL_BG=WSCOL_BLACK
104 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
105 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
106 # allocate a number of virtual screens at autoconfiguration time
107 #options WSDISPLAY_DEFAULTSCREENS=4
108 # use a large software cursor that doesn't blink
109 options PCDISPLAY_SOFTCURSOR
110
111 # Kernel root file system and dump configuration.
112 config netbsd root on ? type ?
113 #config netbsd root on de0 type nfs
114 #config netbsd root on le0 type nfs
115
116 #
117 # Device configuration
118 #
119
120 mainbus0 at root
121 cpu0 at mainbus0
122
123 # Basic Bus Support
124
125 # PCI bus support
126 pci0 at mainbus0 bus ?
127 pci* at pchb? bus ?
128 pci* at ppb? bus ?
129
130 # PCI bridges
131 pchb* at pci? dev ? function ? # PCI-Host bridges
132 ppb* at pci? dev ? function ? # PCI-PCI bridges
133 pcib* at pci? dev ? function ? # PCI-ISA bridges
134
135 # ISA bus support
136 isa* at pcib? # ISA on PCI-ISA bridge
137
138 # Console Devices
139
140 # ISA console.
141 #pc0 at isa? port 0x60 irq 1 # generic PC console device
142
143 # Keyboard layout configuration for pccons
144 #options FRENCH_KBD
145 #options FINNISH_KBD
146 #options GERMAN_KBD
147 #options NORWEGIAN_KBD
148
149 # wscons
150 pckbc0 at isa? # pc keyboard controller
151 pckbd* at pckbc? # PC keyboard
152 pms* at pckbc? # PS/2 mouse for wsmouse
153 pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse
154 vga* at pci?
155 wsdisplay* at vga? console ?
156 wskbd* at pckbd? console ?
157 wsmouse* at pms? mux 0
158 wsmouse* at pmsi? mux 0
159
160 pcppi0 at isa? # PC prog. periph. interface
161 isabeep0 at pcppi? # "keyboard" beep
162
163 mcclock0 at isa? port 0x70 # mc146818 and compatible
164
165 # Serial Devices
166
167 # ISA serial interfaces
168 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
169 com1 at isa? port 0x2f8 irq 3
170
171 # Parallel Printer Interfaces
172
173 # ISA parallel printer interfaces
174 lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
175
176 # SCSI Controllers and Devices
177
178 # PCI SCSI controllers
179 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
180
181 # SCSI bus support
182 scsibus* at pcscp?
183
184 # SCSI devices
185 sd* at scsibus? target ? lun ? # SCSI disk drives
186 st* at scsibus? target ? lun ? # SCSI tape drives
187 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
188 ch* at scsibus? target ? lun ? # SCSI autochangers
189 ss* at scsibus? target ? lun ? # SCSI scanners
190 uk* at scsibus? target ? lun ? # SCSI unknown
191
192 # IDE and related devices
193
194 # ATAPI devices
195 # flags have the same meaning as for IDE drives.
196 #cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
197 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
198 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
199
200 # Network Interfaces
201
202 # PCI network interfaces
203 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
204 ep* at pci? dev ? function ? # 3Com 3c59x
205 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
206 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
207 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
208
209 # MII/PHY support
210 dmphy* at mii? phy ? # Davicom DM9101 PHYs
211 exphy* at mii? phy ? # 3Com internal PHYs
212 icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
213 inphy* at mii? phy ? # Intel 82555 PHYs
214 iophy* at mii? phy ? # Intel 82553 PHYs
215 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
216 nsphy* at mii? phy ? # NS83840 PHYs
217 nsphyter* at mii? phy ? # NS83843 PHYs
218 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
219 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
220 tlphy* at mii? phy ? # ThunderLAN PHYs
221 tqphy* at mii? phy ? # TDK Semiconductor PHYs
222 ukphy* at mii? phy ? # generic unknown PHYs
223
224 # USB Controller and Devices
225
226 # PCI USB controllers
227 uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
228 ohci* at pci? dev ? function ? # Open Host Controller
229
230 # USB bus support
231 usb* at uhci?
232 usb* at ohci?
233
234 # USB Hubs
235 uhub* at usb?
236 uhub* at uhub? port ? configuration ? interface ?
237
238 # USB Mice
239 ums* at uhub? port ? configuration ? interface ?
240 wsmouse* at ums? mux 0
241
242 # USB Keyboards
243 ukbd* at uhub? port ? configuration ? interface ?
244 wskbd* at ukbd? console ? mux 1
245
246 # USB Generic HID devices
247 uhid* at uhub? port ? configuration ? interface ?
248
249 # USB Printer
250 ulpt* at uhub? port ? configuration ? interface ?
251
252 # USB Modem
253 umodem* at uhub? port ? configuration ?
254 ucom* at umodem?
255
256 # USB Mass Storage
257 umass* at uhub? port ? configuration ? interface ?
258 scsibus* at umass? channel ?
259 #atapibus* at umass? channel ?
260
261 # USB audio
262 uaudio* at uhub? port ? configuration ?
263
264 # USB Ethernet adapters
265 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
266 cue* at uhub? port ? # CATC USB-EL1201A based adapters
267 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
268
269 # Prolofic PL2301/PL2302 host-to-host adapter
270 upl* at uhub? port ?
271
272 # Serial adapters
273 # FTDI FT8U100AX serial adapter
274 #uftdi* at uhub? port ?
275 #ucom* at uftdi? portno ?
276
277 # Diamond Multimedia Rio 500
278 urio* at uhub? port ?
279
280 # USB Handspring Visor
281 uvisor* at uhub? port ?
282 ucom* at uvisor?
283
284 # USB Generic driver
285 ugen* at uhub? port ?
286
287 # Audio device
288
289 # Audio support
290 audio* at uaudio?
291
292 # MIDI support
293 midi* at pcppi? # MIDI interface to the PC speaker
294
295 # The spkr driver provides a simple tone interface to the built in speaker.
296 spkr0 at pcppi? # PC speaker
297
298 # Joysticks
299
300 # ISA joysticks. Probe is a little strange; add only if you have one.
301 joy0 at isa? port 0x201
302
303 # Pseudo-Devices
304
305 # disk/mass storage pseudo-devices
306 pseudo-device ccd 4 # concatenated/striped disk devices
307 pseudo-device raid 4 # RAIDframe disk driver
308 #options RAID_AUTOCONFIG # auto-configuration of RAID components
309 pseudo-device md 1 # memory disk device (ramdisk)
310 pseudo-device vnd 4 # disk-like interface to files
311
312 # network pseudo-devices
313 pseudo-device loop # network loopback
314 pseudo-device bpfilter 8 # Berkeley packet filter
315 pseudo-device ipfilter # IP filter (firewall) and NAT
316 pseudo-device ppp 2 # Point-to-Point Protocol
317 pseudo-device sl 2 # Serial Line IP
318 pseudo-device strip 2 # Starmode Radio IP (Metricom)
319 pseudo-device tun 2 # network tunneling over tty
320 pseudo-device gre 2 # generic L3 over IP tunnel
321 pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
322 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
323 #pseudo-device faith 2 # IPv[46] tcp relay translation i/f
324 #pseudo-device stf 2 # 6to4 IPv6 over IPv4 encapsulation
325
326 # miscellaneous pseudo-devices
327 pseudo-device pty 64 # pseudo-terminals
328 pseudo-device tb 1 # tablet line discipline
329 pseudo-device sequencer 1 # MIDI sequencer
330 pseudo-device rnd # /dev/random and in-kernel generator
331 #options RND_COM # use "com" randomness as well
332
333 # a pseudo device needed for Coda # also needs CODA (above)
334 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
335
336 # mouse & keyboard multiplexor pseudo-devices
337 pseudo-device wsmux 2
338