PCCONS revision 1.3
11.3Sur# $NetBSD: PCCONS,v 1.3 2000/07/23 10:06:43 ur Exp $ 21.1Ssoda# $OpenBSD: GENERIC,v 1.29 1999/08/29 12:14:03 niklas Exp $ 31.1Ssoda# 41.1Ssoda# PCCONS -- generic but pccons rather than wscons 51.1Ssoda# 61.1Ssoda 71.1Ssodainclude "arch/arc/conf/std.arc" 81.1Ssoda 91.1Ssodamaxusers 32 # estimated number of users 101.1Ssoda 111.1Ssoda# Standard system options 121.1Ssoda 131.1Ssodaoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 141.1Ssodaoptions NTP # NTP phase/frequency locked loop 151.1Ssoda 161.1Ssodaoptions KTRACE # system call tracing via ktrace(1) 171.1Ssoda 181.1Ssodaoptions SYSVMSG # System V-like message queues 191.1Ssodaoptions SYSVSEM # System V-like semaphores 201.1Ssodaoptions SYSVSHM # System V-like memory sharing 211.1Ssoda#options SHMMAXPGS=1024 # 1024 pages is the default 221.1Ssoda 231.1Ssodaoptions LKM # loadable kernel modules 241.1Ssoda 251.1Ssoda# Diagnostic/debugging support options 261.1Ssodaoptions DIAGNOSTIC # cheap kernel consistency checks 271.1Ssoda#options DEBUG # expensive debugging checks/support 281.1Ssoda#options KMEMSTATS # kernel memory statistics (vmstat -m) 291.1Ssodaoptions DDB # in-kernel debugger 301.1Ssoda#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 311.1Ssoda#options KGDB # remote gdb 321.1Ssoda#options KGDBRATE=19200 # kernel gdb port rate (default 9600) 331.1Ssoda#options KGDBDEV="17*256+0" # device for kernel gdb 341.1Ssoda#makeoptions DEBUG="-g" # compile full symbol table 351.1Ssoda 361.1Ssoda# Compatibility options 371.1Ssodaoptions COMPAT_10 # NetBSD 1.0, 381.1Ssodaoptions COMPAT_11 # NetBSD 1.1, 391.1Ssodaoptions COMPAT_12 # NetBSD 1.2, 401.1Ssodaoptions COMPAT_13 # NetBSD 1.3, 411.1Ssodaoptions COMPAT_14 # NetBSD 1.4, 421.1Ssodaoptions COMPAT_43 # and 4.3BSD 431.1Ssodaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 441.1Ssoda 451.1Ssoda# mipsel specific 461.1Ssodaoptions COMPAT_ULTRIX # Ultrix binary compatibility 471.1Ssodaoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 481.1Ssoda 491.1Ssoda# File systems 501.1Ssodafile-system FFS # fast filesystem 511.1Ssodafile-system EXT2FS # second extended file system (linux) 521.1Ssodafile-system LFS # log-structured file system 531.1Ssodafile-system MFS # memory file system 541.1Ssodafile-system NTFS # Windows/NT file system (experimental) 551.1Ssodafile-system CD9660 # ISO 9660 + Rock Ridge file system 561.1Ssodafile-system MSDOSFS # MS-DOS file system 571.1Ssodafile-system NFS # Network File System client 581.1Ssodafile-system FDESC # /dev/fd 591.1Ssodafile-system KERNFS # /kern 601.1Ssodafile-system NULLFS # loopback file system 611.1Ssodafile-system OVERLAY # overlay file system 621.1Ssodafile-system PORTAL # portal filesystem (still experimental) 631.1Ssodafile-system PROCFS # /proc 641.1Ssodafile-system UMAPFS # NULLFS + uid and gid remapping 651.1Ssodafile-system UNION # union file system 661.1Ssoda#file-system CODA # Coda File System; also needs vcoda (below) 671.1Ssoda 681.1Ssoda# File system options 691.1Ssodaoptions QUOTA # FFS quotas 701.1Ssoda#options FFS_EI # FFS Endian Independent support 711.1Ssoda#options SOFTDEP # FFS soft updates support. 721.1Ssodaoptions NFSSERVER # Network File System server 731.1Ssoda#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 741.1Ssoda # immutable) behave as system flags. 751.1Ssoda 761.1Ssoda# Networking options 771.1Ssoda#options GATEWAY # IP packet forwarding 781.1Ssodaoptions INET # IP + ICMP + TCP + UDP 791.1Ssodaoptions INET6 # IPV6 801.1Ssoda#options IPSEC # IP security 811.1Ssoda#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 821.1Ssoda#options IPSEC_DEBUG # debug for IP security 831.1Ssoda#options MROUTING # IP multicast routing 841.1Ssodaoptions NS # XNS 851.1Ssoda#options NSIP # XNS tunneling over IP 861.1Ssodaoptions ISO,TPIP # OSI networking 871.2Ssommerfe#options EON # OSI tunneling over IP 881.1Ssodaoptions CCITT,LLC,HDLC # X.25 891.1Ssodaoptions NETATALK # AppleTalk networking protocols 901.1Ssodaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 911.1Ssodaoptions PPP_DEFLATE # Deflate compression support for PPP 921.1Ssodaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 931.1Ssodaoptions PFIL_HOOKS # pfil(9) packet filter hooks 941.1Ssodaoptions IPFILTER_LOG # ipmon(8) log support 951.1Ssoda 961.1Ssoda# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 971.1Ssoda#options TCP_COMPAT_42 981.1Ssoda 991.1Ssoda# These options enable verbose messages for several subsystems. 1001.1Ssoda# Warning, these may compile large string tables into the kernel! 1011.1Ssoda#options EISAVERBOSE # verbose EISA device autoconfig messages 1021.1Ssodaoptions PCIVERBOSE # verbose PCI device autoconfig messages 1031.1Ssoda#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1041.1Ssodaoptions SCSIVERBOSE # human readable SCSI error messages 1051.3Sur 1061.3Sur# wscons terminal emulation 1071.3Suroptions WSEMUL_VT100 # VT100 emulation 1081.1Ssoda 1091.1Ssoda# Kernel root file system and dump configuration. 1101.1Ssodaoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1111.1Ssodaconfig netbsd root on ? type ? 1121.1Ssoda#config netbsd root on sd0a type ffs 1131.1Ssoda#config netbsd root on ? type nfs 1141.1Ssoda 1151.1Ssoda# 1161.1Ssoda# Device configuration 1171.1Ssoda# 1181.1Ssoda 1191.1Ssodamainbus0 at root 1201.1Ssodacpu* at mainbus0 1211.1Ssoda 1221.1Ssoda#### Pica bus devices 1231.1Ssoda 1241.1Ssodapica* at mainbus0 # ACER Pica systems local bus. 1251.1Ssodaaclock0 at pica? 1261.1Ssodapc0 at pica? 1271.1Ssodaopms0 at pica? 1281.1Ssodacom0 at pica? 1291.1Ssodacom1 at pica? 1301.1Ssodalpt0 at pica? 1311.1Ssodasn0 at pica? 1321.1Ssoda 1331.1Ssodafdc0 at pica? 1341.1Ssodafd* at fdc? drive ? 1351.1Ssoda 1361.1Ssodaasc0 at pica? 1371.1Ssodascsibus* at asc? 1381.1Ssoda 1391.1Ssoda#siop0 at pica? 1401.1Ssoda#scsibus* at siop? 1411.1Ssoda 1421.1Ssoda#### ISA bus devices 1431.1Ssoda 1441.1Ssodaisabr* at mainbus0 # ISA Bus bridge (std ISA bus). 1451.1Ssodaisa* at isabr? 1461.1Ssoda#isadma0 at isa? 1471.1Ssoda 1481.1Ssodaaclock0 at isa? port 0x70 irq 0 1491.1Ssoda 1501.1Ssodapc0 at isa? port 0x60 irq 1 # generic PC console device 1511.1Ssodacom0 at isa? port 0x3f8 irq 4 1521.1Ssodacom1 at isa? port 0x2f8 irq 3 1531.1Ssodacom2 at isa? port 0x3e8 irq 4 1541.1Ssodacom3 at isa? port 0x2e8 irq 3 1551.1Ssodaast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 1561.1Ssodacom* at ast? slave ? 1571.1Ssoda 1581.1Ssoda# Joystick driver. Probe is a little strange; add only if you have one. 1591.1Ssoda#joy0 at isa? port 0x201 1601.1Ssoda 1611.1Ssoda# ISA ST506, ESDI, and IDE controllers 1621.1Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 1631.1Ssoda# fall back to 16bits I/O if 32bits I/O are not functional). 1641.1Ssoda# Some controllers pass the initial 32bit test, but will fail later. 1651.1Ssoda# XXX - should be configured 1661.1Ssoda#wdc0 at isa? port 0x1f0 irq 14 flags 0x00 1671.1Ssoda#wdc1 at isa? port 0x170 irq 15 flags 0x00 1681.1Ssoda#wdc* at isapnp? 1691.1Ssoda 1701.1Ssoda# IDE drives 1711.1Ssoda# Flags are used only with controllers that support DMA operations 1721.1Ssoda# and mode settings (e.g. some pciide controllers) 1731.1Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO 1741.1Ssoda# mode to use, the next set of four bits the DMA mode and the third set the 1751.1Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 1761.1Ssoda# to use, and the last bit must be 1 for this setting to be used. 1771.1Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'. 1781.1Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 1791.1Ssoda# (0xc=1100, 0xa=1010, 0xf=1111) 1801.1Ssoda# 0x0000 means "use whatever the drive claims to support". 1811.1Ssoda# XXX - should be configured 1821.1Ssoda#wd* at wdc? channel ? drive ? flags 0x0000 1831.1Ssoda 1841.1Ssoda# ATAPI bus support 1851.1Ssoda# XXX - should be configured 1861.1Ssoda#atapibus* at wdc? channel ? 1871.1Ssoda 1881.1Ssoda# ISA parallel printer interfaces 1891.1Ssodalpt0 at isa? port 0x378 irq 7 1901.1Ssoda 1911.1Ssoda# ISA network interfaces 1921.1Ssoda# XXX - should be configured 1931.1Ssoda#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 1941.1Ssoda#ep0 at isa? port ? irq ? # 3C509 ethernet cards 1951.1Ssoda#ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 1961.1Ssoda#ne1 at isa? port 0x300 irq 10 1971.1Ssoda#ne* at isapnp? # NE[12]000 PnP ethernet 1981.1Ssoda#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 1991.1Ssoda#we1 at isa? port 0x300 iomem 0xcc000 irq 10 2001.1Ssoda#we* at isapnp? 2011.1Ssoda 2021.1Ssoda# XXX - should be configured 2031.1Ssoda#btl0 at isa? port 0x330 irq ? drq ? 2041.1Ssoda#scsibus* at btl? 2051.1Ssoda 2061.1Ssoda#### Algor bus devices 2071.1Ssoda 2081.1Ssoda#algor* at mainbus0 # Algorithmics local bus. 2091.1Ssoda 2101.1Ssoda#aclock0 at algor? 2111.1Ssoda#com0 at algor? 2121.1Ssoda#com1 at algor? 2131.1Ssoda#lpt0 at algor? 2141.1Ssoda 2151.1Ssoda#### PCI bus devices 2161.1Ssoda 2171.1Ssodanecpb* at mainbus0 # NEC RISCstation PCI host bridge. 2181.1Ssodapci* at necpb? 2191.1Ssoda 2201.1Ssoda#pbcpcibr* at mainbus0 # Algorithmics PCI bus bridge. 2211.1Ssoda#pci* at pbcpcibr? 2221.1Ssoda 2231.1Ssoda#pcivga* at pci? dev ? function ? 2241.1Ssoda#siop* at pci? dev ? function ? 2251.1Ssoda#scsibus* at siop? 2261.1Ssoda#de* at pci? dev ? function ? 2271.1Ssoda 2281.1Ssodaex* at pci? dev ? function ? # 3Com 90x[B] 2291.1Ssodafxp* at pci? dev ? function ? # Intel EtherExpress PRO 2301.1Ssodale* at pci? dev ? function ? # PCnet-PCI 2311.1Ssodane* at pci? dev ? function ? # NE2000-compatible 2321.1Ssodatlp* at pci? dev ? function ? # DECchip 21x4x (and clones) 2331.1Ssoda#options TLP_MATCH_21040 2341.1Ssoda#options TLP_MATCH_21041 2351.1Ssoda#options TLP_MATCH_21140 2361.1Ssoda#options TLP_MATCH_21142 2371.1Ssoda 2381.1Ssoda# IDE and related devices 2391.1Ssoda# PCI IDE controllers - see pciide(4) for supported hardware. 2401.1Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 2411.1Ssoda# how to set up DMA modes for this chip. This may work, or may cause 2421.1Ssoda# a machine hang with some controllers. 2431.1Ssodapciide* at pci ? dev ? function ? flags 0x0000 2441.1Ssodawd* at pciide? channel ? drive ? flags 0x0000 2451.1Ssodaatapibus* at pciide? channel ? 2461.1Ssoda 2471.1Ssodatga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics 2481.1Ssodawsdisplay* at tga? 2491.1Ssodaahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 2501.1Ssodascsibus* at ahc? 2511.1Ssoda 2521.1Ssoda#### MII/PHY support 2531.1Ssoda 2541.1Ssodaexphy* at mii? phy ? # 3Com internal PHYs 2551.1Ssodaicsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 2561.1Ssodainphy* at mii? phy ? # Intel 82555 PHYs 2571.1Ssodaiophy* at mii? phy ? # Intel 82553 PHYs 2581.1Ssodalxtphy* at mii? phy ? # Level One LXT-970 PHYs 2591.1Ssodansphy* at mii? phy ? # NS83840 PHYs 2601.1Ssodansphyter* at mii? phy ? # NS83843 PHYs 2611.1Ssodaqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 2621.1Ssodasqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 2631.1Ssodatlphy* at mii? phy ? # ThunderLAN PHYs 2641.1Ssodatqphy* at mii? phy ? # TDK Semiconductor PHYs 2651.1Ssodaukphy* at mii? phy ? # generic unknown PHYs 2661.1Ssoda 2671.1Ssoda#### SCSI bus devices 2681.1Ssoda 2691.1Ssodasd* at scsibus? target ? lun ? 2701.1Ssodast* at scsibus? target ? lun ? 2711.1Ssodacd* at scsibus? target ? lun ? 2721.1Ssodach* at scsibus? target ? lun ? 2731.1Ssodass* at scsibus? target ? lun ? 2741.1Ssodauk* at scsibus? target ? lun ? 2751.1Ssoda 2761.1Ssoda#### ATAPI bus devices 2771.1Ssoda 2781.1Ssoda# flags have the same meaning as for IDE drives. 2791.1Ssodacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2801.1Ssodasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2811.1Ssodauk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2821.1Ssoda 2831.1Ssoda#### Pseudo devices 2841.1Ssoda 2851.1Ssoda# disk/mass storage pseudo-devices 2861.1Ssodapseudo-device ccd 4 # concatenated/striped disk devices 2871.1Ssoda#pseudo-device raid 4 # RAIDframe disk driver 2881.1Ssodapseudo-device md 1 # memory disk device (ramdisk) 2891.1Ssodapseudo-device vnd 4 # disk-like interface to files 2901.1Ssoda 2911.1Ssoda# network pseudo-devices 2921.1Ssodapseudo-device bpfilter 8 # Berkeley packet filter 2931.1Ssodapseudo-device ipfilter # IP filter (firewall) and NAT 2941.1Ssodapseudo-device loop 1 # network loopback 2951.1Ssodapseudo-device ppp 2 # Point-to-Point Protocol 2961.1Ssodapseudo-device sl 2 # Serial Line IP 2971.1Ssoda#pseudo-device strip 2 # Starmode Radio IP (Metricom) 2981.1Ssodapseudo-device tun 2 # network tunneling over tty 2991.1Ssoda#pseudo-device gre 2 # generic L3 over IP tunnel 3001.1Ssodapseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 3011.1Ssodapseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 3021.1Ssoda#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 3031.1Ssoda#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 3041.1Ssoda 3051.1Ssoda# miscellaneous pseudo-devices 3061.1Ssodapseudo-device pty 64 # pseudo-terminals 3071.1Ssodapseudo-device tb 1 # tablet line discipline 3081.1Ssoda#pseudo-device sequencer 1 # MIDI sequencer 3091.1Ssoda# rnd works; RND_COM does not on port arc yet. 3101.1Ssodapseudo-device rnd # /dev/random and in-kernel generator 3111.1Ssoda#options RND_COM # use "com" randomness as well (BROKEN) 3121.1Ssoda 3131.1Ssoda# a pseudo device needed for Coda # also needs CODA (above) 3141.1Ssoda#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3151.1Ssoda 3161.1Ssoda# mouse & keyboard multiplexor pseudo-devices 3171.1Ssoda#pseudo-device wsmux 2 318