GENERIC32 revision 1.14
11.14Smrg# $NetBSD: GENERIC32,v 1.14 2001/03/02 07:50:08 mrg Exp $ 21.1Seeh 31.1Seehinclude "arch/sparc64/conf/std.sparc64" 41.1Seeh 51.14Smrg#ident "GENERIC-$Revision: 1.14 $" 61.1Seeh 71.8Seehmaxusers 64 81.1Seeh 91.1Seeh## System kernel configuration. See options(4) for more detail. 101.1Seeh 111.1Seeh 121.1Seeh# Options for variants of the Sun SPARC architecure. 131.1Seeh# We currently support three architecture types; at least one is required. 141.14Smrgoptions SUN4U # sun4u - UltraSPARC 151.1Seeh#options _LP64 # we're using a 64-bit compiler 161.1Seeh 171.1Seeh## System options specific to the sparc machine type 181.1Seeh 191.1Seeh## Use a faster console than the PROM's slow drawing routines. Not needed 201.1Seeh## for headless (no framebuffer) machines. 211.8Seeh# XXX borken on sparc64 221.1Seeh#options RASTERCONSOLE # fast rasterop console 231.1Seeh#options FONT_GALLANT12x22 # the console font 241.1Seeh#options FONT_BOLD8x16 # a somewhat smaller font 251.1Seeh 261.1Seeh#### System options that are the same for all ports 271.1Seeh 281.1Seeh## Root device configuration: change the ?'s if you are going to use a 291.1Seeh## nonstandard root partition (other than where the kernel is booted from) 301.1Seeh## and/or nonstandard root type (not ffs or nfs). Normally this can be 311.1Seeh## automagically determined at boot time. 321.1Seeh 331.1Seehconfig netbsd root on ? type ? 341.1Seeh 351.1Seeh## UVM options. 361.1Seeh#options UVM_PAGE_TRKOWN 371.1Seeh#options UVMHIST 381.1Seeh#options UVMHIST_PRINT # Loud! 391.1Seeh 401.1Seeh## System call tracing (see ktrace(1)). 411.1Seehoptions KTRACE 421.1Seeh 431.1Seeh## Collect statistics on kernel malloc's and free's. This does have a 441.1Seeh## significant performance hit on slower machines, so it is intended for 451.1Seeh## diagnostic use only. 461.1Seeh#options KMEMSTATS 471.1Seeh 481.1Seeh## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 491.1Seehoptions SYSVMSG # System V message queues 501.1Seehoptions SYSVSEM # System V semaphores 511.1Seehoptions SYSVSHM # System V shared memory 521.1Seeh#options SHMMAXPGS=1024 # 1024 pages is the default 531.1Seeh 541.1Seeh## Loadable kernel module support; still under development. 551.1Seehoptions LKM 561.1Seeh 571.1Seeh## NFS boot options; default on sparc is the bootparam protocol 581.1Seehoptions NFS_BOOT_BOOTPARAM 591.1Seeh#options NFS_BOOT_BOOTP 601.1Seeh#options NFS_BOOT_DHCP 611.1Seeh 621.1Seeh#### Debugging options 631.1Seeh 641.1Seeh## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 651.1Seeh## serial console break or keyboard reset, where the PROM would normally 661.1Seeh## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 671.1Seeh# we enable DDB in GENERIC for now. 681.1Seehoptions DDB # kernel dynamic debugger 691.1Seehoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 701.1Seeh#options DDB_ONPANIC # see also sysctl(8): `ddb.onpanic' 711.1Seeh 721.1Seeh## You may also use gdb, on another computer connected to this machine over 731.1Seeh## a serial port. Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is 741.1Seeh## a dev_t encoded device number of the serial port to use. 751.1Seeh## (0xc01 = ttya, 0xc02 = ttyb.) 761.1Seeh#options KGDB # support for kernel gdb 771.1Seeh#options KGDBDEV=0xc01 # kgdb device number (this sample is `ttyb') 781.1Seeh#options KGDBRATE=38400 # baud rate 791.1Seeh 801.1Seeh 811.1Seeh## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 821.1Seeh## such that gdb(1) can be used on a kernel coredump. 831.1Seeh 841.6Seeh#makeoptions DEBUG="-g" 851.1Seeh 861.1Seeh 871.1Seeh## Adds code to the kernel that does internal consistency checks, and will 881.1Seeh## cause the kernel to panic if corruption of internal data structures 891.1Seeh## is detected. 901.1Seeh#options DIAGNOSTIC # extra kernel sanity checking 911.1Seeh 921.1Seeh## Enable (possibly expensive) debugging code that may also display messages 931.1Seeh## on the system console 941.6Seeh#options DEBUG 951.1Seeh 961.1Seeh## Make SCSI error messages more verbose when explaining their meanings. 971.1Seehoptions SCSIVERBOSE 981.1Seehoptions PCIVERBOSE 991.1Seehoptions MIIVERBOSE # verbose PHY autoconfig messages 1001.1Seeh#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1011.1Seeh 1021.1Seeh## `INSECURE' turns off the kernel security level (securelevel = 0 always). 1031.1Seeh## This allows writing to /dev/mem, loading kernel modules while multi-user, 1041.1Seeh## and other insecurities good only for development work. Do not use this 1051.1Seeh## option on a production machine. 1061.1Seeh#options INSECURE 1071.1Seeh 1081.1Seeh## Allow non-root users to grab /dev/console with programs such as xconsole. 1091.1Seeh## `xconsole' therefore does not need setuid root with this option enabled. 1101.1Seeh#options UCONSOLE 1111.1Seeh 1121.1Seeh## `FDSCRIPTS' allows non-readable but executable scripts by providing a 1131.1Seeh## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 1141.1Seeh## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 1151.1Seeh## opaque file mechanism. Perl calls this "secure setuid scripts." 1161.1Seeh 1171.1Seeh#options FDSCRIPTS 1181.1Seeh#options SETUIDSCRIPTS 1191.1Seeh 1201.1Seeh## Options for compatibility with previous releases foreign system binaries. 1211.1Seeh## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up 1221.1Seeh## additional user-level utilities or system configuration files. See 1231.1Seeh## compat_sunos(8) and compat_svr4(8). 1241.1Seeh 1251.1Seehoptions COMPAT_43 # 4.3BSD system interfaces 1261.12Seehoptions COMPAT_09 # NetBSD 0.9 binary compatibility 1271.1Seehoptions COMPAT_10 # NetBSD 1.0 binary compatibility 1281.1Seehoptions COMPAT_11 # NetBSD 1.1 binary compatibility 1291.1Seehoptions COMPAT_12 # NetBSD 1.2 binary compatibility 1301.1Seehoptions COMPAT_13 # NetBSD 1.3 binary compatibility 1311.1Seehoptions COMPAT_14 # NetBSD 1.4 binary compatibility 1321.1Seehoptions COMPAT_SUNOS # SunOS 4.x binary compatibility 1331.1Seehoptions COMPAT_SVR4 # SunOS 5.x binary compatibility 1341.14Smrg#options COMPAT_SVR4_32 # SunOS 5.x 32-bit binary compatibility -- 64-bit only 1351.1Seeh#options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility -- 64-bit only 1361.1Seehoptions EXEC_AOUT # execve(2) support for a.out binaries 1371.1Seehoptions EXEC_ELF32 # Exec module for SunOS 5.x binaries. 1381.1Seeh#options EXEC_ELF64 # Exec module for sparc64 & SunOs 5.x binaries. -- 64-bit only 1391.1Seeh#options SYSCALL_DEBUG 1401.1Seeh 1411.1Seeh## File systems. You probably need at least one of FFS or NFS. 1421.1Seehfile-system FFS # Berkeley Fast Filesystem 1431.1Seehfile-system NFS # Sun NFS-compatible filesystem client 1441.1Seehfile-system KERNFS # kernel data-structure filesystem 1451.1Seehfile-system NULLFS # NULL layered filesystem 1461.1Seehfile-system OVERLAY # overlay file system 1471.1Seehfile-system MFS # memory-based filesystem 1481.1Seehfile-system FDESC # user file descriptor filesystem 1491.1Seehfile-system UMAPFS # uid/gid remapping filesystem 1501.1Seehfile-system LFS # Log-based filesystem (still experimental) 1511.1Seehfile-system PORTAL # portal filesystem (still experimental) 1521.1Seehfile-system PROCFS # /proc 1531.1Seehfile-system CD9660 # ISO 9660 + Rock Ridge file system 1541.1Seehfile-system UNION # union file system 1551.1Seehfile-system MSDOSFS # MS-DOS FAT filesystem(s). 1561.1Seeh 1571.1Seeh## File system options. 1581.1Seehoptions NFSSERVER # Sun NFS-compatible filesystem server 1591.1Seehoptions QUOTA # FFS quotas 1601.1Seeh#options FFS_EI # FFS Endian Independent support 1611.1Seehoptions SOFTDEP # FFS soft updates support. 1621.1Seeh 1631.1Seeh## Network protocol support. In most environments, INET is required. 1641.1Seehoptions INET # IP (Internet Protocol) v4 1651.1Seehoptions INET6 # IPV6 1661.1Seeh#options IPSEC # IP security 1671.1Seeh#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1681.1Seeh#options IPSEC_DEBUG # debug for IP security 1691.1Seehoptions TCP_COMPAT_42 # 4.2BSD IP implementation compatibility 1701.1Seeh#options GATEWAY # packet forwarding ("router switch") 1711.1Seehoptions MROUTING # packet forwarding of multicast packets 1721.1Seeh#options DIRECTED_BROADCAST # allow broadcasts through routers 1731.1Seehoptions NS # Xerox NS networking 1741.1Seeh#options NSIP # Xerox NS tunneling over IP 1751.1Seehoptions ISO,TPIP # OSI networking 1761.6Seehoptions EON # OSI tunneling over IP 1771.1Seeh#options CCITT,LLC,HDLC # X.25 packet switched protocol 1781.1Seehoptions NETATALK # AppleTalk (over Ethernet) protocol 1791.1Seehoptions NTP # Network Time Protocol in-kernel support 1801.1Seeh#options PPS_SYNC # Add serial line synchronization for NTP 1811.1Seehoptions PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs. 1821.1Seehoptions IPFILTER_LOG # Add ipmon(8) logging for ipfilter device 1831.1Seehoptions PPP_BSDCOMP # Add BSD compression to ppp device 1841.1Seehoptions PPP_DEFLATE # Add deflate (libz) compression to ppp device 1851.1Seehoptions PPP_FILTER # Add active filters for ppp (via bpf) 1861.1Seeh 1871.1Seeh 1881.1Seeh#### Main bus and CPU .. all systems. 1891.1Seehmainbus0 at root 1901.1Seehcpu0 at mainbus0 1911.1Seeh 1921.1Seeh#### Bus types found on SPARC systems. 1931.1Seeh 1941.1Seehsbus0 at mainbus0 # Ultra 1 1951.1Seeh#upa0 at mainbus0 # Ultra 1E, Ultra 2, Ex0000 1961.14Smrgpsycho* at mainbus0 # Darwin, Ultra5 1971.1Seehpci* at psycho? 1981.1Seehpci* at simba? 1991.1Seehsimba* at pci? dev ? function ? # `APB' support. 2001.1Seehebus* at pci? # ebus devices 2011.1Seeh 2021.1Seeh#### Standard system devices -- all required for a given architecture 2031.1Seeh 2041.1Seeh## PROM console driver -- if all else fails 2051.1Seehpcons0 at mainbus0 # PROM console 2061.1Seeh 2071.1Seeh## Auxiliary system registers -- We use the OBP for power management 2081.1Seehauxio* at ebus? # auxio registers 2091.1Seehauxio* at sbus? slot ? offset ? # auxio registers 2101.1Seeh 2111.1Seeh# We also need: 2121.1Seehbpp* at sbus? slot ? offset ? # parallel port 2131.1Seehlpt* at ebus? # parallel port 2141.1Seeh 2151.1Seeh## Mostek clock found on 4/300, sun4c, sun4m and sun4u systems. 2161.1Seeh## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems. 2171.1Seehclock* at sbus? slot ? offset ? 2181.1Seehclock* at ebus? 2191.1Seeh 2201.1Seeh## Timer chip found on 4/300, sun4c, sun4m and (some) sun4u systems. 2211.1Seehtimer* at mainbus0 # sun4c 2221.1Seeh 2231.1Seeh#### Serial port configuration 2241.1Seeh 2251.1Seeh## Zilog 8530 serial chips. Each has two-channels. 2261.1Seeh## zs0 is ttya and ttyb. zs1 is the keyboard and mouse. 2271.8Seehzs* at sbus? slot ? offset ? 2281.8Seehzstty* at zs? channel ? # ttya 2291.8Seehkbd0 at zstty? 2301.8Seehms0 at zstty? 2311.8Seeh 2321.1Seeh## PCI machines have serial ports: 2331.1Seeh## Siemens SAB82532 controller: ttya and ttyb (`su'; sab) 2341.1Seeh## Part of NS PC87332VLJ Super I/O controller: kbd/mouse (`se'; com) 2351.1Seeh 2361.14Smrg## The SAB82532 controller has two serial ports 2371.14Smrg#sab* at ebus? # ttya/ttyb 2381.14Smrg#sabtty* at sab? channel ? 2391.1Seeh 2401.9Smrg## Part of a PC87332VLJ 2411.8Seehcom* at ebus? # `com' driver for `su' 2421.8Seehkbd0 at com? # keyboard 2431.8Seehms0 at com? # mouse 2441.1Seeh 2451.1Seeh#### Disk controllers and disks 2461.1Seeh 2471.1Seeh## The following flags may be set for the NCR53c94 based esp driver: 2481.1Seeh## bits 0-7: disable disconnect/reselect for the corresponding target 2491.1Seeh## bits 8-15: disable synchronous negotiation for target [bit-8] 2501.1Seeh 2511.1Seeh## sun4u on-board SCSI, and FSBE/S SBus SCSI cards, an NCR53c94 or 2521.1Seeh## equivalent behind an LSI Logic DMA controller 2531.1Seeh 2541.8Seehdma* at sbus? slot ? offset ? # SBus 2551.8Seehesp* at dma? flags 0x0000 # SBus 2561.1Seeh 2571.1Seehscsibus* at esp? 2581.1Seeh 2591.11Smjacob## Qlogic ISP SBus or PCI SCSI Card 2601.1Seehisp* at sbus? slot ? offset ? 2611.11Smjacobisp* at pci? 2621.1Seehscsibus* at isp? 2631.1Seeh 2641.1Seeh## FAS support missing 2651.1Seeh#fas* at sbus? slot ? offset ? 2661.1Seeh#scsibus* at fas? 2671.1Seeh 2681.9Smrg## GLM support 2691.8Seehsiop* at pci? # 53C875 "glm" compatible 2701.1Seehscsibus* at siop? 2711.1Seeh 2721.1Seeh## These entries find devices on all SCSI busses and assign 2731.1Seeh## unit numbers dynamically. 2741.1Seehsd* at scsibus? target ? lun ? # SCSI disks 2751.1Seehst* at scsibus? target ? lun ? # SCSI tapes 2761.1Seehcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2771.1Seehch* at scsibus? target ? lun ? # SCSI changer devices 2781.1Seehss* at scsibus? target ? lun ? # SCSI scanners 2791.13Smjacobses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices 2801.1Seehuk* at scsibus? target ? lun ? # unknown SCSI 2811.1Seeh 2821.1Seeh# PCI IDE. 2831.1Seehpciide* at pci ? dev ? function ? flags 0x0000 2841.1Seehwd* at pciide? channel ? drive ? flags 0x0000 2851.1Seehatapibus* at pciide? channel ? 2861.1Seeh 2871.1Seehcd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2881.1Seehsd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2891.1Seehuk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2901.1Seeh 2911.1Seeh## Floppy controller and drive found on SPARCstations. 2921.1Seeh 2931.1Seeh# need share with the sparc, and everyone else. needs to use auxio. 2941.1Seeh# actually, the ebus version has (will have) direct access to it's AUXIO 2951.1Seeh# register space (it is mapped in to fdthree not auxio). 2961.1Seeh#fdc0 at sbus? slot ? offset ? # SUNW,fdtwo 2971.1Seeh#fdc0 at ebus? # fdthree 2981.1Seeh#fd* at fdc0 # the drive itself 2991.1Seeh 3001.1Seeh## A disk-like interface to files. Can be used to create floppy, CD, 3011.1Seeh## miniroot images, etc. 3021.1Seeh 3031.1Seehpseudo-device vnd 4 3041.1Seeh 3051.1Seeh## Concatenated and striped disks; with this, you can create a software-based 3061.1Seeh## disk array similar to a "RAID 0" setup. See ccd(4). 3071.1Seeh 3081.1Seehpseudo-device ccd 4 3091.1Seeh 3101.1Seeh## RAIDframe disk driver: software RAID driver. See raid(4). 3111.1Seeh 3121.1Seehpseudo-device raid 4 3131.1Seeh#options RAID_AUTOCONFIG # auto-configuration of RAID components 3141.1Seeh 3151.1Seeh## Memory disk device, used on boot floppies with compressed 3161.1Seeh## kernel-plus-root-disk images. 3171.1Seeh 3181.1Seehpseudo-device md 1 3191.1Seeh 3201.1Seeh 3211.1Seeh#### Network interfaces 3221.1Seeh 3231.1Seeh## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue 3241.1Seeh## Three flavors of additional SBus ethernets are available. One attaches 3251.1Seeh## directly like the sun4c on-board, one uses the ledma device like the 3261.1Seeh## sun4m on-board, and one uses the lebuffer device. 3271.1Seeh 3281.8Seehledma0 at sbus? slot ? offset ? # sun4m on-board 3291.8Seehle0 at ledma0 # sun4m on-board 3301.8Seehle* at sbus? slot ? offset ? # SBus 3311.8Seehledma* at sbus? slot ? offset ? # SBus 3321.8Seehle* at ledma? # SBus 3331.8Seehlebuffer0 at sbus? slot ? offset ? # SBus 3341.8Seehle0 at lebuffer? # SBus 3351.8Seehlebuffer* at sbus? slot ? offset ? # SBus 3361.8Seehle* at lebuffer? # SBus 3371.1Seeh 3381.1Seeh## Happy Meal Ethernet 3391.1Seehhme* at sbus? slot ? offset ? 3401.8Seehhme* at pci? dev ? function ? # network "hme" compatible 3411.1Seeh 3421.1Seeh# MII/PHY support 3431.1Seeh# XXX: only nsphy "tested" 3441.1Seehexphy* at mii? phy ? # 3Com internal PHYs 3451.1Seehicsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 3461.1Seehinphy* at mii? phy ? # Intel 82555 PHYs 3471.1Seehlxtphy* at mii? phy ? # Level One LXT-970 PHYs 3481.1Seehnsphy* at mii? phy ? # NS83840 PHYs 3491.1Seehqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 3501.1Seehsqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 3511.1Seehtlphy* at mii? phy ? # ThunderLAN PHYs 3521.1Seehukphy* at mii? phy ? # generic unknown PHYs 3531.1Seeh 3541.1Seeh## qec/be, qec/hme 3551.1Seehqec* at sbus? slot ? offset ? 3561.1Seehbe* at qec? 3571.1Seehqe* at qec? 3581.1Seeh 3591.1Seeh## Loopback network interface; required 3601.1Seehpseudo-device loop 3611.1Seeh 3621.1Seeh## SLIP and CSLIP interfaces, for IP over a serial line. 3631.1Seehpseudo-device sl 2 3641.1Seeh 3651.1Seeh## PPP, the successor to SLIP. See pppd(8). 3661.1Seehpseudo-device ppp 2 3671.1Seeh 3681.1Seeh## Starmode Radio IP, a special hardware network device. 3691.1Seehpseudo-device strip 1 3701.1Seeh 3711.1Seeh## Network "tunnel" device, allowing protocol stacks to run in the userland. 3721.1Seeh## This is used by the third-party user-mode "ppp" program, and others. 3731.1Seehpseudo-device tun 4 3741.1Seeh 3751.1Seeh## Generic L3 over IP tunnel 3761.1Seeh#pseudo-device gre 2 # generic L3 over IP tunnel 3771.1Seeh 3781.1Seeh## Berkeley Packet Filter, required to run RARPD. A generic C-language 3791.1Seeh## interface that allows selective examining of incoming packets. 3801.1Seehpseudo-device bpfilter 8 3811.1Seeh 3821.1Seeh## IP Filter, used in firewall and NAT applications. See ipnat(8) for 3831.1Seeh## one example of the use of the IP Filter. 3841.1Seehpseudo-device ipfilter 3851.1Seeh 3861.1Seeh## for IPv6 3871.1Seehpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 3881.1Seeh#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 3891.1Seeh#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 3901.1Seeh 3911.1Seeh 3921.1Seeh#### Audio and video devices 3931.1Seeh 3941.1Seeh## /dev/audio support (`audiocs' plus `audio') 3951.1Seeh## 3961.8Seehaudiocs* at sbus? slot ? offset ? # SUNW,CS4231 3971.1Seehaudio* at audiocs? 3981.1Seeh 3991.1Seeh 4001.1Seeh## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m 4011.1Seeh## systems. If your sun4 system has a cgfour installed in the P4 slot, 4021.1Seeh## the P4 entries for "bwtwo" will attach to the overlay plane of the 4031.1Seeh## "cgfour". 4041.1Seeh 4051.8Seeh#bwtwo0 at sbus? slot ? offset ? # sun4c and sun4m 4061.8Seeh#bwtwo* at sbus? slot ? offset ? 4071.1Seeh 4081.1Seeh## Sun "cgthree" Sbus color framebuffer 4091.1Seeh#cgthree0 at sbus? slot ? offset ? 4101.1Seeh#cgthree* at sbus? slot ? offset ? 4111.1Seeh 4121.1Seeh## Sun "cgsix" accelerated color framebuffer. 4131.1Seehcgsix0 at sbus? slot ? offset ? 4141.1Seehcgsix* at sbus? slot ? offset ? 4151.1Seeh 4161.1Seeh## Sun FFB not supported 4171.1Seeh#ffb* at upa? 4181.1Seeh 4191.1Seeh#### Other device configuration 4201.1Seeh 4211.1Seeh## Pseudo ttys, required for network logins and programs like screen. 4221.1Seeh 4231.7Sjdolecekpseudo-device pty # pseudo-ttys (for network, etc.) 4241.1Seeh 4251.1Seeh## Random device, used to implement /dev/random (a source of random noise), 4261.1Seeh## and generate randomness for some kernel formulae. 4271.1Seeh 4281.1Seehpseudo-device rnd 429