GENERIC revision 1.1
11.1Seeh# $NetBSD: GENERIC,v 1.1 1998/06/20 04:58:50 eeh Exp $ 21.1Seeh 31.1Seehinclude "arch/sparc64/conf/std.sparc64" 41.1Seeh 51.1Seehmaxusers 32 61.1Seeh 71.1Seeh## System kernel configuration. See options(4) for more detail. 81.1Seeh 91.1Seeh 101.1Seeh# Options for variants of the Sun SPARC architecure. 111.1Seeh# We currently support three architecture types; at least one is required. 121.1Seehoptions SUN4U # sun4u - Ultra 140 and 170 131.1Seehoptions TRAPWIN 141.1Seeh 151.1Seeh## System options specific to the sparc machine type 161.1Seeh 171.1Seeh## Use a faster console than the PROM's slow drawing routines. Not needed 181.1Seeh## for headless (no framebuffer) machines. 191.1Seehoptions RASTERCONSOLE # fast rasterop console 201.1Seeh 211.1Seeh 221.1Seeh#### System options that are the same for all ports 231.1Seeh 241.1Seeh## Root device configuration: change the ?'s if you are going to use a 251.1Seeh## nonstandard root partition (other than where the kernel is booted from) 261.1Seeh## and/or nonstandard root type (not ffs or nfs). Normally this can be 271.1Seeh## automagically determined at boot time. 281.1Seeh 291.1Seehconfig netbsd root on ? type ? 301.1Seeh 311.1Seeh## Virtual memory configuration. There are two choices, the old Mach 321.1Seeh## based VM system, or the new UVM system. 331.1Seehoptions OLDVM # MACH VM 341.1Seeh#options UVM # UVM VM 351.1Seeh 361.1Seeh## System call tracing (see ktrace(1)). 371.1Seehoptions KTRACE 381.1Seeh 391.1Seeh## Collect statistics on kernel malloc's and free's. This does have a 401.1Seeh## significant performance hit on slower machines, so it is intended for 411.1Seeh## diagnostic use only. 421.1Seeh#options KMEMSTATS 431.1Seeh 441.1Seeh## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 451.1Seehoptions SYSVMSG # System V message queues 461.1Seehoptions SYSVSEM # System V semaphores 471.1Seehoptions SYSVSHM # System V shared memory 481.1Seeh#options SHMMAXPGS=1024 # 1024 pages is the default 491.1Seeh 501.1Seeh## Loadable kernel module support; still under development. 511.1Seehoptions LKM 521.1Seeh 531.1Seeh## NFS boot options; default on sparc is the bootparam protocol 541.1Seehoptions NFS_BOOT_BOOTPARAM 551.1Seeh#options NFS_BOOT_BOOTP 561.1Seeh#options NFS_BOOT_DHCP 571.1Seeh 581.1Seeh#### Debugging options 591.1Seeh 601.1Seeh## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 611.1Seeh## serial console break or keyboard reset, where the PROM would normally 621.1Seeh## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 631.1Seeh#options DDB # kernel dynamic debugger 641.1Seeh#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 651.1Seeh#options DDB_ONPANIC # see also sysctl(8): `ddb.onpanic' 661.1Seeh 671.1Seeh## You may also use gdb, on another computer connected to this machine over 681.1Seeh## a serial port. Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is 691.1Seeh## a dev_t encoded device number of the serial port to use. 701.1Seeh## (0xc01 = ttya, 0xc02 = ttyb.) 711.1Seeh#options KGDB # support for kernel gdb 721.1Seeh#options KGDBDEV=0xc01 # kgdb device number (this sample is `ttyb') 731.1Seeh#options KGDBRATE=38400 # baud rate 741.1Seeh 751.1Seeh 761.1Seeh## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 771.1Seeh## such that gdb(1) can be used on a kernel coredump. 781.1Seeh 791.1Seeh#makeoptions DEBUG="-g" 801.1Seeh 811.1Seeh 821.1Seeh## Adds code to the kernel that does internal consistency checks, and will 831.1Seeh## cause the kernel to panic if corruption of internal data structures 841.1Seeh## is detected. 851.1Seeh#options DIAGNOSTIC # extra kernel sanity checking 861.1Seeh 871.1Seeh## Enable (possibly expensive) debugging code that may also display messages 881.1Seeh## on the system console 891.1Seeh#options DEBUG 901.1Seeh 911.1Seeh## Make SCSI error messages more verbose when explaining their meanings. 921.1Seehoptions SCSIVERBOSE 931.1Seeh 941.1Seeh## `INSECURE' turns off the kernel security level (securelevel = 0 always). 951.1Seeh## This allows writing to /dev/mem, loading kernel modules while multi-user, 961.1Seeh## and other insecurities good only for development work. Do not use this 971.1Seeh## option on a production machine. 981.1Seeh#options INSECURE 991.1Seeh 1001.1Seeh## Allow non-root users to grab /dev/console with programs such as xconsole. 1011.1Seeh## `xconsole' therefore does not need setuid root with this option enabled. 1021.1Seeh#options UCONSOLE 1031.1Seeh 1041.1Seeh## `FDSCRIPTS' allows non-readable but executable scripts by providing a 1051.1Seeh## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 1061.1Seeh## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 1071.1Seeh## opaque file mechanism. Perl calls this "secure setuid scripts." 1081.1Seeh 1091.1Seeh#options FDSCRIPTS 1101.1Seeh#options SETUIDSCRIPTS 1111.1Seeh 1121.1Seeh## Options for compatibility with previous releases foreign system binaries. 1131.1Seeh## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up 1141.1Seeh## additional user-level utilities or system configuration files. See 1151.1Seeh## compat_sunos(8) and compat_svr4(8). 1161.1Seeh 1171.1Seehoptions COMPAT_43 # 4.3BSD system interfaces 1181.1Seehoptions COMPAT_10 # NetBSD 1.0 binary compatibility 1191.1Seehoptions COMPAT_11 # NetBSD 1.1 binary compatibility 1201.1Seehoptions COMPAT_12 # NetBSD 1.2 binary compatibility 1211.1Seehoptions COMPAT_13 # NetBSD 1.3 binary compatibility 1221.1Seehoptions COMPAT_SUNOS # SunOS 4.x binary compatibility 1231.1Seehoptions COMPAT_SVR4 # SunOS 5.x binary compatibility 1241.1Seehoptions EXEC_ELF32 # Exec module for SunOS 5.x binaries. 1251.1Seeh#options EXEC_ELF64 # Exec module for SunOS 5.x binaries. 1261.1Seehoptions __ELF__ 1271.1Seeh 1281.1Seeh## File systems. You probably need at least one of FFS or NFS. 1291.1Seehfile-system FFS # Berkeley Fast Filesystem 1301.1Seehfile-system NFS # Sun NFS-compatible filesystem client 1311.1Seehfile-system KERNFS # kernel data-structure filesystem 1321.1Seehfile-system NULLFS # NULL layered filesystem 1331.1Seehfile-system MFS # memory-based filesystem 1341.1Seehfile-system FDESC # user file descriptor filesystem 1351.1Seehfile-system UMAPFS # uid/gid remapping filesystem 1361.1Seehfile-system LFS # Log-based filesystem (still experimental) 1371.1Seehfile-system PORTAL # portal filesystem (still experimental) 1381.1Seehfile-system PROCFS # /proc 1391.1Seehfile-system CD9660 # ISO 9660 + Rock Ridge file system 1401.1Seehfile-system UNION # union file system 1411.1Seehfile-system MSDOSFS # MS-DOS FAT filesystem(s). 1421.1Seeh 1431.1Seeh## File system options. 1441.1Seehoptions NFSSERVER # Sun NFS-compatible filesystem server 1451.1Seehoptions QUOTA # FFS quotas 1461.1Seeh#options FFS_EI # FFS Endian Independent support 1471.1Seehoptions FIFO # POSIX fifo support (in all filesystems) 1481.1Seeh 1491.1Seeh## Network protocol support. In most environments, INET is required. 1501.1Seehoptions INET # IP (Internet Protocol) v4 1511.1Seehoptions TCP_COMPAT_42 # 4.2BSD IP implementation compatibility 1521.1Seeh#options GATEWAY # packet forwarding ("router switch") 1531.1Seeh#options MROUTING # packet forwarding of multicast packets 1541.1Seeh#options DIRECTED_BROADCAST # allow broadcasts through routers 1551.1Seehoptions NS # Xerox NS networking 1561.1Seeh#options NSIP # Xerox NS tunneling over IP 1571.1Seehoptions ISO,TPIP # OSI networking 1581.1Seehoptions EON # OSI tunneling over IP 1591.1Seeh#options CCITT,LLC,HDLC # X.25 packet switched protocol 1601.1Seehoptions NETATALK # AppleTalk (over Ethernet) protocol 1611.1Seeh#options NTP # Network Time Protocol in-kernel support 1621.1Seeh#options PPS_SYNC # Add serial line synchronization for NTP 1631.1Seeh#options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs. 1641.1Seeh#options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device 1651.1Seeh#options PPP_BSDCOMP # Add BSD compression to ppp device 1661.1Seeh#options PPP_DEFLATE # Add deflate (libz) compression to ppp device 1671.1Seeh#options PPP_FILTER # Add active filters for ppp (via bpf) 1681.1Seeh 1691.1Seeh 1701.1Seeh 1711.1Seeh#### Main bus and CPU .. all systems. 1721.1Seehmainbus0 at root 1731.1Seehcpu0 at mainbus0 1741.1Seeh 1751.1Seeh#### Bus types found on SPARC systems. 1761.1Seeh 1771.1Seehsbus0 at mainbus0 # sun4c and sun4u 1781.1Seeh#upa0 at mainbus0 # Ultra 1E, Ultra 2, Ex0000 1791.1Seeh#pci0 at mainbus0 # Darwin 1801.1Seeh 1811.1Seeh#### Standard system devices -- all required for a given architecture 1821.1Seeh 1831.1Seeh## Auxiliary system registers on sun4c and sun4m 1841.1Seehauxreg0 at sbus0 1851.1Seeh 1861.1Seeh# We also need: 1871.1Seeh# bpp0 at sbus0 # parallel port 1881.1Seeh 1891.1Seeh## Power status and control register on Sun4m systems 1901.1Seehpower0 at sbus0 1911.1Seeh 1921.1Seeh## Mostek clock found on 4/300, sun4c, and sun4m systems. 1931.1Seeh## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems. 1941.1Seehclock0 at sbus0 1951.1Seeh 1961.1Seeh## Timer chip found on 4/300, sun4c, and sun4m systems. 1971.1Seehtimer0 at mainbus0 # sun4c 1981.1Seeh 1991.1Seeh#### Serial port configuration 2001.1Seeh 2011.1Seeh## Zilog 8530 serial chips. Each has two-channels. 2021.1Seeh## zs0 is ttya and ttyb. zs1 is the keyboard and mouse. 2031.1Seehzs0 at sbus0 2041.1Seehzstty0 at zs0 channel 0 # ttya 2051.1Seehzstty1 at zs0 channel 1 # ttyb 2061.1Seeh 2071.1Seehzs1 at sbus0 2081.1Seehkbd0 at zs1 channel 0 # keyboard 2091.1Seehms0 at zs1 channel 1 # mouse 2101.1Seeh 2111.1Seeh#### Disk controllers and disks 2121.1Seeh 2131.1Seeh# 2141.1Seeh 2151.1Seeh## The following flags may be set for the NCR53c94 based esp driver: 2161.1Seeh## bits 0-7: disable disconnect/reselect for the corresponding target 2171.1Seeh## bits 8-15: disable synchronous negotiation for target [bit-8] 2181.1Seeh 2191.1Seeh## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards. 2201.1Seeh## Both `dma' and `esp' are needed in all cases. 2211.1Seeh## Two kinds of additional SBus SCSI interfaces are available. One uses 2221.1Seeh## "esp at sbus" like the sun4c on-board; the other uses "esp at dma". 2231.1Seeh 2241.1Seeh## sun4/300 SCSI - an NCR53c94 or equivalent behind 2251.1Seeh## an LSI Logic DMA controller 2261.1Seeh 2271.1Seehdma0 at sbus0 slot ? offset ? # sun4c/sun4m 2281.1Seehesp0 at dma0 flags 0x0000 # sun4m 2291.1Seeh 2301.1Seeh# FSBE/S SCSI 2311.1Seehdma* at sbus? slot ? offset ? # SBus 2321.1Seehesp* at dma? flags 0x0000 # SBus 2331.1Seeh 2341.1Seehscsibus* at esp? 2351.1Seeh 2361.1Seeh## Qlogic ISP SBus SCSI Card 2371.1Seeh#isp* at sbus? slot ? offset ? 2381.1Seeh#scsibus* at isp? 2391.1Seeh 2401.1Seeh## These entries find devices on all SCSI busses and assign 2411.1Seeh## unit numbers dynamically. 2421.1Seehsd* at scsibus? target ? lun ? # SCSI disks 2431.1Seehst* at scsibus? target ? lun ? # SCSI tapes 2441.1Seehcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2451.1Seehch* at scsibus? target ? lun ? # SCSI changer devices 2461.1Seehss* at scsibus? target ? lun ? # SCSI scanners 2471.1Seehuk* at scsibus? target ? lun ? # unknown SCSI 2481.1Seeh 2491.1Seeh 2501.1Seeh## Floppy controller and drive found on SPARCstations. 2511.1Seeh 2521.1Seeh#fdc0 at sbus0 2531.1Seeh#fd* at fdc0 # the drive itself 2541.1Seeh 2551.1Seeh## A disk-like interface to files. Can be used to create floppy, CD, 2561.1Seeh## miniroot images, etc. 2571.1Seeh 2581.1Seehpseudo-device vnd 4 2591.1Seeh 2601.1Seeh## Concatenated and striped disks; with this, you can create a software-based 2611.1Seeh## disk array similar to a "RAID 0" setup. See ccd(4). 2621.1Seeh 2631.1Seehpseudo-device ccd 4 2641.1Seeh 2651.1Seeh## Memory disk device, used on boot floppies with compressed 2661.1Seeh## kernel-plus-root-disk images. 2671.1Seeh 2681.1Seeh#pseudo-device md 1 2691.1Seeh 2701.1Seeh 2711.1Seeh#### Network interfaces 2721.1Seeh 2731.1Seeh## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue 2741.1Seeh## Three flavors of additional SBus ethernets are available. One attaches 2751.1Seeh## directly like the sun4c on-board, one uses the ledma device like the 2761.1Seeh## sun4m on-board, and one uses the lebuffer device. 2771.1Seeh 2781.1Seehledma0 at sbus0 slot ? offset ? # sun4m on-board 2791.1Seehle0 at ledma0 # sun4m on-board 2801.1Seehle* at sbus? slot ? offset ? # SBus 2811.1Seehledma* at sbus? slot ? offset ? # SBus 2821.1Seehle* at ledma? # SBus 2831.1Seehlebuffer0 at sbus? slot ? offset ? # SBus 2841.1Seehle0 at lebuffer? # SBus 2851.1Seehlebuffer* at sbus? slot ? offset ? # SBus 2861.1Seehle* at lebuffer? # SBus 2871.1Seeh 2881.1Seeh 2891.1Seeh## Loopback network interface; required 2901.1Seehpseudo-device loop 2911.1Seeh 2921.1Seeh## SLIP and CSLIP interfaces, for IP over a serial line. 2931.1Seehpseudo-device sl 2 2941.1Seeh 2951.1Seeh## PPP, the successor to SLIP. See pppd(8). 2961.1Seehpseudo-device ppp 2 2971.1Seeh 2981.1Seeh## Starmode Radio IP, a special hardware network device. 2991.1Seeh#pseudo-device strip 1 3001.1Seeh 3011.1Seeh## Network "tunnel" device, allowing protocol stacks to run in the userland. 3021.1Seeh## This is used by the third-party user-mode "ppp" program, and others. 3031.1Seehpseudo-device tun 4 3041.1Seeh 3051.1Seeh## Berkeley Packet Filter, required to run RARPD. A generic C-language 3061.1Seeh## interface that allows selective examining of incoming packets. 3071.1Seehpseudo-device bpfilter 8 3081.1Seeh 3091.1Seeh## IP Filter, used in firewall and NAT applications. See ipnat(8) for 3101.1Seeh## one example of the use of the IP Filter. 3111.1Seehpseudo-device ipfilter 3121.1Seeh 3131.1Seeh 3141.1Seeh#### Audio and video devices 3151.1Seeh 3161.1Seeh## /dev/audio support (`audioamd' plus `audio') 3171.1Seeh## 3181.1Seeh#audioamd0 at mainbus0 # sun4c 3191.1Seeh#audioamd0 at obio0 # sun4m 3201.1Seeh#audioamd0 at sbus0 slot ? offset ? # sun4m 3211.1Seeh#audio* at audioamd0 3221.1Seeh 3231.1Seeh 3241.1Seeh## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m 3251.1Seeh## systems. If your sun4 system has a cgfour installed in the P4 slot, 3261.1Seeh## the P4 entries for "bwtwo" will attach to the overlay plane of the 3271.1Seeh## "cgfour". 3281.1Seeh 3291.1Seehbwtwo0 at sbus0 slot ? offset ? # sun4c and sun4m 3301.1Seehbwtwo* at sbus? slot ? offset ? # 3311.1Seeh 3321.1Seeh## Sun "cgthree" Sbus color framebuffer 3331.1Seehcgthree0 at sbus? slot ? offset ? 3341.1Seehcgthree* at sbus? slot ? offset ? 3351.1Seeh 3361.1Seeh## Sun "cgsix" accelerated color framebuffer. 3371.1Seehcgsix0 at sbus? slot ? offset ? 3381.1Seehcgsix* at sbus? slot ? offset ? 3391.1Seeh 3401.1Seeh## Sun "tcx" accelerated color framebuffer. 3411.1Seehtcx0 at sbus? slot ? offset ? 3421.1Seehtcx* at sbus? slot ? offset ? 3431.1Seeh 3441.1Seeh# Sun "cgfourteen" accelerated 24-bit framebuffer. 3451.1Seehcgfourteen0 at obio0 # sun4m 3461.1Seeh 3471.1Seeh 3481.1Seeh#### Other device configuration 3491.1Seeh 3501.1Seeh## Pseudo ttys, required for network logins and programs like screen. 3511.1Seeh## 32 is a good number for average systems; you may have as many as you 3521.1Seeh## like, though 256 is more or less the upper limit. Increasing this 3531.1Seeh## number still requires you to run /dev/MAKEDEV to create the files 3541.1Seeh## for the ptys. 3551.1Seeh 3561.1Seehpseudo-device pty 32 # pseudo-ttys (for network, etc.) 3571.1Seeh 3581.1Seeh## Random device, used to implement /dev/random (a source of random noise), 3591.1Seeh## and generate randomness for some kernel formulae. 3601.1Seeh## THIS DEVICE IS EXPERIMENTAL; use at your own risk. 3611.1Seeh 3621.1Seeh#pseudo-device rnd 363