GENERIC revision 1.3
1# $NetBSD: GENERIC,v 1.3 2000/03/25 04:13:54 nonaka Exp $ 2# 3# GENERIC -- everything that's currently supported 4# 5 6include "arch/prep/conf/std.prep" 7 8#ident "GENERIC-$Revision: 1.3 $" 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 56file-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 61options 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 PCIVERBOSE # verbose PCI device autoconfig messages 100#options PCI_CONFIG_DUMP # verbosely dump PCI config space 101options SCSIVERBOSE # human readable SCSI error messages 102 103options NFS_BOOT_BOOTP 104options NFS_BOOT_BOOTPARAM 105options NFS_BOOT_DHCP 106 107# 108# wscons options 109# 110# builtin terminal emulations 111options WSEMUL_VT100 # VT100 / VT220 emulation 112# different kernel output - see dev/wscons/wsdisplayvar.h 113options WS_KERNEL_FG=WSCOL_GREEN 114#options WS_KERNEL_BG=WSCOL_BLACK 115# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 116#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 117# allocate a number of virtual screens at autoconfiguration time 118#options WSDISPLAY_DEFAULTSCREENS=4 119# use a large software cursor that doesn't blink 120options PCDISPLAY_SOFTCURSOR 121 122# Kernel root file system and dump configuration. 123config netbsd root on ? type ? 124#config netbsd root on de0 type nfs 125#config netbsd root on le0 type nfs 126 127# 128# Device configuration 129# 130 131mainbus0 at root 132cpu0 at mainbus0 133 134# Basic Bus Support 135 136# PCI bus support 137pci0 at mainbus0 bus ? 138pci* at pchb? bus ? 139pci* at ppb? bus ? 140 141# PCI bridges 142pchb* at pci? dev ? function ? # PCI-Host bridges 143pcib* at pci? dev ? function ? # PCI-ISA bridges 144 145# ISA bus support 146isa* at pcib? # ISA on PCI-ISA bridge 147 148# Console Devices 149 150# ISA console. 151#pc0 at isa? port 0x60 irq 1 # generic PC console device 152 153# Keyboard layout configuration for pccons 154#options FRENCH_KBD 155#options FINNISH_KBD 156#options GERMAN_KBD 157#options NORWEGIAN_KBD 158 159# wscons 160pckbc0 at isa? # pc keyboard controller 161pckbd* at pckbc? # PC keyboard 162pms* at pckbc? # PS/2 mouse for wsmouse 163pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse 164vga* at pci? 165wsdisplay* at vga? console ? 166wskbd* at pckbd? console ? 167wsmouse* at pms? mux 0 168wsmouse* at pmsi? mux 0 169 170pcppi0 at isa? # PC prog. periph. interface 171isabeep0 at pcppi? # "keyboard" beep 172 173mcclock0 at isa? port 0x70 # mc146818 and compatible 174 175# Serial Devices 176 177# ISA serial interfaces 178com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 179com1 at isa? port 0x2f8 irq 3 180 181# Parallel Printer Interfaces 182 183# ISA parallel printer interfaces 184lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports 185 186# SCSI Controllers and Devices 187 188# PCI SCSI controllers 189pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 190 191# SCSI devices 192sd* at scsibus? target ? lun ? # SCSI disk drives 193st* at scsibus? target ? lun ? # SCSI tape drives 194cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 195ch* at scsibus? target ? lun ? # SCSI autochangers 196ss* at scsibus? target ? lun ? # SCSI scanners 197uk* at scsibus? target ? lun ? # SCSI unknown 198 199# Network Interfaces 200 201# PCI network interfaces 202de* at pci? dev ? function ? # DEC 21x4x-based Ethernet 203ep* at pci? dev ? function ? # 3Com 3c59x 204#le* at pci? dev ? function ? # PCnet-PCI Ethernet 205ne* at pci? dev ? function ? # NE2000-compatible Ethernet 206vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 207 208# MII/PHY support 209ukphy* at mii? phy ? # generic unknown PHYs 210 211# Audio device 212 213# MIDI support 214midi* at pcppi? # MIDI interface to the PC speaker 215 216# The spkr driver provides a simple tone interface to the built in speaker. 217spkr0 at pcppi? # PC speaker 218 219# Joysticks 220 221# ISA joysticks. Probe is a little strange; add only if you have one. 222joy0 at isa? port 0x201 223 224# Pseudo-Devices 225 226# disk/mass storage pseudo-devices 227pseudo-device ccd 4 # concatenated/striped disk devices 228pseudo-device raid 4 # RAIDframe disk driver 229#options RAID_AUTOCONFIG # auto-configuration of RAID components 230pseudo-device md 1 # memory disk device (ramdisk) 231pseudo-device vnd 4 # disk-like interface to files 232 233# network pseudo-devices 234pseudo-device loop # network loopback 235pseudo-device bpfilter 8 # Berkeley packet filter 236pseudo-device ipfilter # IP filter (firewall) and NAT 237pseudo-device ppp 2 # Point-to-Point Protocol 238pseudo-device sl 2 # Serial Line IP 239pseudo-device strip 2 # Starmode Radio IP (Metricom) 240pseudo-device tun 2 # network tunneling over tty 241pseudo-device gre 2 # generic L3 over IP tunnel 242pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 243pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 244#pseudo-device faith 2 # IPv[46] tcp relay translation i/f 245 246# miscellaneous pseudo-devices 247pseudo-device pty 64 # pseudo-terminals 248#pseudo-device tb 1 # tablet line discipline 249pseudo-device sequencer 1 # MIDI sequencer 250#pseudo-device rnd # /dev/random and in-kernel generator 251#options RND_COM # use "com" randomness as well 252 253# a pseudo device needed for Coda # also needs CODA (above) 254pseudo-device vcoda 4 # coda minicache <-> venus comm. 255 256# mouse & keyboard multiplexor pseudo-devices 257pseudo-device wsmux 2 258