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