GENERIC revision 1.29
11.29Sitojun# $NetBSD: GENERIC,v 1.29 2000/04/19 06:50:29 itojun Exp $ 21.27Ssoda# $OpenBSD: GENERIC,v 1.29 1999/08/29 12:14:03 niklas Exp $ 31.1Sjonathan# 41.27Ssoda# GENERIC -- everything that's currently supported 51.1Sjonathan# 61.1Sjonathan 71.23Ssodainclude "arch/arc/conf/std.arc" 81.24Ssoda 91.29Sitojun#ident "GENERIC-$Revision: 1.29 $" 101.1Sjonathan 111.27Ssodamaxusers 32 # estimated number of users 121.27Ssoda 131.27Ssoda# Standard system options 141.1Sjonathan 151.23Ssodaoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 161.27Ssodaoptions NTP # NTP phase/frequency locked loop 171.1Sjonathan 181.27Ssodaoptions KTRACE # system call tracing via ktrace(1) 191.1Sjonathan 201.10Slukemoptions SYSVMSG # System V-like message queues 211.10Slukemoptions SYSVSEM # System V-like semaphores 221.10Slukemoptions SYSVSHM # System V-like memory sharing 231.27Ssoda#options SHMMAXPGS=1024 # 1024 pages is the default 241.27Ssoda 251.27Ssodaoptions LKM # loadable kernel modules 261.27Ssoda 271.27Ssoda# Diagnostic/debugging support options 281.27Ssodaoptions DIAGNOSTIC # cheap kernel consistency checks 291.27Ssoda#options DEBUG # expensive debugging checks/support 301.27Ssoda#options KMEMSTATS # kernel memory statistics (vmstat -m) 311.27Ssodaoptions DDB # in-kernel debugger 321.27Ssoda#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 331.27Ssoda#options KGDB # remote gdb 341.27Ssoda#options KGDBRATE=19200 # kernel gdb port rate (default 9600) 351.27Ssoda#options KGDBDEV="17*256+0" # device for kernel gdb 361.27Ssoda#makeoptions DEBUG="-g" # compile full symbol table 371.27Ssoda 381.27Ssoda# Compatibility options 391.27Ssodaoptions COMPAT_10 # NetBSD 1.0, 401.27Ssodaoptions COMPAT_11 # NetBSD 1.1, 411.27Ssodaoptions COMPAT_12 # NetBSD 1.2, 421.27Ssodaoptions COMPAT_13 # NetBSD 1.3, 431.27Ssodaoptions COMPAT_14 # NetBSD 1.4, 441.27Ssodaoptions COMPAT_43 # and 4.3BSD 451.27Ssodaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 461.27Ssoda 471.27Ssoda# mipsel specific 481.27Ssodaoptions COMPAT_ULTRIX # Ultrix binary compatibility 491.27Ssodaoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 501.1Sjonathan 511.27Ssoda# File systems 521.6Sthorpejfile-system FFS # fast filesystem 531.27Ssodafile-system EXT2FS # second extended file system (linux) 541.27Ssodafile-system LFS # log-structured file system 551.27Ssodafile-system MFS # memory file system 561.27Ssodafile-system NTFS # Windows/NT file system (experimental) 571.23Ssodafile-system CD9660 # ISO 9660 + Rock Ridge file system 581.27Ssodafile-system MSDOSFS # MS-DOS file system 591.27Ssodafile-system NFS # Network File System client 601.27Ssodafile-system FDESC # /dev/fd 611.27Ssodafile-system KERNFS # /kern 621.27Ssodafile-system NULLFS # loopback file system 631.27Ssodafile-system OVERLAY # overlay file system 641.27Ssodafile-system PORTAL # portal filesystem (still experimental) 651.27Ssodafile-system PROCFS # /proc 661.27Ssodafile-system UMAPFS # NULLFS + uid and gid remapping 671.27Ssodafile-system UNION # union file system 681.27Ssoda#file-system CODA # Coda File System; also needs vcoda (below) 691.6Sthorpej 701.27Ssoda# File system options 711.10Slukemoptions QUOTA # FFS quotas 721.27Ssoda#options FFS_EI # FFS Endian Independent support 731.25Ssoda#options SOFTDEP # FFS soft updates support. 741.27Ssodaoptions NFSSERVER # Network File System server 751.27Ssoda#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 761.27Ssoda # immutable) behave as system flags. 771.1Sjonathan 781.20Sitojun# Pull in config fragments for kernel crypto. This is required for 791.20Sitojun# options IPSEC etc. to work. If you want to run with IPSEC, uncomment 801.20Sitojun# one of these, based on whether you use crypto-us or crypto-intl, and 811.20Sitojun# adjust the prefixes as necessary. 821.20Sitojun 831.20Sitojun#prefix ../crypto-us/sys 841.20Sitojun#cinclude "conf/files.crypto-us" 851.20Sitojun#prefix 861.20Sitojun 871.20Sitojun#prefix ../crypto-intl/sys 881.20Sitojun#cinclude "conf/files.crypto-intl" 891.20Sitojun#prefix 901.20Sitojun 911.1Sjonathan# Networking options 921.23Ssoda#options GATEWAY # IP packet forwarding 931.27Ssodaoptions INET # IP + ICMP + TCP + UDP 941.27Ssodaoptions INET6 # IPV6 951.20Sitojun#options IPSEC # IP security 961.20Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 971.20Sitojun#options IPSEC_DEBUG # debug for IP security 981.27Ssoda#options MROUTING # IP multicast routing 991.27Ssodaoptions NS # XNS 1001.27Ssoda#options NSIP # XNS tunneling over IP 1011.27Ssodaoptions ISO,TPIP # OSI networking 1021.27Ssodaoptions EON # OSI tunneling over IP 1031.27Ssodaoptions CCITT,LLC,HDLC # X.25 1041.27Ssodaoptions NETATALK # AppleTalk networking protocols 1051.27Ssodaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1061.27Ssodaoptions PPP_DEFLATE # Deflate compression support for PPP 1071.27Ssodaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1081.27Ssodaoptions PFIL_HOOKS # pfil(9) packet filter hooks 1091.27Ssodaoptions IPFILTER_LOG # ipmon(8) log support 1101.27Ssoda 1111.27Ssoda# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 1121.27Ssoda#options TCP_COMPAT_42 1131.27Ssoda 1141.27Ssoda# These options enable verbose messages for several subsystems. 1151.27Ssoda# Warning, these may compile large string tables into the kernel! 1161.27Ssoda#options EISAVERBOSE # verbose EISA device autoconfig messages 1171.27Ssoda#options PCIVERBOSE # verbose PCI device autoconfig messages 1181.28Scgd#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1191.27Ssodaoptions SCSIVERBOSE # human readable SCSI error messages 1201.23Ssoda 1211.25Ssoda# Kernel root file system and dump configuration. 1221.27Ssodaoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1231.27Ssodaconfig netbsd root on ? type ? 1241.27Ssoda#config netbsd root on sd0a type ffs 1251.27Ssoda#config netbsd root on ? type nfs 1261.1Sjonathan 1271.23Ssoda# 1281.27Ssoda# Device configuration 1291.23Ssoda# 1301.27Ssoda 1311.1Sjonathanmainbus0 at root 1321.1Sjonathancpu* at mainbus0 1331.1Sjonathan 1341.27Ssoda#### Pica bus devices 1351.23Ssoda 1361.23Ssodapica* at mainbus0 # ACER Pica systems local bus. 1371.27Ssodaaclock0 at pica? 1381.1Sjonathanpc0 at pica? 1391.23Ssodaopms0 at pica? 1401.23Ssodacom0 at pica? 1411.23Ssodacom1 at pica? 1421.1Sjonathanlpt0 at pica? 1431.1Sjonathansn0 at pica? 1441.1Sjonathan 1451.1Sjonathanfdc0 at pica? 1461.1Sjonathanfd* at fdc? drive ? 1471.1Sjonathan 1481.1Sjonathanasc0 at pica? 1491.1Sjonathanscsibus* at asc? 1501.1Sjonathan 1511.27Ssoda#### ISA bus devices 1521.23Ssoda 1531.27Ssodaisabr* at mainbus0 # ISA Bus bridge (std ISA bus). 1541.23Ssodaisa* at isabr? 1551.27Ssoda#isadma0 at isa? 1561.23Ssoda 1571.27Ssodaaclock0 at isa? port 0x70 irq 0 1581.23Ssoda 1591.25Ssodapc0 at isa? port 0x60 irq 1 # generic PC console device 1601.23Ssodacom0 at isa? port 0x3f8 irq 4 1611.23Ssodacom1 at isa? port 0x2f8 irq 3 1621.23Ssodacom2 at isa? port 0x3e8 irq 4 1631.23Ssodacom3 at isa? port 0x2e8 irq 3 1641.27Ssodaast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 1651.27Ssodacom* at ast? slave ? 1661.27Ssoda 1671.27Ssoda# Joystick driver. Probe is a little strange; add only if you have one. 1681.27Ssoda#joy0 at isa? port 0x201 1691.23Ssoda 1701.23Ssoda# ISA ST506, ESDI, and IDE controllers 1711.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 1721.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional). 1731.23Ssoda# Some controllers pass the initial 32bit test, but will fail later. 1741.23Ssoda# XXX - should be configured 1751.27Ssoda#wdc0 at isa? port 0x1f0 irq 14 flags 0x00 1761.27Ssoda#wdc1 at isa? port 0x170 irq 15 flags 0x00 1771.27Ssoda#wdc* at isapnp? 1781.23Ssoda 1791.23Ssoda# IDE drives 1801.23Ssoda# Flags are used only with controllers that support DMA operations 1811.23Ssoda# and mode settings (e.g. some pciide controllers) 1821.23Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO 1831.23Ssoda# mode to use, the next set of four bits the DMA mode and the third set the 1841.23Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 1851.23Ssoda# to use, and the last bit must be 1 for this setting to be used. 1861.23Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'. 1871.23Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 1881.23Ssoda# (0xc=1100, 0xa=1010, 0xf=1111) 1891.23Ssoda# 0x0000 means "use whatever the drive claims to support". 1901.23Ssoda# XXX - should be configured 1911.27Ssoda#wd* at wdc? channel ? drive ? flags 0x0000 1921.23Ssoda 1931.23Ssoda# ATAPI bus support 1941.23Ssoda# XXX - should be configured 1951.27Ssoda#atapibus* at wdc? channel ? 1961.23Ssoda 1971.23Ssoda# ATAPI devices 1981.23Ssoda# flags have the same meaning as for IDE drives. 1991.23Ssoda# XXX - should be configured 2001.27Ssoda#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2011.27Ssoda#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2021.27Ssoda#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2031.27Ssoda 2041.27Ssoda# ISA parallel printer interfaces 2051.27Ssodalpt0 at isa? port 0x378 irq 7 2061.27Ssoda 2071.27Ssoda# ISA network interfaces 2081.27Ssoda# XXX - should be configured 2091.27Ssoda#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 2101.27Ssoda#ep0 at isa? port ? irq ? # 3C509 ethernet cards 2111.27Ssoda#ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 2121.27Ssoda#ne1 at isa? port 0x300 irq 10 2131.27Ssoda#ne* at isapnp? # NE[12]000 PnP ethernet 2141.27Ssoda#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 2151.27Ssoda#we1 at isa? port 0x300 iomem 0xcc000 irq 10 2161.27Ssoda#we* at isapnp? 2171.23Ssoda 2181.27Ssoda# XXX - should be configured 2191.27Ssoda#btl0 at isa? port 0x330 irq ? drq ? 2201.27Ssoda#scsibus* at btl? 2211.23Ssoda 2221.27Ssoda#### Algor bus devices 2231.23Ssoda 2241.27Ssoda#algor* at mainbus0 # Algorithmics local bus. 2251.23Ssoda 2261.27Ssoda#aclock0 at algor? 2271.27Ssoda#com0 at algor? 2281.27Ssoda#com1 at algor? 2291.27Ssoda#lpt0 at algor? 2301.23Ssoda 2311.27Ssoda#### PCI bus devices 2321.23Ssoda 2331.27Ssoda#pbcpcibr* at mainbus0 # Algorithmics PCI bus bridge. 2341.27Ssoda#pci* at pbcpcibr? 2351.23Ssoda 2361.27Ssoda#pcivga* at pci? dev ? function ? 2371.27Ssoda#ncr* at pci? dev ? function ? 2381.27Ssoda#scsibus* at ncr? 2391.27Ssoda#de* at pci? dev ? function ? 2401.23Ssoda 2411.27Ssoda#### SCSI bus devices 2421.23Ssoda 2431.1Sjonathansd* at scsibus? target ? lun ? 2441.1Sjonathanst* at scsibus? target ? lun ? 2451.1Sjonathancd* at scsibus? target ? lun ? 2461.23Ssodach* at scsibus? target ? lun ? 2471.23Ssodass* at scsibus? target ? lun ? 2481.23Ssodauk* at scsibus? target ? lun ? 2491.23Ssoda 2501.27Ssoda#### Pseudo devices 2511.1Sjonathan 2521.27Ssoda# disk/mass storage pseudo-devices 2531.27Ssodapseudo-device ccd 4 # concatenated/striped disk devices 2541.27Ssoda#pseudo-device raid 4 # RAIDframe disk driver 2551.27Ssodapseudo-device md 1 # memory disk device (ramdisk) 2561.27Ssodapseudo-device vnd 4 # disk-like interface to files 2571.27Ssoda 2581.27Ssoda# network pseudo-devices 2591.27Ssodapseudo-device bpfilter 8 # Berkeley packet filter 2601.27Ssodapseudo-device ipfilter # IP filter (firewall) and NAT 2611.27Ssodapseudo-device loop 1 # network loopback 2621.27Ssodapseudo-device ppp 2 # Point-to-Point Protocol 2631.27Ssodapseudo-device sl 2 # Serial Line IP 2641.27Ssoda#pseudo-device strip 2 # Starmode Radio IP (Metricom) 2651.27Ssodapseudo-device tun 2 # network tunneling over tty 2661.23Ssoda#pseudo-device gre 2 # generic L3 over IP tunnel 2671.27Ssodapseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 2681.20Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2691.20Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2701.29Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2711.23Ssoda 2721.27Ssoda# miscellaneous pseudo-devices 2731.27Ssodapseudo-device pty 64 # pseudo-terminals 2741.27Ssodapseudo-device tb 1 # tablet line discipline 2751.27Ssoda#pseudo-device sequencer 1 # MIDI sequencer 2761.27Ssoda# rnd works; RND_COM does not on port arc yet. 2771.27Ssodapseudo-device rnd # /dev/random and in-kernel generator 2781.27Ssoda#options RND_COM # use "com" randomness as well (BROKEN) 2791.27Ssoda 2801.27Ssoda# a pseudo device needed for Coda # also needs CODA (above) 2811.27Ssoda#pseudo-device vcoda 4 # coda minicache <-> venus comm. 2821.27Ssoda 2831.27Ssoda# mouse & keyboard multiplexor pseudo-devices 2841.27Ssoda#pseudo-device wsmux 2 285