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 6include "arch/prep/conf/std.prep" 7 8#ident "GENERIC-$Revision: 1.7 $" 9 10maxusers 32 11 12# Standard system options 13 14options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 15options NTP # NTP phase/frequency locked loop 16 17options KTRACE # system call tracing via ktrace(1) 18 19options SYSVMSG # System V-like message queues 20options SYSVSEM # System V-like semaphores 21options SYSVSHM # System V-like memory sharing 22#options SHMMAXPGS=1024 # 1024 pages is the default 23 24options LKM # loadable kernel modules 25 26# Diagnostic/debugging support options 27options DIAGNOSTIC # cheap kernel consistency checks 28#options DEBUG # expensive debugging checks/support 29#options KMEMSTATS # kernel memory statistics (vmstat -m) 30options DDB # in-kernel debugger 31#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 32#makeoptions DEBUG="-g" 33 34# Compatibility options 35options COMPAT_13 # NetBSD 1.3, 36options COMPAT_14 # NetBSD 1.4, 37options COMPAT_43 # and 4.3BSD 38 39# File systems 40file-system FFS # UFS 41file-system EXT2FS # second extended file system (linux) 42file-system LFS # log-structured file system 43file-system MFS # memory file system 44file-system NFS # Network File System client 45file-system NTFS # Windows/NT file system (experimental) 46file-system CD9660 # ISO 9660 + Rock Ridge file system 47file-system MSDOSFS # MS-DOS file system 48file-system FDESC # /dev/fd 49file-system KERNFS # /kern 50file-system NULLFS # loopback file system 51file-system OVERLAY # overlay file system 52file-system PORTAL # portal filesystem (still experimental) 53file-system PROCFS # /proc 54file-system UMAPFS # NULLFS + uid and gid remapping 55file-system UNION # union file system 56#file-system CODA # Coda File System; also needs vcoda (below) 57 58# File system options 59options QUOTA # UFS quotas 60options FFS_EI # FFS Endian Independant support 61#options SOFTDEP # FFS soft updates support. 62options 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 81options INET # IP + ICMP + TCP + UDP 82options 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 87options NETATALK # AppleTalk networking protocols 88options PPP_BSDCOMP # BSD-Compress compression support for PPP 89options PPP_DEFLATE # Deflate compression support for PPP 90options PPP_FILTER # Active filter support for PPP (requires bpf) 91options PFIL_HOOKS # pfil(9) packet filter hooks 92options 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! 99options MIIVERBOSE # verbose PHY autoconfig messages 100options PCIVERBOSE # verbose PCI device autoconfig messages 101#options PCI_CONFIG_DUMP # verbosely dump PCI config space 102options SCSIVERBOSE # human readable SCSI error messages 103options USBVERBOSE # verbose USB device autoconfig messages 104 105options NFS_BOOT_BOOTP 106options NFS_BOOT_BOOTPARAM 107options NFS_BOOT_DHCP 108 109# 110# wscons options 111# 112# builtin terminal emulations 113options WSEMUL_VT100 # VT100 / VT220 emulation 114# different kernel output - see dev/wscons/wsdisplayvar.h 115options 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 122options PCDISPLAY_SOFTCURSOR 123 124# Kernel root file system and dump configuration. 125config 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 133mainbus0 at root 134cpu0 at mainbus0 135 136# Basic Bus Support 137 138# PCI bus support 139pci0 at mainbus0 bus ? 140pci* at pchb? bus ? 141pci* at ppb? bus ? 142 143# PCI bridges 144pchb* at pci? dev ? function ? # PCI-Host bridges 145ppb* at pci? dev ? function ? # PCI-PCI bridges 146pcib* at pci? dev ? function ? # PCI-ISA bridges 147 148# ISA bus support 149isa* 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 163pckbc0 at isa? # pc keyboard controller 164pckbd* at pckbc? # PC keyboard 165pms* at pckbc? # PS/2 mouse for wsmouse 166pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse 167vga* at pci? 168wsdisplay* at vga? console ? 169wskbd* at pckbd? console ? 170wsmouse* at pms? mux 0 171wsmouse* at pmsi? mux 0 172 173pcppi0 at isa? # PC prog. periph. interface 174isabeep0 at pcppi? # "keyboard" beep 175 176mcclock0 at isa? port 0x70 # mc146818 and compatible 177 178# Serial Devices 179 180# ISA serial interfaces 181com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 182com1 at isa? port 0x2f8 irq 3 183 184# Parallel Printer Interfaces 185 186# ISA parallel printer interfaces 187lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports 188 189# SCSI Controllers and Devices 190 191# PCI SCSI controllers 192pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 193 194# SCSI bus support 195scsibus* at pcscp? 196 197# SCSI devices 198sd* at scsibus? target ? lun ? # SCSI disk drives 199st* at scsibus? target ? lun ? # SCSI tape drives 200cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 201ch* at scsibus? target ? lun ? # SCSI autochangers 202ss* at scsibus? target ? lun ? # SCSI scanners 203uk* 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 216de* at pci? dev ? function ? # DEC 21x4x-based Ethernet 217ep* at pci? dev ? function ? # 3Com 3c59x 218#le* at pci? dev ? function ? # PCnet-PCI Ethernet 219ne* at pci? dev ? function ? # NE2000-compatible Ethernet 220vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 221 222# MII/PHY support 223dmphy* at mii? phy ? # Davicom DM9101 PHYs 224exphy* at mii? phy ? # 3Com internal PHYs 225icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 226inphy* at mii? phy ? # Intel 82555 PHYs 227iophy* at mii? phy ? # Intel 82553 PHYs 228lxtphy* at mii? phy ? # Level One LXT-970 PHYs 229nsphy* at mii? phy ? # NS83840 PHYs 230nsphyter* at mii? phy ? # NS83843 PHYs 231qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 232sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 233tlphy* at mii? phy ? # ThunderLAN PHYs 234tqphy* at mii? phy ? # TDK Semiconductor PHYs 235ukphy* at mii? phy ? # generic unknown PHYs 236 237# USB Controller and Devices 238 239# PCI USB controllers 240uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 241ohci* at pci? dev ? function ? # Open Host Controller 242 243# USB bus support 244usb* at uhci? 245usb* at ohci? 246 247# USB Hubs 248uhub* at usb? 249uhub* at uhub? port ? configuration ? interface ? 250 251# USB Mice 252ums* at uhub? port ? configuration ? interface ? 253wsmouse* at ums? mux 0 254 255# USB Keyboards 256ukbd* at uhub? port ? configuration ? interface ? 257wskbd* at ukbd? console ? mux 1 258 259# USB Generic HID devices 260uhid* at uhub? port ? configuration ? interface ? 261 262# USB Printer 263ulpt* at uhub? port ? configuration ? interface ? 264 265# USB Modem 266umodem* at uhub? port ? configuration ? 267ucom* at umodem? 268 269# USB Mass Storage 270umass* at uhub? port ? configuration ? interface ? 271scsibus* at umass? channel ? 272#atapibus* at umass? channel ? 273 274# USB audio 275uaudio* at uhub? port ? configuration ? 276 277# USB Ethernet adapters 278aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 279cue* at uhub? port ? # CATC USB-EL1201A based adapters 280kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 281 282# Prolofic PL2301/PL2302 host-to-host adapter 283upl* 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 291urio* at uhub? port ? 292 293# USB Handspring Visor 294uvisor* at uhub? port ? 295ucom* at uvisor? 296 297# USB Generic driver 298ugen* at uhub? port ? 299 300# Audio device 301 302# Audio support 303audio* at uaudio? 304 305# MIDI support 306midi* at pcppi? # MIDI interface to the PC speaker 307 308# The spkr driver provides a simple tone interface to the built in speaker. 309spkr0 at pcppi? # PC speaker 310 311# Joysticks 312 313# ISA joysticks. Probe is a little strange; add only if you have one. 314joy0 at isa? port 0x201 315 316# Pseudo-Devices 317 318# disk/mass storage pseudo-devices 319pseudo-device ccd 4 # concatenated/striped disk devices 320pseudo-device raid 4 # RAIDframe disk driver 321#options RAID_AUTOCONFIG # auto-configuration of RAID components 322pseudo-device md 1 # memory disk device (ramdisk) 323pseudo-device vnd 4 # disk-like interface to files 324 325# network pseudo-devices 326pseudo-device loop # network loopback 327pseudo-device bpfilter 8 # Berkeley packet filter 328pseudo-device ipfilter # IP filter (firewall) and NAT 329pseudo-device ppp 2 # Point-to-Point Protocol 330pseudo-device sl 2 # Serial Line IP 331pseudo-device strip 2 # Starmode Radio IP (Metricom) 332pseudo-device tun 2 # network tunneling over tty 333pseudo-device gre 2 # generic L3 over IP tunnel 334pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 335pseudo-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 340pseudo-device pty 64 # pseudo-terminals 341pseudo-device tb 1 # tablet line discipline 342pseudo-device sequencer 1 # MIDI sequencer 343pseudo-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 350pseudo-device wsmux 2 351