GENERIC revision 1.45
11.45Skleink# $NetBSD: GENERIC,v 1.45 1997/12/01 16:07:08 kleink Exp $ 21.9Sgwr 31.21Sgwr# GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260) 41.21Sgwr# Supports root on: ie0, le0, sd*, ... 51.1Sglass 61.29Sjtcinclude "arch/sun3/conf/std.sun3" 71.1Sglass 81.4Sgwr# Machines to be supported by this kernel 91.15Sgwroptions FPU_EMULATE 101.21Sgwroptions HAVECACHE # Sun3/260 VAC 111.3Sglass 121.4Sgwr# Needs to be set per system. i.e change these as you see fit 131.3Sglassmaxusers 4 141.23Sgwr 151.4Sgwr# Standard system options 161.41Sgwroptions KTRACE # system call tracing 171.41Sgwroptions SYSVMSG # System V message queues 181.41Sgwroptions SYSVSEM # System V semaphores 191.41Sgwroptions SYSVSHM # System V shared memory 201.41Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 211.41Sgwr#options LKM # loadable kernel modules 221.41Sgwr#options INSECURE # disable kernel security level 231.41Sgwr#options UCONSOLE # Allow non-root TIOCCONS 241.30Sthorpej 251.41Sgwr# Which kernel debugger? Uncomment either this: 261.30Sthorpejoptions DDB 271.36Sgwr# ... or these for KGDB (gdb remote target) 281.41Sgwr#makeoptions DEBUG="-g" # debugging symbols for gdb 291.30Sthorpej#options KGDB 301.41Sgwr#options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01 311.41Sgwr 321.41Sgwr# Other debugging options 331.43Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 341.41Sgwr#options DEBUG # kernel debugging code 351.41Sgwr#options DIAGNOSTIC # extra kernel sanity checking 361.41Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 371.41Sgwr#options PMAP_DEBUG 381.41Sgwr#options SCSIDEBUG 391.40Smjacob#options SCSIVERBOSE # Verbose SCSI errors 401.1Sglass 411.41Sgwr# Compatability options 421.41Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 431.41Sgwroptions COMPAT_43 # and 4.3BSD and ... 441.41Sgwroptions COMPAT_10 # NetBSD 1.0 451.41Sgwroptions COMPAT_11 # NetBSD 1.1 461.41Sgwroptions COMPAT_12 # NetBSD 1.2 471.45Skleinkoptions COMPAT_13 # NetBSD 1.3 481.41Sgwr 491.4Sgwr# Filesystem options 501.41Sgwrfile-system FFS # Berkeley Fast Filesystem 511.41Sgwrfile-system NFS # Sun NFS client support 521.38Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 531.38Slukemfile-system FDESC # /dev/fd/* 541.38Slukemfile-system KERNFS # /kern 551.38Slukemfile-system NULLFS # loopback file system 561.38Slukemfile-system PROCFS # /proc 571.38Slukemfile-system UNION # union file system 581.38Slukemfile-system MFS # memory-based filesystem 591.35Sthorpej 601.41Sgwroptions FIFO # FIFOs; RECOMMENDED 611.30Sthorpejoptions NFSSERVER # nfs server support 621.41Sgwroptions QUOTA # FFS quotas 631.4Sgwr 641.4Sgwr# Networking options 651.30Sthorpejoptions INET # IP prototol stack support 661.41Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 671.38Slukem#options GATEWAY # IP packet forwarding 681.41Sgwr#options ISO,TPIP # OSI networking 691.41Sgwr#options EON # OSI tunneling over IP 701.41Sgwr#options CCITT,LLC,HDLC # X.25 711.41Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 721.41Sgwr 731.41Sgwr# Work-around for root on slow servers (insurance...) 741.12Sgwroptions NFS_BOOT_RWSIZE=1024 751.3Sglass 761.35Sthorpejconfig netbsd root on ? type ? 771.1Sglass 781.25Sgwr# 791.27Sgwr# Serial ports 801.27Sgwr# 811.38Slukemzstty0 at zsc1 channel 0 # ttya 821.38Slukemzstty1 at zsc1 channel 1 # ttyb 831.27Sgwr 841.38Slukemkbd0 at zsc0 channel 0 # keyboard 851.38Slukemms0 at zsc0 channel 1 # mouse 861.27Sgwr 871.27Sgwr# 881.25Sgwr# Network devices 891.25Sgwr# 901.16Sgwr 911.25Sgwr# Intel Ethernet (onboard, or VME) 921.31Sgwrie0 at obio0 addr 0x0C0000 level 3 931.12Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75 941.4Sgwr 951.25Sgwr# Lance Ethernet (only onboard) 961.31Sgwrle0 at obio0 addr 0x120000 level 3 971.12Sgwr 981.25Sgwr# 991.25Sgwr# Disk and tape devices 1001.25Sgwr# 1011.25Sgwr 1021.25Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1031.37Sgwr# This driver has several flags which may be enabled using 1041.37Sgwr# the "flags" directive. Valid flags are: 1051.31Sgwr# 1061.37Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1071.37Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1081.37Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1091.37Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1101.37Sgwr# 1111.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1121.37Sgwr# and disable disconnect/reselect for targets 0-3 1131.41Sgwr# XXX: Disable disconnect/reselect on disks for now... 1141.41Sgwr# XXX: Disable DMA interrupts for now on the obio... 1151.41Sgwrsi0 at obio0 addr 0x140000 level 2 flags 0x1000f 1161.41Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40 flags 0xf 1171.41Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41 flags 0xf 1181.25Sgwr 1191.37Sgwr# Xylogics 450/451 controllers 1201.41Sgwrxyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48 1211.41Sgwrxyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49 1221.41Sgwrxy* at xyc? drive ? 1231.37Sgwr 1241.25Sgwr# Xylogics 7053 controllers 1251.41Sgwrxdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44 1261.41Sgwrxdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45 1271.41Sgwrxd* at xdc? drive ? 1281.25Sgwr 1291.25Sgwr# Xylogics 472 tape controllers? 1301.25Sgwr 1311.25Sgwr# 1321.25Sgwr# Frame buffer devices 1331.25Sgwr# 1341.10Sgwr 1351.25Sgwr# The default cgfour address depends on the machine: 1361.27Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff 1371.25Sgwr# 3/110: different? (not tested) 1381.25Sgwrcgfour0 at obmem0 addr ? 1391.25Sgwr 1401.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 1411.25Sgwr# cgsix0 at obmem0 addr ? 1421.25Sgwr 1431.25Sgwr# 3/60 P4 24-bit color frame buffer 1441.25Sgwr# cgeight0 at obmem0 addr ? 1451.25Sgwr 1461.25Sgwr# The default bwtwo address depends on the machine: 1471.27Sgwr# 3/50: obmem 0x100000 1481.27Sgwr# else: obmem 0xff000000 1491.25Sgwrbwtwo0 at obmem0 addr ? 1501.25Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer 1511.25Sgwr#bwtwo1 at obmem0 addr 0xff300000 1521.25Sgwr# 3/60 plug-in color frame buffer overlay plane 1531.25Sgwr#bwtwo1 at obmem0 addr 0xff400000 1541.25Sgwr 1551.25Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer. 1561.25Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8 1571.25Sgwr 1581.25Sgwr# Support for the CG9 24-bit VME frame buffer. 1591.25Sgwr# cgnine0 at vmel0 addr 0x08000000 1601.41Sgwr 1611.41Sgwr# 1621.41Sgwr# Sun3/E stuff 1631.41Sgwr# 1641.41Sgwrsebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74 1651.41Sgwrsebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76 1661.41Sgwrsi* at sebuf? 1671.41Sgwrie* at sebuf? 1681.25Sgwr 1691.25Sgwr# 1701.25Sgwr# SCSI infrastructure 1711.25Sgwr# 1721.7Sgwrscsibus* at scsi? 1731.14Sgwr 1741.37Sgwrsd* at scsibus? target ? lun ? # SCSI disks 1751.37Sgwrst* at scsibus? target ? lun ? # SCSI tapes 1761.37Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 1771.37Sgwrch* at scsibus? target ? lun ? # SCSI changer devices 1781.37Sgwrss* at scsibus? target ? lun ? # SCSI scanners 1791.37Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 1801.24Sgwr 1811.33Spk# Memory-disk drivers 1821.38Slukempseudo-device md 2 1831.1Sglass 1841.25Sgwr# Misc. 1851.38Slukempseudo-device loop 1 # network loopback 1861.38Slukempseudo-device bpfilter 8 # packet filter 1871.38Slukempseudo-device sl 2 # CSLIP 1881.38Slukempseudo-device ppp 2 # PPP 1891.38Slukempseudo-device tun 2 # network tunneling over tty 1901.37Sgwr#pseudo-device ipfilter # ip filter 1911.44Sfair# rnd is EXPERIMENTAL 1921.44Sfair#pseudo-device rnd # /dev/random and in-kernel generator 1931.17Sgwr 1941.38Slukempseudo-device pty 64 # pseudo-terminals 1951.38Slukem#pseudo-device vnd 4 # paging to files 1961.38Slukem#pseudo-device ccd 4 # concatenated disks 197