GENERIC revision 1.83
11.83Slukem# $NetBSD: GENERIC,v 1.83 2001/11/20 08:43:39 lukem Exp $ 21.9Sgwr 31.49Sgwr# GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E) 41.21Sgwr# Supports root on: ie0, le0, sd*, ... 51.1Sglass 61.29Sjtcinclude "arch/sun3/conf/std.sun3" 71.63Shubertf 81.83Slukem#ident "GENERIC-$Revision: 1.83 $" 91.1Sglass 101.50Sgwr# Machines to be supported by this kernel 111.15Sgwroptions FPU_EMULATE 121.21Sgwroptions HAVECACHE # Sun3/260 VAC 131.3Sglass 141.4Sgwr# Needs to be set per system. i.e change these as you see fit 151.3Sglassmaxusers 4 161.23Sgwr 171.4Sgwr# Standard system options 181.41Sgwroptions KTRACE # system call tracing 191.41Sgwroptions SYSVMSG # System V message queues 201.41Sgwroptions SYSVSEM # System V semaphores 211.79Sdarcy#options SEMMNI=10 # number of semaphore identifiers 221.79Sdarcy#options SEMMNS=60 # number of semaphores in system 231.79Sdarcy#options SEMUME=10 # max number of undo entries per process 241.79Sdarcy#options SEMMNU=30 # number of undo structures in system 251.41Sgwroptions SYSVSHM # System V shared memory 261.41Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 271.52Sfairoptions LKM # loadable kernel modules 281.41Sgwr#options INSECURE # disable kernel security level 291.41Sgwr#options UCONSOLE # Allow non-root TIOCCONS 301.30Sthorpej 311.41Sgwr# Which kernel debugger? Uncomment either this: 321.30Sthorpejoptions DDB 331.36Sgwr# ... or these for KGDB (gdb remote target) 341.41Sgwr#makeoptions DEBUG="-g" # debugging symbols for gdb 351.30Sthorpej#options KGDB 361.83Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 371.41Sgwr 381.41Sgwr# Other debugging options 391.43Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 401.41Sgwr#options DEBUG # kernel debugging code 411.41Sgwr#options DIAGNOSTIC # extra kernel sanity checking 421.41Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 431.41Sgwr#options PMAP_DEBUG 441.41Sgwr#options SCSIDEBUG 451.40Smjacob#options SCSIVERBOSE # Verbose SCSI errors 461.1Sglass 471.78Swiz# Compatibility options 481.41Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 491.57Skleink#options COMPAT_SVR4 # can run SVR4 executables 501.41Sgwroptions COMPAT_43 # and 4.3BSD and ... 511.41Sgwroptions COMPAT_10 # NetBSD 1.0 521.41Sgwroptions COMPAT_11 # NetBSD 1.1 531.41Sgwroptions COMPAT_12 # NetBSD 1.2 541.45Skleinkoptions COMPAT_13 # NetBSD 1.3 551.59Saugustssoptions COMPAT_14 # NetBSD 1.4 561.77Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 571.56Sitohy#options COMPAT_LINUX # can run Linux/m68k executables 581.77Schsoptions EXEC_AOUT # support for a.out executables 591.80Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 601.41Sgwr 611.4Sgwr# Filesystem options 621.41Sgwrfile-system FFS # Berkeley Fast Filesystem 631.41Sgwrfile-system NFS # Sun NFS client support 641.38Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 651.38Slukemfile-system FDESC # /dev/fd/* 661.38Slukemfile-system KERNFS # /kern 671.38Slukemfile-system NULLFS # loopback file system 681.62Swrstudenfile-system OVERLAY # overlay file system 691.38Slukemfile-system PROCFS # /proc 701.38Slukemfile-system UNION # union file system 711.38Slukemfile-system MFS # memory-based filesystem 721.35Sthorpej 731.30Sthorpejoptions NFSSERVER # nfs server support 741.41Sgwroptions QUOTA # FFS quotas 751.51Sbouyer#options FFS_EI # FFS Endian Independant support 761.69Sfvdloptions SOFTDEP # FFS soft updates support. 771.61Sitojun 781.4Sgwr# Networking options 791.30Sthorpejoptions INET # IP prototol stack support 801.61Sitojunoptions INET6 # IPV6 811.61Sitojun#options IPSEC # IP security 821.61Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 831.61Sitojun#options IPSEC_DEBUG # debug for IP security 841.38Slukem#options GATEWAY # IP packet forwarding 851.41Sgwr#options ISO,TPIP # OSI networking 861.41Sgwr#options EON # OSI tunneling over IP 871.41Sgwr#options CCITT,LLC,HDLC # X.25 881.58Schristosoptions PFIL_HOOKS # pfil(9) packet filter hooks. 891.80Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 901.41Sgwr 911.41Sgwr# Work-around for root on slow servers (insurance...) 921.12Sgwroptions NFS_BOOT_RWSIZE=1024 931.48Sgwroptions NFS_BOOT_BOOTPARAM 941.3Sglass 951.35Sthorpejconfig netbsd root on ? type ? 961.1Sglass 971.49Sgwr# On-board I/O space (required) 981.49Sgwrinclude "arch/sun3/conf/obio.sun3" 991.49Sgwr 1001.49Sgwr# On-board memory (optional) 1011.49Sgwr# See frame-buffers 1021.49Sgwrobmem0 at mainbus? 1031.49Sgwr 1041.49Sgwr# VME bus support (optional) 1051.49Sgwr# One unit for each address space 1061.49Sgwrvme0 at mainbus? # A16/D16 1071.49Sgwrvme1 at mainbus? # A16/D32 1081.49Sgwrvme2 at mainbus? # A24/D16 1091.49Sgwrvme3 at mainbus? # A24/D32 1101.49Sgwrvme4 at mainbus? # A32/D16 1111.49Sgwrvme5 at mainbus? # A32/D32 1121.49Sgwr 1131.25Sgwr# 1141.27Sgwr# Serial ports 1151.27Sgwr# 1161.38Slukemzstty0 at zsc1 channel 0 # ttya 1171.38Slukemzstty1 at zsc1 channel 1 # ttyb 1181.27Sgwr 1191.38Slukemkbd0 at zsc0 channel 0 # keyboard 1201.38Slukemms0 at zsc0 channel 1 # mouse 1211.27Sgwr 1221.27Sgwr# 1231.25Sgwr# Network devices 1241.25Sgwr# 1251.16Sgwr 1261.25Sgwr# Intel Ethernet (onboard, or VME) 1271.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3 1281.49Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1291.4Sgwr 1301.25Sgwr# Lance Ethernet (only onboard) 1311.49Sgwrle0 at obio0 addr 0x120000 ipl 3 1321.49Sgwr 1331.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1341.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1351.49Sgwroptions LANCE_REVC_BUG 1361.12Sgwr 1371.25Sgwr# 1381.25Sgwr# Disk and tape devices 1391.25Sgwr# 1401.25Sgwr 1411.25Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1421.37Sgwr# This driver has several flags which may be enabled using 1431.37Sgwr# the "flags" directive. Valid flags are: 1441.31Sgwr# 1451.37Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1461.37Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1471.37Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1481.37Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1491.37Sgwr# 1501.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1511.37Sgwr# and disable disconnect/reselect for targets 0-3 1521.49Sgwrsi0 at obio0 addr 0x140000 ipl 2 1531.49Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1541.49Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1551.49Sgwr 1561.49Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1571.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1581.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1591.41Sgwrxy* at xyc? drive ? 1601.37Sgwr 1611.49Sgwr# Xylogics 7053 controllers (VME A16/D32) 1621.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1631.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1641.41Sgwrxd* at xdc? drive ? 1651.25Sgwr 1661.25Sgwr# Xylogics 472 tape controllers? 1671.25Sgwr 1681.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 1691.49Sgwr# Note: the board uses vect and vect+1 1701.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 1711.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 1721.46Sgwrsi* at sebuf? 1731.46Sgwrie* at sebuf? 1741.46Sgwr 1751.46Sgwr# 1761.25Sgwr# Frame buffer devices 1771.25Sgwr# 1781.10Sgwr 1791.50Sgwrinclude "arch/sun3/conf/bw2.sun3" 1801.50Sgwrinclude "arch/sun3/conf/cg4.sun3" 1811.25Sgwr 1821.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 1831.50Sgwr# cgsix0 at obmem0 addr 0xff000000 1841.25Sgwr 1851.25Sgwr# 3/60 P4 24-bit color frame buffer 1861.50Sgwr# cgeight0 at obmem0 addr 0xff300000 1871.25Sgwr 1881.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1891.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 1901.25Sgwr 1911.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 1921.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 1931.25Sgwr 1941.25Sgwr# 1951.25Sgwr# SCSI infrastructure 1961.25Sgwr# 1971.7Sgwrscsibus* at scsi? 1981.14Sgwr 1991.37Sgwrsd* at scsibus? target ? lun ? # SCSI disks 2001.37Sgwrst* at scsibus? target ? lun ? # SCSI tapes 2011.37Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2021.37Sgwrch* at scsibus? target ? lun ? # SCSI changer devices 2031.37Sgwrss* at scsibus? target ? lun ? # SCSI scanners 2041.37Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 2051.24Sgwr 2061.33Spk# Memory-disk drivers 2071.38Slukempseudo-device md 2 2081.1Sglass 2091.25Sgwr# Misc. 2101.38Slukempseudo-device loop 1 # network loopback 2111.38Slukempseudo-device bpfilter 8 # packet filter 2121.38Slukempseudo-device sl 2 # CSLIP 2131.38Slukempseudo-device ppp 2 # PPP 2141.38Slukempseudo-device tun 2 # network tunneling over tty 2151.55Shwr#pseudo-device gre 2 # generic L3 over IP tunnel 2161.37Sgwr#pseudo-device ipfilter # ip filter 2171.61Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2181.61Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2191.66Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2201.75Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2211.82Satatat#pseudo-device bridge # simple inter-network bridging 2221.74Sitojunpseudo-device rnd # /dev/random and in-kernel generator 2231.17Sgwr 2241.73Sjdolecekpseudo-device pty # pseudo-terminals 2251.67Stsutsuipseudo-device vnd 4 # paging to files 2261.38Slukem#pseudo-device ccd 4 # concatenated disks 2271.54Soster#pseudo-device raid 4 # RAIDframe disk driver 2281.65Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 229