GENERIC revision 1.54
11.54Saugustss# $NetBSD: GENERIC,v 1.54 2001/11/13 17:54:46 augustss 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.54Saugustss#ident "GENERIC-$Revision: 1.54 $" 101.1Sjonathan 111.27Ssodamaxusers 32 # estimated number of users 121.27Ssoda 131.45Ssoda# Platform support 141.45Ssodaoptions PLATFORM_ACER_PICA_61 # Pica, NEC ImageRISCstation 151.45Ssodaoptions PLATFORM_DESKTECH_ARCSTATION_I # DESKstation rPC44 161.45Ssodaoptions PLATFORM_DESKTECH_TYNE # DESKstation Tyne 171.45Ssodaoptions PLATFORM_MICROSOFT_JAZZ # MIPS Magnum 181.45Ssodaoptions PLATFORM_NEC_JC94 # NEC Express 5800/230 PCI R4K 191.45Ssodaoptions PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA 201.45Ssodaoptions PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200 211.45Ssodaoptions PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI 221.45Ssodaoptions PLATFORM_NEC_RD94 # NEC RISCstation 2250 231.45Ssodaoptions PLATFORM_SNI_RM200PCI 241.45Ssoda 251.27Ssoda# Standard system options 261.1Sjonathan 271.23Ssodaoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 281.27Ssodaoptions NTP # NTP phase/frequency locked loop 291.1Sjonathan 301.27Ssodaoptions KTRACE # system call tracing via ktrace(1) 311.1Sjonathan 321.10Slukemoptions SYSVMSG # System V-like message queues 331.10Slukemoptions SYSVSEM # System V-like semaphores 341.46Sdarcy#options SEMMNI=10 # number of semaphore identifiers 351.46Sdarcy#options SEMMNS=60 # number of semaphores in system 361.46Sdarcy#options SEMUME=10 # max number of undo entries per process 371.46Sdarcy#options SEMMNU=30 # number of undo structures in system 381.10Slukemoptions SYSVSHM # System V-like memory sharing 391.27Ssoda#options SHMMAXPGS=1024 # 1024 pages is the default 401.27Ssoda 411.27Ssodaoptions LKM # loadable kernel modules 421.27Ssoda 431.27Ssoda# Diagnostic/debugging support options 441.27Ssodaoptions DIAGNOSTIC # cheap kernel consistency checks 451.27Ssoda#options DEBUG # expensive debugging checks/support 461.27Ssoda#options KMEMSTATS # kernel memory statistics (vmstat -m) 471.27Ssodaoptions DDB # in-kernel debugger 481.27Ssoda#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 491.27Ssoda#options KGDB # remote gdb 501.27Ssoda#options KGDBRATE=19200 # kernel gdb port rate (default 9600) 511.27Ssoda#options KGDBDEV="17*256+0" # device for kernel gdb 521.27Ssoda#makeoptions DEBUG="-g" # compile full symbol table 531.27Ssoda 541.27Ssoda# Compatibility options 551.47Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 561.27Ssodaoptions COMPAT_10 # NetBSD 1.0, 571.27Ssodaoptions COMPAT_11 # NetBSD 1.1, 581.27Ssodaoptions COMPAT_12 # NetBSD 1.2, 591.27Ssodaoptions COMPAT_13 # NetBSD 1.3, 601.27Ssodaoptions COMPAT_14 # NetBSD 1.4, 611.27Ssodaoptions COMPAT_43 # and 4.3BSD 621.27Ssodaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 631.27Ssoda 641.27Ssoda# mipsel specific 651.27Ssodaoptions COMPAT_ULTRIX # Ultrix binary compatibility 661.27Ssodaoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 671.1Sjonathan 681.27Ssoda# File systems 691.6Sthorpejfile-system FFS # fast filesystem 701.27Ssodafile-system EXT2FS # second extended file system (linux) 711.27Ssodafile-system LFS # log-structured file system 721.27Ssodafile-system MFS # memory file system 731.27Ssodafile-system NTFS # Windows/NT file system (experimental) 741.23Ssodafile-system CD9660 # ISO 9660 + Rock Ridge file system 751.27Ssodafile-system MSDOSFS # MS-DOS file system 761.27Ssodafile-system NFS # Network File System client 771.27Ssodafile-system FDESC # /dev/fd 781.27Ssodafile-system KERNFS # /kern 791.27Ssodafile-system NULLFS # loopback file system 801.27Ssodafile-system OVERLAY # overlay file system 811.27Ssodafile-system PORTAL # portal filesystem (still experimental) 821.27Ssodafile-system PROCFS # /proc 831.27Ssodafile-system UMAPFS # NULLFS + uid and gid remapping 841.27Ssodafile-system UNION # union file system 851.27Ssoda#file-system CODA # Coda File System; also needs vcoda (below) 861.6Sthorpej 871.27Ssoda# File system options 881.10Slukemoptions QUOTA # FFS quotas 891.27Ssoda#options FFS_EI # FFS Endian Independent support 901.34Sfvdloptions SOFTDEP # FFS soft updates support. 911.27Ssodaoptions NFSSERVER # Network File System server 921.27Ssoda#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 931.27Ssoda # immutable) behave as system flags. 941.20Sitojun 951.1Sjonathan# Networking options 961.23Ssoda#options GATEWAY # IP packet forwarding 971.27Ssodaoptions INET # IP + ICMP + TCP + UDP 981.27Ssodaoptions INET6 # IPV6 991.20Sitojun#options IPSEC # IP security 1001.20Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1011.20Sitojun#options IPSEC_DEBUG # debug for IP security 1021.27Ssoda#options MROUTING # IP multicast routing 1031.27Ssodaoptions NS # XNS 1041.27Ssoda#options NSIP # XNS tunneling over IP 1051.27Ssodaoptions ISO,TPIP # OSI networking 1061.36Ssommerfe#options EON # OSI tunneling over IP 1071.27Ssodaoptions CCITT,LLC,HDLC # X.25 1081.27Ssodaoptions NETATALK # AppleTalk networking protocols 1091.27Ssodaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1101.27Ssodaoptions PPP_DEFLATE # Deflate compression support for PPP 1111.27Ssodaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1121.27Ssodaoptions PFIL_HOOKS # pfil(9) packet filter hooks 1131.27Ssodaoptions IPFILTER_LOG # ipmon(8) log support 1141.47Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1151.27Ssoda 1161.27Ssoda# These options enable verbose messages for several subsystems. 1171.27Ssoda# Warning, these may compile large string tables into the kernel! 1181.27Ssoda#options EISAVERBOSE # verbose EISA device autoconfig messages 1191.31Ssodaoptions PCIVERBOSE # verbose PCI device autoconfig messages 1201.28Scgd#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1211.27Ssodaoptions SCSIVERBOSE # human readable SCSI error messages 1221.37Sur 1231.37Sur# wscons terminal emulation 1241.37Suroptions WSEMUL_VT100 # VT100 emulation 1251.23Ssoda 1261.25Ssoda# Kernel root file system and dump configuration. 1271.27Ssodaoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1281.27Ssodaconfig netbsd root on ? type ? 1291.27Ssoda#config netbsd root on sd0a type ffs 1301.27Ssoda#config netbsd root on ? type nfs 1311.1Sjonathan 1321.23Ssoda# 1331.27Ssoda# Device configuration 1341.23Ssoda# 1351.27Ssoda 1361.1Sjonathanmainbus0 at root 1371.1Sjonathancpu* at mainbus0 1381.1Sjonathan 1391.41Sur#### Jazz-Internal bus devices 1401.23Ssoda 1411.45Ssoda# PLATFORM_ACER_PICA_61 1421.45Ssoda# PLATFORM_MICROSOFT_JAZZ 1431.45Ssoda# PLATFORM_NEC_JC94 1441.45Ssoda# PLATFORM_NEC_R94 1451.45Ssoda# PLATFORM_NEC_R96 1461.45Ssoda# PLATFORM_NEC_RAX94 1471.45Ssoda# PLATFORM_NEC_RD94 1481.45Ssodajazzio* at mainbus0 # Jazz-Internal bus host bridge. 1491.45Ssoda 1501.45Ssodatimer0 at jazzio? 1511.45Ssodamcclock0 at jazzio? 1521.41Sur#pc0 at jazzio? 1531.41Sur#opms0 at jazzio? 1541.41Survga0 at jazzio? # Jazz localbus VGA 1551.41Surpckbc0 at jazzio? # PC keyboard controller 1561.41Surcom0 at jazzio? 1571.41Surcom1 at jazzio? 1581.41Surlpt0 at jazzio? 1591.41Sursn0 at jazzio? 1601.1Sjonathan 1611.41Surfdc0 at jazzio? 1621.1Sjonathanfd* at fdc? drive ? 1631.1Sjonathan 1641.42Stsutsuiasc0 at jazzio? # NCR53C9x SCSI 1651.1Sjonathanscsibus* at asc? 1661.1Sjonathan 1671.42Stsutsuiosiop0 at jazzio? flags 0x00000 # NCR53C710 SCSI 1681.42Stsutsuiosiop1 at jazzio? flags 0x00000 1691.42Stsutsuiscsibus* at osiop? 1701.42Stsutsui 1711.42Stsutsui#oosiop0 at jazzio? # NCR53C700 SCSI 1721.42Stsutsui#oosiop1 at jazzio? 1731.42Stsutsui#scsibus* at oosiop? 1741.33Ssoda 1751.27Ssoda#### ISA bus devices 1761.23Ssoda 1771.45Ssoda# PLATFORM_ACER_PICA_61 1781.45Ssoda# PLATFORM_MICROSOFT_JAZZ 1791.45Ssoda# PLATFORM_NEC_R94 1801.45Ssoda# PLATFORM_NEC_R96 1811.45Ssodajazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge. 1821.45Ssodaisa* at jazzisabr? 1831.45Ssoda 1841.45Ssoda# PLATFORM_DESKTECH_ARCSTATION_I 1851.45Ssodaarcsisabr* at mainbus0 # DESKstation rPC44 ISA host bridge. 1861.45Ssodaisa* at arcsisabr? 1871.45Ssoda 1881.45Ssoda# PLATFORM_DESKTECH_TYNE 1891.45Ssodatyneisabr* at mainbus0 # DESKstation Tyne ISA host bridge. 1901.45Ssodaisa* at tyneisabr? 1911.45Ssoda 1921.27Ssoda#isadma0 at isa? 1931.23Ssoda 1941.45Ssodatimer0 at isa? port 0x40 irq 0 1951.45Ssodamcclock0 at isa? port 0x70 1961.23Ssoda 1971.45Ssodapc0 at isa? irq 1 # generic PC console device 1981.45Ssodaopms0 at isa? irq 12 # PS/2 auxiliary port mouse 1991.33Ssoda#vga0 at isa? 2001.33Ssoda#pckbc0 at isa? # PC keyboard controller 2011.23Ssodacom0 at isa? port 0x3f8 irq 4 2021.23Ssodacom1 at isa? port 0x2f8 irq 3 2031.23Ssodacom2 at isa? port 0x3e8 irq 4 2041.23Ssodacom3 at isa? port 0x2e8 irq 3 2051.27Ssodaast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 2061.27Ssodacom* at ast? slave ? 2071.27Ssoda 2081.27Ssoda# Joystick driver. Probe is a little strange; add only if you have one. 2091.27Ssoda#joy0 at isa? port 0x201 2101.23Ssoda 2111.23Ssoda# ISA ST506, ESDI, and IDE controllers 2121.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 2131.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional). 2141.23Ssoda# Some controllers pass the initial 32bit test, but will fail later. 2151.23Ssoda# XXX - should be configured 2161.27Ssoda#wdc0 at isa? port 0x1f0 irq 14 flags 0x00 2171.27Ssoda#wdc1 at isa? port 0x170 irq 15 flags 0x00 2181.27Ssoda#wdc* at isapnp? 2191.23Ssoda 2201.23Ssoda# IDE drives 2211.23Ssoda# Flags are used only with controllers that support DMA operations 2221.23Ssoda# and mode settings (e.g. some pciide controllers) 2231.23Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO 2241.23Ssoda# mode to use, the next set of four bits the DMA mode and the third set the 2251.23Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2261.23Ssoda# to use, and the last bit must be 1 for this setting to be used. 2271.23Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'. 2281.23Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2291.23Ssoda# (0xc=1100, 0xa=1010, 0xf=1111) 2301.23Ssoda# 0x0000 means "use whatever the drive claims to support". 2311.23Ssoda# XXX - should be configured 2321.27Ssoda#wd* at wdc? channel ? drive ? flags 0x0000 2331.23Ssoda 2341.23Ssoda# ATAPI bus support 2351.23Ssoda# XXX - should be configured 2361.27Ssoda#atapibus* at wdc? channel ? 2371.23Ssoda 2381.27Ssoda# ISA parallel printer interfaces 2391.27Ssodalpt0 at isa? port 0x378 irq 7 2401.27Ssoda 2411.27Ssoda# ISA network interfaces 2421.27Ssoda# XXX - should be configured 2431.27Ssoda#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 2441.27Ssoda#ep0 at isa? port ? irq ? # 3C509 ethernet cards 2451.27Ssoda#ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 2461.27Ssoda#ne1 at isa? port 0x300 irq 10 2471.27Ssoda#ne* at isapnp? # NE[12]000 PnP ethernet 2481.27Ssoda#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 2491.27Ssoda#we1 at isa? port 0x300 iomem 0xcc000 irq 10 2501.27Ssoda#we* at isapnp? 2511.23Ssoda 2521.27Ssoda# XXX - should be configured 2531.27Ssoda#btl0 at isa? port 0x330 irq ? drq ? 2541.27Ssoda#scsibus* at btl? 2551.23Ssoda 2561.27Ssoda#### PCI bus devices 2571.23Ssoda 2581.45Ssoda# PLATFORM_NEC_JC94 2591.45Ssoda# PLATFORM_NEC_RAX94 2601.45Ssoda# PLATFORM_NEC_RD94 2611.31Ssodanecpb* at mainbus0 # NEC RISCstation PCI host bridge. 2621.31Ssodapci* at necpb? 2631.23Ssoda 2641.27Ssoda#pcivga* at pci? dev ? function ? 2651.43Stsutsuitga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics 2661.43Stsutsui 2671.43Stsutsuiahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 2681.43Stsutsuiscsibus* at ahc? 2691.44Stsutsui 2701.44Stsutsuiiha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 2711.44Stsutsuiscsibus* at iha? 2721.43Stsutsui 2731.52Stsutsuipcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI 2741.52Stsutsuiscsibus* at pcscp? 2751.52Stsutsui 2761.51Stsutsuisiop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI 2771.51Stsutsuiscsibus* at siop? 2781.53Stsutsui 2791.53Stsutsuitrm* at pci? dev ? function ? # Tekram DC-395/315 SCSI 2801.53Stsutsuiscsibus* at trm? 2811.43Stsutsui 2821.27Ssoda#de* at pci? dev ? function ? 2831.52Stsutsuiepic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 2841.48Shubertfex* at pci? dev ? function ? # 3Com 90x[BC] 2851.31Ssodafxp* at pci? dev ? function ? # Intel EtherExpress PRO 2861.31Ssodane* at pci? dev ? function ? # NE2000-compatible 2871.52Stsutsuipcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 2881.52Stsutsuirtk* at pci? dev ? function ? # Tealtek 8129/8139 2891.52Stsutsuisip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 2901.31Ssodatlp* at pci? dev ? function ? # DECchip 21x4x (and clones) 2911.31Ssoda#options TLP_MATCH_21040 2921.31Ssoda#options TLP_MATCH_21041 2931.31Ssoda#options TLP_MATCH_21140 2941.31Ssoda#options TLP_MATCH_21142 2951.31Ssoda 2961.31Ssoda# IDE and related devices 2971.31Ssoda# PCI IDE controllers - see pciide(4) for supported hardware. 2981.31Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 2991.31Ssoda# how to set up DMA modes for this chip. This may work, or may cause 3001.31Ssoda# a machine hang with some controllers. 3011.31Ssodapciide* at pci ? dev ? function ? flags 0x0000 3021.31Ssodawd* at pciide? channel ? drive ? flags 0x0000 3031.31Ssodaatapibus* at pciide? channel ? 3041.31Ssoda 3051.31Ssoda#### MII/PHY support 3061.31Ssoda 3071.31Ssodaexphy* at mii? phy ? # 3Com internal PHYs 3081.31Ssodaicsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 3091.31Ssodainphy* at mii? phy ? # Intel 82555 PHYs 3101.31Ssodaiophy* at mii? phy ? # Intel 82553 PHYs 3111.31Ssodalxtphy* at mii? phy ? # Level One LXT-970 PHYs 3121.31Ssodansphy* at mii? phy ? # NS83840 PHYs 3131.31Ssodansphyter* at mii? phy ? # NS83843 PHYs 3141.31Ssodaqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 3151.31Ssodasqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 3161.31Ssodatlphy* at mii? phy ? # ThunderLAN PHYs 3171.31Ssodatqphy* at mii? phy ? # TDK Semiconductor PHYs 3181.31Ssodaukphy* at mii? phy ? # generic unknown PHYs 3191.31Ssoda 3201.27Ssoda#### SCSI bus devices 3211.23Ssoda 3221.1Sjonathansd* at scsibus? target ? lun ? 3231.1Sjonathanst* at scsibus? target ? lun ? 3241.1Sjonathancd* at scsibus? target ? lun ? 3251.23Ssodach* at scsibus? target ? lun ? 3261.23Ssodass* at scsibus? target ? lun ? 3271.23Ssodauk* at scsibus? target ? lun ? 3281.31Ssoda 3291.31Ssoda#### ATAPI bus devices 3301.31Ssoda 3311.31Ssoda# flags have the same meaning as for IDE drives. 3321.31Ssodacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 3331.31Ssodasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 3341.31Ssodauk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 3351.33Ssoda 3361.33Ssoda#### Workstation Console attachments 3371.33Ssoda 3381.33Ssodawsdisplay* at vga? 3391.33Ssodawsdisplay* at tga? 3401.33Ssodapckbd* at pckbc? # PC keyboard (kbd port) 3411.33Ssodawskbd* at pckbd? 3421.33Ssodapms* at pckbc? # PS/2-style mouse (aux port) 3431.33Ssodawsmouse* at pms? 3441.33Ssoda#pmsi* at pckbc? # PS/2 "Intelli"mouse (aux port) 3451.33Ssoda#wsmouse* at pmsi? 3461.23Ssoda 3471.27Ssoda#### Pseudo devices 3481.1Sjonathan 3491.27Ssoda# disk/mass storage pseudo-devices 3501.27Ssodapseudo-device ccd 4 # concatenated/striped disk devices 3511.27Ssoda#pseudo-device raid 4 # RAIDframe disk driver 3521.27Ssodapseudo-device md 1 # memory disk device (ramdisk) 3531.27Ssodapseudo-device vnd 4 # disk-like interface to files 3541.27Ssoda 3551.27Ssoda# network pseudo-devices 3561.27Ssodapseudo-device bpfilter 8 # Berkeley packet filter 3571.27Ssodapseudo-device ipfilter # IP filter (firewall) and NAT 3581.27Ssodapseudo-device loop 1 # network loopback 3591.27Ssodapseudo-device ppp 2 # Point-to-Point Protocol 3601.27Ssodapseudo-device sl 2 # Serial Line IP 3611.27Ssoda#pseudo-device strip 2 # Starmode Radio IP (Metricom) 3621.27Ssodapseudo-device tun 2 # network tunneling over tty 3631.23Ssoda#pseudo-device gre 2 # generic L3 over IP tunnel 3641.27Ssodapseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 3651.20Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 3661.20Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 3671.29Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 3681.40Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 3691.50Satatat#pseudo-device bridge # simple inter-network bridging 3701.23Ssoda 3711.27Ssoda# miscellaneous pseudo-devices 3721.39Sjdolecekpseudo-device pty # pseudo-terminals 3731.27Ssodapseudo-device tb 1 # tablet line discipline 3741.27Ssoda#pseudo-device sequencer 1 # MIDI sequencer 3751.27Ssoda# rnd works; RND_COM does not on port arc yet. 3761.27Ssodapseudo-device rnd # /dev/random and in-kernel generator 3771.27Ssoda#options RND_COM # use "com" randomness as well (BROKEN) 3781.27Ssoda 3791.27Ssoda# a pseudo device needed for Coda # also needs CODA (above) 3801.27Ssoda#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3811.27Ssoda 3821.27Ssoda# mouse & keyboard multiplexor pseudo-devices 3831.54Saugustss#pseudo-device wsmux 384