GENERIC revision 1.46
11.46Sdarcy# $NetBSD: GENERIC,v 1.46 2001/06/30 11:00:32 darcy 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.46Sdarcy#ident "GENERIC-$Revision: 1.46 $" 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.27Ssodaoptions COMPAT_10 # NetBSD 1.0, 561.27Ssodaoptions COMPAT_11 # NetBSD 1.1, 571.27Ssodaoptions COMPAT_12 # NetBSD 1.2, 581.27Ssodaoptions COMPAT_13 # NetBSD 1.3, 591.27Ssodaoptions COMPAT_14 # NetBSD 1.4, 601.27Ssodaoptions COMPAT_43 # and 4.3BSD 611.27Ssodaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 621.27Ssoda 631.27Ssoda# mipsel specific 641.27Ssodaoptions COMPAT_ULTRIX # Ultrix binary compatibility 651.27Ssodaoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 661.1Sjonathan 671.27Ssoda# File systems 681.6Sthorpejfile-system FFS # fast filesystem 691.27Ssodafile-system EXT2FS # second extended file system (linux) 701.27Ssodafile-system LFS # log-structured file system 711.27Ssodafile-system MFS # memory file system 721.27Ssodafile-system NTFS # Windows/NT file system (experimental) 731.23Ssodafile-system CD9660 # ISO 9660 + Rock Ridge file system 741.27Ssodafile-system MSDOSFS # MS-DOS file system 751.27Ssodafile-system NFS # Network File System client 761.27Ssodafile-system FDESC # /dev/fd 771.27Ssodafile-system KERNFS # /kern 781.27Ssodafile-system NULLFS # loopback file system 791.27Ssodafile-system OVERLAY # overlay file system 801.27Ssodafile-system PORTAL # portal filesystem (still experimental) 811.27Ssodafile-system PROCFS # /proc 821.27Ssodafile-system UMAPFS # NULLFS + uid and gid remapping 831.27Ssodafile-system UNION # union file system 841.27Ssoda#file-system CODA # Coda File System; also needs vcoda (below) 851.6Sthorpej 861.27Ssoda# File system options 871.10Slukemoptions QUOTA # FFS quotas 881.27Ssoda#options FFS_EI # FFS Endian Independent support 891.34Sfvdloptions SOFTDEP # FFS soft updates support. 901.27Ssodaoptions NFSSERVER # Network File System server 911.27Ssoda#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 921.27Ssoda # immutable) behave as system flags. 931.20Sitojun 941.1Sjonathan# Networking options 951.23Ssoda#options GATEWAY # IP packet forwarding 961.27Ssodaoptions INET # IP + ICMP + TCP + UDP 971.27Ssodaoptions INET6 # IPV6 981.20Sitojun#options IPSEC # IP security 991.20Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1001.20Sitojun#options IPSEC_DEBUG # debug for IP security 1011.27Ssoda#options MROUTING # IP multicast routing 1021.27Ssodaoptions NS # XNS 1031.27Ssoda#options NSIP # XNS tunneling over IP 1041.27Ssodaoptions ISO,TPIP # OSI networking 1051.36Ssommerfe#options EON # OSI tunneling over IP 1061.27Ssodaoptions CCITT,LLC,HDLC # X.25 1071.27Ssodaoptions NETATALK # AppleTalk networking protocols 1081.27Ssodaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1091.27Ssodaoptions PPP_DEFLATE # Deflate compression support for PPP 1101.27Ssodaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1111.27Ssodaoptions PFIL_HOOKS # pfil(9) packet filter hooks 1121.27Ssodaoptions IPFILTER_LOG # ipmon(8) log support 1131.27Ssoda 1141.27Ssoda# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 1151.27Ssoda#options TCP_COMPAT_42 1161.27Ssoda 1171.27Ssoda# These options enable verbose messages for several subsystems. 1181.27Ssoda# Warning, these may compile large string tables into the kernel! 1191.27Ssoda#options EISAVERBOSE # verbose EISA device autoconfig messages 1201.31Ssodaoptions PCIVERBOSE # verbose PCI device autoconfig messages 1211.28Scgd#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1221.27Ssodaoptions SCSIVERBOSE # human readable SCSI error messages 1231.37Sur 1241.37Sur# wscons terminal emulation 1251.37Suroptions WSEMUL_VT100 # VT100 emulation 1261.23Ssoda 1271.25Ssoda# Kernel root file system and dump configuration. 1281.27Ssodaoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1291.27Ssodaconfig netbsd root on ? type ? 1301.27Ssoda#config netbsd root on sd0a type ffs 1311.27Ssoda#config netbsd root on ? type nfs 1321.1Sjonathan 1331.23Ssoda# 1341.27Ssoda# Device configuration 1351.23Ssoda# 1361.27Ssoda 1371.1Sjonathanmainbus0 at root 1381.1Sjonathancpu* at mainbus0 1391.1Sjonathan 1401.41Sur#### Jazz-Internal bus devices 1411.23Ssoda 1421.45Ssoda# PLATFORM_ACER_PICA_61 1431.45Ssoda# PLATFORM_MICROSOFT_JAZZ 1441.45Ssoda# PLATFORM_NEC_JC94 1451.45Ssoda# PLATFORM_NEC_R94 1461.45Ssoda# PLATFORM_NEC_R96 1471.45Ssoda# PLATFORM_NEC_RAX94 1481.45Ssoda# PLATFORM_NEC_RD94 1491.45Ssodajazzio* at mainbus0 # Jazz-Internal bus host bridge. 1501.45Ssoda 1511.45Ssodatimer0 at jazzio? 1521.45Ssodamcclock0 at jazzio? 1531.41Sur#pc0 at jazzio? 1541.41Sur#opms0 at jazzio? 1551.41Survga0 at jazzio? # Jazz localbus VGA 1561.41Surpckbc0 at jazzio? # PC keyboard controller 1571.41Surcom0 at jazzio? 1581.41Surcom1 at jazzio? 1591.41Surlpt0 at jazzio? 1601.41Sursn0 at jazzio? 1611.1Sjonathan 1621.41Surfdc0 at jazzio? 1631.1Sjonathanfd* at fdc? drive ? 1641.1Sjonathan 1651.42Stsutsuiasc0 at jazzio? # NCR53C9x SCSI 1661.1Sjonathanscsibus* at asc? 1671.1Sjonathan 1681.42Stsutsuiosiop0 at jazzio? flags 0x00000 # NCR53C710 SCSI 1691.42Stsutsuiosiop1 at jazzio? flags 0x00000 1701.42Stsutsuiscsibus* at osiop? 1711.42Stsutsui 1721.42Stsutsui#oosiop0 at jazzio? # NCR53C700 SCSI 1731.42Stsutsui#oosiop1 at jazzio? 1741.42Stsutsui#scsibus* at oosiop? 1751.33Ssoda 1761.27Ssoda#### ISA bus devices 1771.23Ssoda 1781.45Ssoda# PLATFORM_ACER_PICA_61 1791.45Ssoda# PLATFORM_MICROSOFT_JAZZ 1801.45Ssoda# PLATFORM_NEC_R94 1811.45Ssoda# PLATFORM_NEC_R96 1821.45Ssodajazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge. 1831.45Ssodaisa* at jazzisabr? 1841.45Ssoda 1851.45Ssoda# PLATFORM_DESKTECH_ARCSTATION_I 1861.45Ssodaarcsisabr* at mainbus0 # DESKstation rPC44 ISA host bridge. 1871.45Ssodaisa* at arcsisabr? 1881.45Ssoda 1891.45Ssoda# PLATFORM_DESKTECH_TYNE 1901.45Ssodatyneisabr* at mainbus0 # DESKstation Tyne ISA host bridge. 1911.45Ssodaisa* at tyneisabr? 1921.45Ssoda 1931.27Ssoda#isadma0 at isa? 1941.23Ssoda 1951.45Ssodatimer0 at isa? port 0x40 irq 0 1961.45Ssodamcclock0 at isa? port 0x70 1971.23Ssoda 1981.45Ssodapc0 at isa? irq 1 # generic PC console device 1991.45Ssodaopms0 at isa? irq 12 # PS/2 auxiliary port mouse 2001.33Ssoda#vga0 at isa? 2011.33Ssoda#pckbc0 at isa? # PC keyboard controller 2021.23Ssodacom0 at isa? port 0x3f8 irq 4 2031.23Ssodacom1 at isa? port 0x2f8 irq 3 2041.23Ssodacom2 at isa? port 0x3e8 irq 4 2051.23Ssodacom3 at isa? port 0x2e8 irq 3 2061.27Ssodaast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 2071.27Ssodacom* at ast? slave ? 2081.27Ssoda 2091.27Ssoda# Joystick driver. Probe is a little strange; add only if you have one. 2101.27Ssoda#joy0 at isa? port 0x201 2111.23Ssoda 2121.23Ssoda# ISA ST506, ESDI, and IDE controllers 2131.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 2141.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional). 2151.23Ssoda# Some controllers pass the initial 32bit test, but will fail later. 2161.23Ssoda# XXX - should be configured 2171.27Ssoda#wdc0 at isa? port 0x1f0 irq 14 flags 0x00 2181.27Ssoda#wdc1 at isa? port 0x170 irq 15 flags 0x00 2191.27Ssoda#wdc* at isapnp? 2201.23Ssoda 2211.23Ssoda# IDE drives 2221.23Ssoda# Flags are used only with controllers that support DMA operations 2231.23Ssoda# and mode settings (e.g. some pciide controllers) 2241.23Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO 2251.23Ssoda# mode to use, the next set of four bits the DMA mode and the third set the 2261.23Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2271.23Ssoda# to use, and the last bit must be 1 for this setting to be used. 2281.23Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'. 2291.23Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2301.23Ssoda# (0xc=1100, 0xa=1010, 0xf=1111) 2311.23Ssoda# 0x0000 means "use whatever the drive claims to support". 2321.23Ssoda# XXX - should be configured 2331.27Ssoda#wd* at wdc? channel ? drive ? flags 0x0000 2341.23Ssoda 2351.23Ssoda# ATAPI bus support 2361.23Ssoda# XXX - should be configured 2371.27Ssoda#atapibus* at wdc? channel ? 2381.23Ssoda 2391.27Ssoda# ISA parallel printer interfaces 2401.27Ssodalpt0 at isa? port 0x378 irq 7 2411.27Ssoda 2421.27Ssoda# ISA network interfaces 2431.27Ssoda# XXX - should be configured 2441.27Ssoda#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 2451.27Ssoda#ep0 at isa? port ? irq ? # 3C509 ethernet cards 2461.27Ssoda#ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 2471.27Ssoda#ne1 at isa? port 0x300 irq 10 2481.27Ssoda#ne* at isapnp? # NE[12]000 PnP ethernet 2491.27Ssoda#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 2501.27Ssoda#we1 at isa? port 0x300 iomem 0xcc000 irq 10 2511.27Ssoda#we* at isapnp? 2521.23Ssoda 2531.27Ssoda# XXX - should be configured 2541.27Ssoda#btl0 at isa? port 0x330 irq ? drq ? 2551.27Ssoda#scsibus* at btl? 2561.23Ssoda 2571.27Ssoda#### PCI bus devices 2581.23Ssoda 2591.45Ssoda# PLATFORM_NEC_JC94 2601.45Ssoda# PLATFORM_NEC_RAX94 2611.45Ssoda# PLATFORM_NEC_RD94 2621.31Ssodanecpb* at mainbus0 # NEC RISCstation PCI host bridge. 2631.31Ssodapci* at necpb? 2641.23Ssoda 2651.27Ssoda#pcivga* at pci? dev ? function ? 2661.43Stsutsuitga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics 2671.43Stsutsui 2681.43Stsutsuiahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 2691.43Stsutsuiscsibus* at ahc? 2701.44Stsutsui 2711.44Stsutsuiiha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 2721.44Stsutsuiscsibus* at iha? 2731.43Stsutsui 2741.43Stsutsui#siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI 2751.30Ssoren#scsibus* at siop? 2761.43Stsutsui 2771.27Ssoda#de* at pci? dev ? function ? 2781.31Ssodaex* at pci? dev ? function ? # 3Com 90x[B] 2791.31Ssodafxp* at pci? dev ? function ? # Intel EtherExpress PRO 2801.31Ssodale* at pci? dev ? function ? # PCnet-PCI 2811.31Ssodane* at pci? dev ? function ? # NE2000-compatible 2821.31Ssodatlp* at pci? dev ? function ? # DECchip 21x4x (and clones) 2831.31Ssoda#options TLP_MATCH_21040 2841.31Ssoda#options TLP_MATCH_21041 2851.31Ssoda#options TLP_MATCH_21140 2861.31Ssoda#options TLP_MATCH_21142 2871.31Ssoda 2881.31Ssoda# IDE and related devices 2891.31Ssoda# PCI IDE controllers - see pciide(4) for supported hardware. 2901.31Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 2911.31Ssoda# how to set up DMA modes for this chip. This may work, or may cause 2921.31Ssoda# a machine hang with some controllers. 2931.31Ssodapciide* at pci ? dev ? function ? flags 0x0000 2941.31Ssodawd* at pciide? channel ? drive ? flags 0x0000 2951.31Ssodaatapibus* at pciide? channel ? 2961.31Ssoda 2971.31Ssoda#### MII/PHY support 2981.31Ssoda 2991.31Ssodaexphy* at mii? phy ? # 3Com internal PHYs 3001.31Ssodaicsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 3011.31Ssodainphy* at mii? phy ? # Intel 82555 PHYs 3021.31Ssodaiophy* at mii? phy ? # Intel 82553 PHYs 3031.31Ssodalxtphy* at mii? phy ? # Level One LXT-970 PHYs 3041.31Ssodansphy* at mii? phy ? # NS83840 PHYs 3051.31Ssodansphyter* at mii? phy ? # NS83843 PHYs 3061.31Ssodaqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 3071.31Ssodasqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 3081.31Ssodatlphy* at mii? phy ? # ThunderLAN PHYs 3091.31Ssodatqphy* at mii? phy ? # TDK Semiconductor PHYs 3101.31Ssodaukphy* at mii? phy ? # generic unknown PHYs 3111.31Ssoda 3121.27Ssoda#### SCSI bus devices 3131.23Ssoda 3141.1Sjonathansd* at scsibus? target ? lun ? 3151.1Sjonathanst* at scsibus? target ? lun ? 3161.1Sjonathancd* at scsibus? target ? lun ? 3171.23Ssodach* at scsibus? target ? lun ? 3181.23Ssodass* at scsibus? target ? lun ? 3191.23Ssodauk* at scsibus? target ? lun ? 3201.31Ssoda 3211.31Ssoda#### ATAPI bus devices 3221.31Ssoda 3231.31Ssoda# flags have the same meaning as for IDE drives. 3241.31Ssodacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 3251.31Ssodasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 3261.31Ssodauk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 3271.33Ssoda 3281.33Ssoda#### Workstation Console attachments 3291.33Ssoda 3301.33Ssodawsdisplay* at vga? 3311.33Ssodawsdisplay* at tga? 3321.33Ssodapckbd* at pckbc? # PC keyboard (kbd port) 3331.33Ssodawskbd* at pckbd? 3341.33Ssodapms* at pckbc? # PS/2-style mouse (aux port) 3351.33Ssodawsmouse* at pms? 3361.33Ssoda#pmsi* at pckbc? # PS/2 "Intelli"mouse (aux port) 3371.33Ssoda#wsmouse* at pmsi? 3381.23Ssoda 3391.27Ssoda#### Pseudo devices 3401.1Sjonathan 3411.27Ssoda# disk/mass storage pseudo-devices 3421.27Ssodapseudo-device ccd 4 # concatenated/striped disk devices 3431.27Ssoda#pseudo-device raid 4 # RAIDframe disk driver 3441.27Ssodapseudo-device md 1 # memory disk device (ramdisk) 3451.27Ssodapseudo-device vnd 4 # disk-like interface to files 3461.27Ssoda 3471.27Ssoda# network pseudo-devices 3481.27Ssodapseudo-device bpfilter 8 # Berkeley packet filter 3491.27Ssodapseudo-device ipfilter # IP filter (firewall) and NAT 3501.27Ssodapseudo-device loop 1 # network loopback 3511.27Ssodapseudo-device ppp 2 # Point-to-Point Protocol 3521.27Ssodapseudo-device sl 2 # Serial Line IP 3531.27Ssoda#pseudo-device strip 2 # Starmode Radio IP (Metricom) 3541.27Ssodapseudo-device tun 2 # network tunneling over tty 3551.23Ssoda#pseudo-device gre 2 # generic L3 over IP tunnel 3561.27Ssodapseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 3571.20Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 3581.20Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 3591.29Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 3601.40Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 3611.23Ssoda 3621.27Ssoda# miscellaneous pseudo-devices 3631.39Sjdolecekpseudo-device pty # pseudo-terminals 3641.27Ssodapseudo-device tb 1 # tablet line discipline 3651.27Ssoda#pseudo-device sequencer 1 # MIDI sequencer 3661.27Ssoda# rnd works; RND_COM does not on port arc yet. 3671.27Ssodapseudo-device rnd # /dev/random and in-kernel generator 3681.27Ssoda#options RND_COM # use "com" randomness as well (BROKEN) 3691.27Ssoda 3701.27Ssoda# a pseudo device needed for Coda # also needs CODA (above) 3711.27Ssoda#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3721.27Ssoda 3731.27Ssoda# mouse & keyboard multiplexor pseudo-devices 3741.27Ssoda#pseudo-device wsmux 2 375