GENERIC revision 1.40
11.40Sthorpej# $NetBSD: GENERIC,v 1.40 1997/01/31 02:06:41 thorpej Exp $ 21.1Sderaadt 31.32Smrginclude "arch/sparc/conf/std.sparc" 41.32Smrg 51.24Sthorpej# Options for variants of the Sun SPARC architecure. 61.24Sthorpej# At least one is required. 71.24Sthorpejoptions SUN4 # sun4/100, sun4/200, sun4/300 81.24Sthorpejoptions SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc. 91.24Sthorpejoptions SUN4M # sun4m - SS10, SS20, Classic, etc. 101.24Sthorpej 111.35Spk#options MMU_3L # 3-level MMU on sun4/400; (incomplete) 121.1Sderaadt 131.1Sderaadt# Standard system options 141.24Sthorpejoptions KTRACE # system call tracing 151.24Sthorpejoptions SYSVMSG # System V message queues 161.24Sthorpejoptions SYSVSEM # System V semaphores 171.24Sthorpejoptions SYSVSHM # System V shared memory 181.24Sthorpej#options SHMMAXPGS=1024 # 1024 pages is the default 191.24Sthorpejoptions LKM # loadable kernel modules 201.24Sthorpej#options INSECURE # disable kernel security level 211.28Spk#options UCONSOLE # allow anyone to steal the virtual console 221.24Sthorpej 231.24Sthorpej# Debugging options 241.37Smrg#options DDB # kernel dynamic debugger 251.37Smrg#options DEBUG # kernel debugging code 261.37Smrg#options DIAGNOSTIC # extra kernel sanity checking 271.37Smrg#options KGDB # support for kernel gdb 281.37Smrg#options KGDBDEV=0xc01 # kgdb device number (dev_t) 291.37Smrg#options KGDBRATE=38400 # baud rate 301.24Sthorpej 311.24Sthorpej# Compatibility options 321.24Sthorpejoptions COMPAT_43 # 4.3BSD system interfaces 331.24Sthorpejoptions COMPAT_10 # NetBSD 1.0 binary compatibility 341.24Sthorpejoptions COMPAT_11 # NetBSD 1.1 binary compatibility 351.31Smrgoptions COMPAT_12 # NetBSD 1.2 binary compatibility 361.24Sthorpejoptions COMPAT_SUNOS # SunOS 4.x binary compatibility 371.24Sthorpejoptions COMPAT_SVR4 # SunOS 5.x binary compatibility 381.32Smrgoptions EXEC_ELF32 # Exec module for SunOS 5.x binaries. 391.1Sderaadt 401.1Sderaadt# Filesystem options 411.40Sthorpejfile-system FFS # Berkeley Fast Filesystem 421.40Sthorpejfile-system NFS # Sun NFS-compatible filesystem client 431.40Sthorpejfile-system KERNFS # kernel data-structure filesystem 441.40Sthorpejfile-system NULLFS # NULL layered filesystem 451.40Sthorpejfile-system MFS # memory-based filesystem 461.40Sthorpejfile-system FDESC # user file descriptor filesystem 471.40Sthorpejfile-system UMAPFS # uid/gid remapping filesystem 481.40Sthorpejfile-system LFS # Log-based filesystem (still experimental) 491.40Sthorpejfile-system PORTAL # portal filesystem (still experimental) 501.40Sthorpejfile-system PROCFS # /proc 511.40Sthorpejfile-system CD9660 # ISO 9660 + Rock Ridge file system 521.40Sthorpejfile-system UNION # union file system 531.40Sthorpejfile-system NSDOSFS # MS-DOS FAT filesystem(s). 541.40Sthorpej 551.40Sthorpejoptions NFSSERVER # Sun NFS-compatible filesystem server 561.24Sthorpejoptions QUOTA # FFS quotas 571.24Sthorpejoptions FIFO # POSIX fifo support (in all filesystems) 581.1Sderaadt 591.1Sderaadt# Networking options 601.24Sthorpejoptions INET # IP stack 611.1Sderaadtoptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 621.1Sderaadt#options GATEWAY # IP packet forwarding 631.24Sthorpej#options ISO,TPIP # OSI networking 641.24Sthorpej#options EON # OSI tunneling over IP 651.24Sthorpej#options CCITT,LLC,HDLC # X.25 661.37Smrg#options PFIL_HOOKS # pfil(9) packet filter hooks. 671.1Sderaadt 681.1Sderaadt# Options for SPARCstation hardware 691.24Sthorpejoptions RASTERCONSOLE # fast rasterop console 701.1Sderaadt 711.24Sthorpej# Generic swap; second partition of root disk or network. 721.40Sthorpejconfig netbsd root on ? type ? 731.1Sderaadt 741.24Sthorpej# Main bus and CPU .. all systems. 751.1Sderaadtmainbus0 at root 761.1Sderaadtcpu0 at mainbus0 771.1Sderaadt 781.24Sthorpej# Bus types found on SPARC systems. 791.24Sthorpejsbus0 at mainbus0 # sun4c 801.24Sthorpejobio0 at mainbus0 # sun4 and sun4m 811.24Sthorpejvmes0 at mainbus0 # sun4 821.24Sthorpejvmel0 at mainbus0 # sun4 831.22Spkiommu0 at mainbus0 # sun4m 841.22Spksbus0 at iommu0 # sun4m 851.1Sderaadt 861.24Sthorpejaudio0 at mainbus0 # sun4c 871.22Spkaudio0 at obio0 # sun4m 881.34Spkaudio0 at sbus0 slot ? offset ? # sun4m 891.24Sthorpej 901.24Sthorpejauxreg0 at mainbus0 # sun4c 911.22Spkauxreg0 at obio0 # sun4m 921.27Sabrown 931.27Sabrown# Power status and control register found on Sun4m systems 941.27Sabrownpower0 at obio0 951.24Sthorpej 961.24Sthorpej# Mostek clock found on 4/300, sun4c, and sun4m systems. 971.24Sthorpej# The Mostek clock NVRAM is the "eeprom" on sun4/300 systems. 981.24Sthorpejclock0 at mainbus0 # sun4c 991.22Spkclock0 at obio0 # sun4m 1001.24Sthorpejclock0 at obio0 addr 0xf2000000 # sun4/300 1011.24Sthorpej 1021.24Sthorpej# Intersil clock found on 4/100 and 4/200 systems. 1031.24Sthorpejoclock0 at obio0 addr 0xf3000000 # sun4/200 1041.24Sthorpejoclock0 at obio0 addr 0x03000000 # sun4/100 1051.24Sthorpej 1061.24Sthorpej# Memory error registers. 1071.24Sthorpejmemreg0 at mainbus0 # sun4c 1081.22Spkmemreg0 at obio0 # sun4m 1091.24Sthorpejmemreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300 1101.24Sthorpejmemreg0 at obio0 addr 0x04000000 # sun4/100 1111.24Sthorpej 1121.24Sthorpej# Timer chip found on 4/300, sun4c, and sun4m systems. 1131.24Sthorpejtimer0 at mainbus0 # sun4c 1141.22Spktimer0 at obio0 # sun4m 1151.24Sthorpejtimer0 at obio0 addr 0xef000000 # sun4/300 1161.24Sthorpej 1171.24Sthorpej# EEPROM found on 4/100 and 4/200 systems. Note that the 4/300 1181.24Sthorpej# doesn't use this driver; the `EEPROM' is in the NVRAM on the 1191.24Sthorpej# Mostek clock chip on 4/300 systems. 1201.24Sthorpejeeprom0 at obio0 addr 0xf2000000 # sun4/200 1211.24Sthorpejeeprom0 at obio0 addr 0x02000000 # sun4/100 1221.24Sthorpej 1231.24Sthorpej# Zilog 8530 serial chips. Each has two-channels. 1241.24Sthorpej# zs0 is ttya and ttyb. zs1 is the keyboard and mouse. 1251.24Sthorpejzs0 at mainbus0 # sun4c 1261.24Sthorpejzs0 at obio0 # sun4m 1271.24Sthorpejzs0 at obio0 addr 0xf1000000 level 12 flags 0x103 # sun4/200 and sun4/300 1281.24Sthorpejzs0 at obio0 addr 0x01000000 level 12 flags 0x103 # sun4/100 1291.24Sthorpejzs1 at mainbus0 # sun4c 1301.24Sthorpejzs1 at obio0 # sun4m 1311.24Sthorpejzs1 at obio0 addr 0xf0000000 level 12 flags 0x103 # sun4/200 and sun4/300 1321.24Sthorpejzs1 at obio0 addr 0x00000000 level 12 flags 0x103 # sun4/100 1331.24Sthorpejzs2 at obio0 addr 0xe0000000 level 12 flags 0x103 # sun4/300 1341.24Sthorpej 1351.26Spk# 1361.26Spk# Note the flags on the esp entries below, that work around 1371.26Spk# deficiencies in the current driver: 1381.26Spk# bits 0-7: disable disconnect/reselect for the corresponding target 1391.28Spk# bits 8-15: disable synch negotiation for target [bit-8] 1401.30Spk# Note: targets 4-7 have disconnect/reselect enabled on the premise 1411.30Spk# that tape devices normally have one of these targets. Tape 1421.30Spk# devices should be allowed to disconnect for the SCSI bus 1431.30Spk# to operate acceptably. 1441.26Spk# 1451.26Spk 1461.25Spk# sun4/300 SCSI - an NCR53c94 or equivalent behind 1471.24Sthorpej# an LSI Logic DMA controller 1481.24Sthorpejdma0 at obio0 addr 0xfa001000 level 4 # sun4/300 1491.30Spkesp0 at obio0 addr 0xfa000000 level 4 flags 0xff0f # 1501.1Sderaadt 1511.28Spk# sun4c or sun4m SCSI - an NCR53c94 or equivalent behind 1521.28Spk# specialized DMA glue 1531.28Spkdma0 at sbus0 slot ? offset ? # on-board SCSI 1541.30Spkesp0 at sbus0 slot ? offset ? flags 0xff0f # sun4c 1551.30Spkesp0 at dma0 flags 0xff0f # sun4m 1561.24Sthorpej 1571.28Spk# FSBE/S SCSI - an NCR53c94 or equivalent behind 1581.25Spkdma* at sbus? slot ? offset ? # SBus SCSI 1591.30Spkesp* at sbus? slot ? offset ? flags 0xff0f # two flavours 1601.30Spkesp* at dma? flags 0xff0f # depending on model 1611.24Sthorpej 1621.24Sthorpej# sun4m Ethernet - an AMD 7990 LANCE behind 1631.24Sthorpej# specialized DMA glue 1641.24Sthorpejledma0 at sbus0 slot ? offset ? # sun4m on-board 1651.25Spkle0 at ledma0 # 1661.25Spk 1671.36Spk# Additional SBus LANCE devices - glued on by lebuffer 1681.36Spklebuffer0 at sbus0 slot ? offset ? # sun4m SBus 1691.36Spklebuffer* at sbus? slot ? offset ? # sun4m SBus 1701.36Spkle0 at lebuffer0 # 1711.36Spkle* at lebuffer? # 1721.24Sthorpej 1731.24Sthorpej# sun4/300 and sun4c Ethernet - an AMD 7990 LANCE 1741.24Sthorpejle0 at sbus0 slot ? offset ? # sun4c on-board 1751.1Sderaadtle* at sbus? slot ? offset ? 1761.1Sderaadt 1771.24Sthorpejle0 at obio0 addr 0xf9000000 level 6 # sun4/300 1781.24Sthorpej 1791.24Sthorpej# sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board 1801.24Sthorpej# or on a Multibus/VME card. 1811.24Sthorpejie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board 1821.24Sthorpejie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board 1831.23Spk 1841.3Sderaadtie1 at vmes0 addr 0xffe88000 level 5 vect 0x75 1851.3Sderaadtie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76 1861.3Sderaadtie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77 1871.3Sderaadtie4 at vmes0 addr 0xff2dff02 level 5 vect 0x7c 1881.9Spk 1891.24Sthorpej# Xylogics 753 or 7053 VME SMD disk controllers and disks, found 1901.24Sthorpej# on sun4 systems. 1911.9Spkxdc0 at vmel0 addr 0xffffee80 level 3 vect 0x44 1921.9Spkxdc1 at vmel0 addr 0xffffee90 level 3 vect 0x45 1931.9Spkxdc2 at vmel0 addr 0xffffeea0 level 3 vect 0x46 1941.9Spkxdc3 at vmel0 addr 0xffffeeb0 level 3 vect 0x47 1951.9Spkxd* at xdc? drive ? 1961.16Schuck 1971.24Sthorpej# Xylogics 451 or 451 VME SMD disk controllers and disks, found 1981.24Sthorpej# on sun4 systems. 1991.16Schuckxyc0 at vmes0 addr 0xffffee40 level 3 vect 0x48 2001.16Schuckxyc1 at vmes0 addr 0xffffee48 level 3 vect 0x49 2011.16Schuckxy* at xyc? drive ? 2021.10Spk 2031.24Sthorpej# NCR5380-based "Sun SCSI 3" VME SCSI controller. 2041.24Sthorpej# This driver has several flags which may be enabled by OR'ing 2051.24Sthorpej# the values and using the "flags" directive. 2061.24Sthorpej# Valid flags are: 2071.24Sthorpej# 2081.24Sthorpej# 0x01 Use DMA (may be polled) 2091.24Sthorpej# 0x02 Use DMA completion interrupts 2101.24Sthorpej# 0x04 Allow disconnect/reselect 2111.24Sthorpej# 2121.24Sthorpej# E.g. the following would enable DMA, interrupts, and reselect: 2131.24Sthorpej# si0 at vmes0 addr 0xff200000 level 3 vect 0x40 flags 0x07 2141.24Sthorpej# 2151.24Sthorpej# By default, DMA is enabled in the driver. 2161.20Sthorpejsi0 at vmes0 addr 0xff200000 level 3 vect 0x40 2171.24Sthorpej 2181.24Sthorpej# NCR5380-based "SCSI Weird" on-board SCSI interface found 2191.24Sthorpej# on sun4/100 systems. The flags are the same as the "si" 2201.24Sthorpej# controller. Note, while DMA is enabled by default, only 2211.24Sthorpej# polled DMA works at this time, and reselects do not work 2221.24Sthorpej# on this particular controller. 2231.20Sthorpejsw0 at obio0 addr 0x0a000000 level 3 2241.1Sderaadt 2251.24Sthorpej# Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m 2261.24Sthorpej# systems. If your sun4 system has a cgfour installed in the P4 slot, 2271.24Sthorpej# the P4 entries for "bwtwo" will attach to the overlay plane of the 2281.24Sthorpej# "cgfour". 2291.24Sthorpejbwtwo0 at sbus0 slot ? offset ? # sun4c on-board 2301.24Sthorpejbwtwo* at sbus? slot ? offset ? # sun4c and sun4m 2311.24Sthorpejbwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200 2321.24Sthorpejbwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot 2331.24Sthorpejbwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot 2341.21Sthorpej 2351.24Sthorpej# Sun "cgtwo" VME color framebuffer 2361.17Spkcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xa8 2371.21Sthorpej 2381.24Sthorpej# Sun "cgthree" Sbus color framebuffer 2391.1Sderaadtcgthree0 at sbus? slot ? offset ? 2401.1Sderaadtcgthree* at sbus? slot ? offset ? 2411.22Spk#cgthree0 at obio? slot ? offset ? # sun4m 2421.22Spk#cgthree* at obio? slot ? offset ? # sun4m 2431.21Sthorpej 2441.24Sthorpej# Sun "cgfour" color framebuffer with overlay plane. See above comment 2451.24Sthorpej# regarding overlay plane. 2461.24Sthorpejcgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4 2471.24Sthorpejcgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4 2481.21Sthorpej 2491.24Sthorpej# Sun "cgsix" accelerated color framebuffer. 2501.21Sthorpejcgsix0 at sbus? slot ? offset ? 2511.21Sthorpejcgsix* at sbus? slot ? offset ? 2521.24Sthorpejcgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4 2531.24Sthorpejcgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4 2541.21Sthorpej 2551.24Sthorpej# Sun "cgeight" 24-bit framebuffer 2561.24Sthorpejcgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4 2571.24Sthorpejcgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4 2581.29Spk 2591.29Spk# Sun "tcx" accelerated color framebuffer. 2601.29Spktcx0 at sbus? slot ? offset ? 2611.29Spktcx* at sbus? slot ? offset ? 2621.33Sabrown 2631.33Sabrown# Sun "cgfourteen" accelerated 24-bit framebuffer. 2641.33Sabrowncgfourteen0 at obio0 # sun4m 2651.1Sderaadt 2661.24Sthorpej# SCSI bus layer. SCSI devices attach to the SCSI bus, which attaches 2671.24Sthorpej# to the underlying hardware controller. 2681.1Sderaadtscsibus* at esp? 2691.13Spkscsibus* at si? 2701.13Spkscsibus* at sw? 2711.1Sderaadt 2721.24Sthorpej# These entries find devices on all SCSI busses and assign 2731.34Spk# unit numbers dynamically. 2741.24Sthorpejsd* at scsibus? target ? lun ? # SCSI disks 2751.24Sthorpejst* at scsibus? target ? lun ? # SCSI tapes 2761.24Sthorpejcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2771.24Sthorpejch* at scsibus? target ? lun ? # SCSI changer devices 2781.24Sthorpej 2791.24Sthorpej# Floppy controller and drive found on SPARCstations. 2801.24Sthorpejfdc0 at mainbus0 # sun4c controller 2811.24Sthorpejfdc0 at obio0 # sun4m controller 2821.24Sthorpejfd* at fdc0 # the drive itself 2831.24Sthorpej 2841.24Sthorpejpseudo-device loop # loopback interface; required 2851.24Sthorpejpseudo-device pty 32 # pseudo-ttys (for network, etc.) 2861.24Sthorpejpseudo-device sl 2 # SLIP interfaces 2871.24Sthorpejpseudo-device kbd # Sun keyboard 2881.24Sthorpejpseudo-device ppp 2 # PPP interfaces 2891.24Sthorpejpseudo-device tun 4 # Network "tunnel" device 2901.24Sthorpejpseudo-device bpfilter 16 # Berkeley Packet Filter 2911.24Sthorpejpseudo-device vnd 4 # disk-like interface to files 2921.24Sthorpejpseudo-device ccd 4 # concatenated and striped disks 2931.28Spk#pseudo-device strip 1 # radio clock 2941.38Smrg#pseudo-device ipfilter # ip filter 295