GENERIC revision 1.24
11.24Sthorpej# $NetBSD: GENERIC,v 1.24 1996/05/16 03:13:27 thorpej Exp $ 21.1Sderaadt 31.24Sthorpej# Machine architecture; required by config(8) 41.1Sderaadtmachine sparc 51.1Sderaadt 61.24Sthorpej# Options for variants of the Sun SPARC architecure. 71.24Sthorpej# At least one is required. 81.24Sthorpejoptions SUN4 # sun4/100, sun4/200, sun4/300 91.24Sthorpejoptions SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc. 101.24Sthorpejoptions SUN4M # sun4m - SS10, SS20, Classic, etc. 111.24Sthorpej 121.24Sthorpej#options MMU_3L # 3-level MMU on sun4/400 131.24Sthorpej 141.24Sthorpej# obsolete timezone spec; optional 151.24Sthorpej#options TIMEZONE=0, DST=0 161.1Sderaadt 171.1Sderaadt# Standard system options 181.24Sthorpejoptions SWAPPAGER # swap and anonymous memory; required 191.24Sthorpejoptions VNODEPAGER # mapped files; required 201.24Sthorpejoptions DEVPAGER # mapped devices; required 211.24Sthorpejoptions KTRACE # system call tracing 221.24Sthorpejoptions SYSVMSG # System V message queues 231.24Sthorpejoptions SYSVSEM # System V semaphores 241.24Sthorpejoptions SYSVSHM # System V shared memory 251.24Sthorpej#options SHMMAXPGS=1024 # 1024 pages is the default 261.24Sthorpejoptions LKM # loadable kernel modules 271.24Sthorpej#options INSECURE # disable kernel security level 281.24Sthorpej 291.24Sthorpej# Debugging options 301.24Sthorpej#options DDB # kernel dynamic debugger 311.24Sthorpej#options DEBUG # kernel debugging code 321.24Sthorpej#options DIAGNOSTIC # extra kernel sanity checking 331.24Sthorpej#options KGDB # support for kernel gdb 341.24Sthorpej#options KGDBDEV=0xc01 # kgdb device number (dev_t) 351.24Sthorpej#options KGDBRATE=38400 # baud rate 361.24Sthorpej 371.24Sthorpej# Compatibility options 381.24Sthorpejoptions COMPAT_43 # 4.3BSD system interfaces 391.24Sthorpejoptions COMPAT_10 # NetBSD 1.0 binary compatibility 401.24Sthorpejoptions COMPAT_11 # NetBSD 1.1 binary compatibility 411.24Sthorpejoptions COMPAT_SUNOS # SunOS 4.x binary compatibility 421.24Sthorpejoptions COMPAT_SVR4 # SunOS 5.x binary compatibility 431.1Sderaadt 441.1Sderaadt# Filesystem options 451.24Sthorpejoptions FFS # Berkeley Fast Filesystem 461.24Sthorpejoptions QUOTA # FFS quotas 471.24Sthorpejoptions NFSSERVER # Sun NFS-compatible filesystem server 481.24Sthorpejoptions NFSCLIENT # Sun NFS-compatible filesystem client 491.1Sderaadtoptions KERNFS # kernel data-structure filesystem 501.24Sthorpejoptions NULLFS # NULL layered filesystem 511.6Spkoptions MFS # memory-based filesystem 521.6Spkoptions FDESC # user file descriptor filesystem 531.6Spkoptions UMAPFS # uid/gid remapping filesystem 541.6Spkoptions LFS # Log-based filesystem (still experimental) 551.6Spkoptions PORTAL # portal filesystem (still experimental) 561.6Spkoptions PROCFS # /proc 571.5Spkoptions CD9660 # ISO 9660 + Rock Ridge file system 581.8Spkoptions UNION # union file system 591.24Sthorpejoptions FIFO # POSIX fifo support (in all filesystems) 601.1Sderaadt 611.1Sderaadt# Networking options 621.24Sthorpejoptions INET # IP stack 631.1Sderaadtoptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 641.1Sderaadt#options GATEWAY # IP packet forwarding 651.24Sthorpej#options ISO,TPIP # OSI networking 661.24Sthorpej#options EON # OSI tunneling over IP 671.24Sthorpej#options CCITT,LLC,HDLC # X.25 681.1Sderaadt 691.1Sderaadt# Options for SPARCstation hardware 701.24Sthorpejoptions RASTERCONSOLE # fast rasterop console 711.1Sderaadt 721.24Sthorpej# Generic swap; second partition of root disk or network. 731.5Spkconfig netbsd swap generic 741.1Sderaadt 751.24Sthorpej# Main bus and CPU .. all systems. 761.1Sderaadtmainbus0 at root 771.1Sderaadtcpu0 at mainbus0 781.1Sderaadt 791.24Sthorpej# Bus types found on SPARC systems. 801.24Sthorpejsbus0 at mainbus0 # sun4c 811.24Sthorpejobio0 at mainbus0 # sun4 and sun4m 821.24Sthorpejvmes0 at mainbus0 # sun4 831.24Sthorpejvmel0 at mainbus0 # sun4 841.22Spkiommu0 at mainbus0 # sun4m 851.22Spksbus0 at iommu0 # sun4m 861.1Sderaadt 871.24Sthorpejaudio0 at mainbus0 # sun4c 881.22Spkaudio0 at obio0 # sun4m 891.24Sthorpej 901.24Sthorpejauxreg0 at mainbus0 # sun4c 911.22Spkauxreg0 at obio0 # sun4m 921.24Sthorpej 931.24Sthorpej# Mostek clock found on 4/300, sun4c, and sun4m systems. 941.24Sthorpej# The Mostek clock NVRAM is the "eeprom" on sun4/300 systems. 951.24Sthorpejclock0 at mainbus0 # sun4c 961.22Spkclock0 at obio0 # sun4m 971.24Sthorpejclock0 at obio0 addr 0xf2000000 # sun4/300 981.24Sthorpej 991.24Sthorpej# Intersil clock found on 4/100 and 4/200 systems. 1001.24Sthorpejoclock0 at obio0 addr 0xf3000000 # sun4/200 1011.24Sthorpejoclock0 at obio0 addr 0x03000000 # sun4/100 1021.24Sthorpej 1031.24Sthorpej# Memory error registers. 1041.24Sthorpejmemreg0 at mainbus0 # sun4c 1051.22Spkmemreg0 at obio0 # sun4m 1061.24Sthorpejmemreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300 1071.24Sthorpejmemreg0 at obio0 addr 0x04000000 # sun4/100 1081.24Sthorpej 1091.24Sthorpej# Timer chip found on 4/300, sun4c, and sun4m systems. 1101.24Sthorpejtimer0 at mainbus0 # sun4c 1111.22Spktimer0 at obio0 # sun4m 1121.24Sthorpejtimer0 at obio0 addr 0xef000000 # sun4/300 1131.24Sthorpej 1141.24Sthorpej# EEPROM found on 4/100 and 4/200 systems. Note that the 4/300 1151.24Sthorpej# doesn't use this driver; the `EEPROM' is in the NVRAM on the 1161.24Sthorpej# Mostek clock chip on 4/300 systems. 1171.24Sthorpejeeprom0 at obio0 addr 0xf2000000 # sun4/200 1181.24Sthorpejeeprom0 at obio0 addr 0x02000000 # sun4/100 1191.24Sthorpej 1201.24Sthorpej# Zilog 8530 serial chips. Each has two-channels. 1211.24Sthorpej# zs0 is ttya and ttyb. zs1 is the keyboard and mouse. 1221.24Sthorpejzs0 at mainbus0 # sun4c 1231.24Sthorpejzs0 at obio0 # sun4m 1241.24Sthorpejzs0 at obio0 addr 0xf1000000 level 12 flags 0x103 # sun4/200 and sun4/300 1251.24Sthorpejzs0 at obio0 addr 0x01000000 level 12 flags 0x103 # sun4/100 1261.24Sthorpejzs1 at mainbus0 # sun4c 1271.24Sthorpejzs1 at obio0 # sun4m 1281.24Sthorpejzs1 at obio0 addr 0xf0000000 level 12 flags 0x103 # sun4/200 and sun4/300 1291.24Sthorpejzs1 at obio0 addr 0x00000000 level 12 flags 0x103 # sun4/100 1301.24Sthorpejzs2 at obio0 addr 0xe0000000 level 12 flags 0x103 # sun4/300 1311.24Sthorpej 1321.24Sthorpej# FSBE/S or sun4m SCSI - an NCR53c94 or equivalent behind 1331.24Sthorpej# specialized DMA glue 1341.24Sthorpejespdma0 at sbus0 slot ? offset ? # sun4m on-board SCSI 1351.1Sderaadtesp0 at espdma? slot ? offset ? 1361.24Sthorpej 1371.24Sthorpejespdma* at sbus? slot ? offset ? # sun4m 1381.1Sderaadtesp* at espdma? slot ? offset ? 1391.1Sderaadt 1401.24Sthorpej# sun4c and sun4/300 SCSI - an NCR53c94 or equivalent behind 1411.24Sthorpej# an LSI Logic DMA controller 1421.24Sthorpejdma0 at obio0 addr 0xfa001000 level 4 # sun4/300 1431.1Sderaadtesp0 at obio0 addr 0xfa000000 level 4 1441.1Sderaadt 1451.24Sthorpejdma0 at sbus0 slot ? offset ? # sun4c on-board SCSI 1461.24Sthorpejesp0 at sbus0 slot ? offset ? 1471.24Sthorpej 1481.24Sthorpejdma* at sbus? slot ? offset ? # sun4c 1491.24Sthorpejesp* at sbus? slot ? offset ? 1501.24Sthorpej 1511.24Sthorpej# sun4m Ethernet - an AMD 7990 LANCE behind 1521.24Sthorpej# specialized DMA glue 1531.24Sthorpejledma0 at sbus0 slot ? offset ? # sun4m on-board 1541.24Sthorpejle0 at ledma0 slot ? offset ? 1551.24Sthorpej 1561.24Sthorpej# sun4/300 and sun4c Ethernet - an AMD 7990 LANCE 1571.24Sthorpejle0 at sbus0 slot ? offset ? # sun4c on-board 1581.1Sderaadtle* at sbus? slot ? offset ? 1591.1Sderaadt 1601.24Sthorpejle0 at obio0 addr 0xf9000000 level 6 # sun4/300 1611.24Sthorpej 1621.24Sthorpej# sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board 1631.24Sthorpej# or on a Multibus/VME card. 1641.24Sthorpejie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board 1651.24Sthorpejie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board 1661.23Spk 1671.3Sderaadtie1 at vmes0 addr 0xffe88000 level 5 vect 0x75 1681.3Sderaadtie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76 1691.3Sderaadtie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77 1701.3Sderaadtie4 at vmes0 addr 0xff2dff02 level 5 vect 0x7c 1711.9Spk 1721.24Sthorpej# Xylogics 753 or 7053 VME SMD disk controllers and disks, found 1731.24Sthorpej# on sun4 systems. 1741.9Spkxdc0 at vmel0 addr 0xffffee80 level 3 vect 0x44 1751.9Spkxdc1 at vmel0 addr 0xffffee90 level 3 vect 0x45 1761.9Spkxdc2 at vmel0 addr 0xffffeea0 level 3 vect 0x46 1771.9Spkxdc3 at vmel0 addr 0xffffeeb0 level 3 vect 0x47 1781.9Spkxd* at xdc? drive ? 1791.16Schuck 1801.24Sthorpej# Xylogics 451 or 451 VME SMD disk controllers and disks, found 1811.24Sthorpej# on sun4 systems. 1821.16Schuckxyc0 at vmes0 addr 0xffffee40 level 3 vect 0x48 1831.16Schuckxyc1 at vmes0 addr 0xffffee48 level 3 vect 0x49 1841.16Schuckxy* at xyc? drive ? 1851.10Spk 1861.24Sthorpej# NCR5380-based "Sun SCSI 3" VME SCSI controller. 1871.24Sthorpej# This driver has several flags which may be enabled by OR'ing 1881.24Sthorpej# the values and using the "flags" directive. 1891.24Sthorpej# Valid flags are: 1901.24Sthorpej# 1911.24Sthorpej# 0x01 Use DMA (may be polled) 1921.24Sthorpej# 0x02 Use DMA completion interrupts 1931.24Sthorpej# 0x04 Allow disconnect/reselect 1941.24Sthorpej# 1951.24Sthorpej# E.g. the following would enable DMA, interrupts, and reselect: 1961.24Sthorpej# si0 at vmes0 addr 0xff200000 level 3 vect 0x40 flags 0x07 1971.24Sthorpej# 1981.24Sthorpej# By default, DMA is enabled in the driver. 1991.20Sthorpejsi0 at vmes0 addr 0xff200000 level 3 vect 0x40 2001.24Sthorpej 2011.24Sthorpej# NCR5380-based "SCSI Weird" on-board SCSI interface found 2021.24Sthorpej# on sun4/100 systems. The flags are the same as the "si" 2031.24Sthorpej# controller. Note, while DMA is enabled by default, only 2041.24Sthorpej# polled DMA works at this time, and reselects do not work 2051.24Sthorpej# on this particular controller. 2061.20Sthorpejsw0 at obio0 addr 0x0a000000 level 3 2071.1Sderaadt 2081.24Sthorpej# Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m 2091.24Sthorpej# systems. If your sun4 system has a cgfour installed in the P4 slot, 2101.24Sthorpej# the P4 entries for "bwtwo" will attach to the overlay plane of the 2111.24Sthorpej# "cgfour". 2121.24Sthorpejbwtwo0 at sbus0 slot ? offset ? # sun4c on-board 2131.24Sthorpejbwtwo* at sbus? slot ? offset ? # sun4c and sun4m 2141.24Sthorpejbwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200 2151.24Sthorpejbwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot 2161.24Sthorpejbwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot 2171.21Sthorpej 2181.24Sthorpej# Sun "cgtwo" VME color framebuffer 2191.17Spkcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xa8 2201.21Sthorpej 2211.24Sthorpej# Sun "cgthree" Sbus color framebuffer 2221.1Sderaadtcgthree0 at sbus? slot ? offset ? 2231.1Sderaadtcgthree* at sbus? slot ? offset ? 2241.22Spk#cgthree0 at obio? slot ? offset ? # sun4m 2251.22Spk#cgthree* at obio? slot ? offset ? # sun4m 2261.21Sthorpej 2271.24Sthorpej# Sun "cgfour" color framebuffer with overlay plane. See above comment 2281.24Sthorpej# regarding overlay plane. 2291.24Sthorpejcgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4 2301.24Sthorpejcgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4 2311.21Sthorpej 2321.24Sthorpej# Sun "cgsix" accelerated color framebuffer. 2331.21Sthorpejcgsix0 at sbus? slot ? offset ? 2341.21Sthorpejcgsix* at sbus? slot ? offset ? 2351.24Sthorpejcgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4 2361.24Sthorpejcgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4 2371.21Sthorpej 2381.24Sthorpej# Sun "cgeight" 24-bit framebuffer 2391.24Sthorpejcgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4 2401.24Sthorpejcgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4 2411.1Sderaadt 2421.24Sthorpej# SCSI bus layer. SCSI devices attach to the SCSI bus, which attaches 2431.24Sthorpej# to the underlying hardware controller. 2441.1Sderaadtscsibus* at esp? 2451.13Spkscsibus* at si? 2461.13Spkscsibus* at sw? 2471.1Sderaadt 2481.24Sthorpej# These entries find devices on all SCSI busses and assign 2491.24Sthorpej# unit numers dynamically. 2501.24Sthorpejsd* at scsibus? target ? lun ? # SCSI disks 2511.24Sthorpejst* at scsibus? target ? lun ? # SCSI tapes 2521.24Sthorpejcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2531.24Sthorpejch* at scsibus? target ? lun ? # SCSI changer devices 2541.24Sthorpej 2551.24Sthorpej# Floppy controller and drive found on SPARCstations. 2561.24Sthorpejfdc0 at mainbus0 # sun4c controller 2571.24Sthorpejfdc0 at obio0 # sun4m controller 2581.24Sthorpejfd* at fdc0 # the drive itself 2591.24Sthorpej 2601.24Sthorpejpseudo-device loop # loopback interface; required 2611.24Sthorpejpseudo-device pty 32 # pseudo-ttys (for network, etc.) 2621.24Sthorpejpseudo-device sl 2 # SLIP interfaces 2631.24Sthorpejpseudo-device kbd # Sun keyboard 2641.24Sthorpejpseudo-device ppp 2 # PPP interfaces 2651.24Sthorpejpseudo-device tun 4 # Network "tunnel" device 2661.24Sthorpejpseudo-device bpfilter 16 # Berkeley Packet Filter 2671.24Sthorpejpseudo-device vnd 4 # disk-like interface to files 2681.24Sthorpejpseudo-device ccd 4 # concatenated and striped disks 269