GENERIC revision 1.49
11.49Sgwr# $NetBSD: GENERIC,v 1.49 1998/02/05 04:56:26 gwr 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.1Sglass 81.49Sgwr# Machines to be supported by this kernel. Note: 91.49Sgwr# The SUN3 and SUN3X options are mutually exclusive! 101.49Sgwr# (Your kernel will only run on one or the other.) 111.49Sgwrmakeoptions MACHTYPE=sun3 121.49Sgwroptions _SUN3_ 131.49Sgwr 141.15Sgwroptions FPU_EMULATE 151.21Sgwroptions HAVECACHE # Sun3/260 VAC 161.3Sglass 171.4Sgwr# Needs to be set per system. i.e change these as you see fit 181.3Sglassmaxusers 4 191.23Sgwr 201.4Sgwr# Standard system options 211.41Sgwroptions KTRACE # system call tracing 221.41Sgwroptions SYSVMSG # System V message queues 231.41Sgwroptions SYSVSEM # System V semaphores 241.41Sgwroptions SYSVSHM # System V shared memory 251.41Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 261.41Sgwr#options LKM # loadable kernel modules 271.41Sgwr#options INSECURE # disable kernel security level 281.41Sgwr#options UCONSOLE # Allow non-root TIOCCONS 291.30Sthorpej 301.41Sgwr# Which kernel debugger? Uncomment either this: 311.30Sthorpejoptions DDB 321.36Sgwr# ... or these for KGDB (gdb remote target) 331.41Sgwr#makeoptions DEBUG="-g" # debugging symbols for gdb 341.30Sthorpej#options KGDB 351.41Sgwr#options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01 361.41Sgwr 371.41Sgwr# Other debugging options 381.43Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 391.41Sgwr#options DEBUG # kernel debugging code 401.41Sgwr#options DIAGNOSTIC # extra kernel sanity checking 411.41Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 421.41Sgwr#options PMAP_DEBUG 431.41Sgwr#options SCSIDEBUG 441.40Smjacob#options SCSIVERBOSE # Verbose SCSI errors 451.1Sglass 461.41Sgwr# Compatability options 471.41Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 481.41Sgwroptions COMPAT_43 # and 4.3BSD and ... 491.41Sgwroptions COMPAT_10 # NetBSD 1.0 501.41Sgwroptions COMPAT_11 # NetBSD 1.1 511.41Sgwroptions COMPAT_12 # NetBSD 1.2 521.45Skleinkoptions COMPAT_13 # NetBSD 1.3 531.41Sgwr 541.4Sgwr# Filesystem options 551.41Sgwrfile-system FFS # Berkeley Fast Filesystem 561.41Sgwrfile-system NFS # Sun NFS client support 571.38Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 581.38Slukemfile-system FDESC # /dev/fd/* 591.38Slukemfile-system KERNFS # /kern 601.38Slukemfile-system NULLFS # loopback file system 611.38Slukemfile-system PROCFS # /proc 621.38Slukemfile-system UNION # union file system 631.38Slukemfile-system MFS # memory-based filesystem 641.35Sthorpej 651.41Sgwroptions FIFO # FIFOs; RECOMMENDED 661.30Sthorpejoptions NFSSERVER # nfs server support 671.41Sgwroptions QUOTA # FFS quotas 681.4Sgwr 691.4Sgwr# Networking options 701.30Sthorpejoptions INET # IP prototol stack support 711.41Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 721.38Slukem#options GATEWAY # IP packet forwarding 731.41Sgwr#options ISO,TPIP # OSI networking 741.41Sgwr#options EON # OSI tunneling over IP 751.41Sgwr#options CCITT,LLC,HDLC # X.25 761.41Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 771.41Sgwr 781.41Sgwr# Work-around for root on slow servers (insurance...) 791.12Sgwroptions NFS_BOOT_RWSIZE=1024 801.48Sgwroptions NFS_BOOT_BOOTPARAM 811.3Sglass 821.35Sthorpejconfig netbsd root on ? type ? 831.1Sglass 841.49Sgwr# On-board I/O space (required) 851.49Sgwrinclude "arch/sun3/conf/obio.sun3" 861.49Sgwr 871.49Sgwr# On-board memory (optional) 881.49Sgwr# See frame-buffers 891.49Sgwrobmem0 at mainbus? 901.49Sgwr 911.49Sgwr# VME bus support (optional) 921.49Sgwr# One unit for each address space 931.49Sgwrvme0 at mainbus? # A16/D16 941.49Sgwrvme1 at mainbus? # A16/D32 951.49Sgwrvme2 at mainbus? # A24/D16 961.49Sgwrvme3 at mainbus? # A24/D32 971.49Sgwrvme4 at mainbus? # A32/D16 981.49Sgwrvme5 at mainbus? # A32/D32 991.49Sgwr 1001.25Sgwr# 1011.27Sgwr# Serial ports 1021.27Sgwr# 1031.38Slukemzstty0 at zsc1 channel 0 # ttya 1041.38Slukemzstty1 at zsc1 channel 1 # ttyb 1051.27Sgwr 1061.38Slukemkbd0 at zsc0 channel 0 # keyboard 1071.38Slukemms0 at zsc0 channel 1 # mouse 1081.27Sgwr 1091.27Sgwr# 1101.25Sgwr# Network devices 1111.25Sgwr# 1121.16Sgwr 1131.25Sgwr# Intel Ethernet (onboard, or VME) 1141.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3 1151.49Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1161.4Sgwr 1171.25Sgwr# Lance Ethernet (only onboard) 1181.49Sgwrle0 at obio0 addr 0x120000 ipl 3 1191.49Sgwr 1201.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1211.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1221.49Sgwroptions LANCE_REVC_BUG 1231.12Sgwr 1241.25Sgwr# 1251.25Sgwr# Disk and tape devices 1261.25Sgwr# 1271.25Sgwr 1281.25Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1291.37Sgwr# This driver has several flags which may be enabled using 1301.37Sgwr# the "flags" directive. Valid flags are: 1311.31Sgwr# 1321.37Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1331.37Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1341.37Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1351.37Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1361.37Sgwr# 1371.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1381.37Sgwr# and disable disconnect/reselect for targets 0-3 1391.49Sgwrsi0 at obio0 addr 0x140000 ipl 2 1401.49Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1411.49Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1421.49Sgwr 1431.49Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1441.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1451.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1461.41Sgwrxy* at xyc? drive ? 1471.37Sgwr 1481.49Sgwr# Xylogics 7053 controllers (VME A16/D32) 1491.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1501.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1511.41Sgwrxd* at xdc? drive ? 1521.25Sgwr 1531.25Sgwr# Xylogics 472 tape controllers? 1541.25Sgwr 1551.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 1561.49Sgwr# Note: the board uses vect and vect+1 1571.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 1581.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 1591.46Sgwrsi* at sebuf? 1601.46Sgwrie* at sebuf? 1611.46Sgwr 1621.46Sgwr# 1631.25Sgwr# Frame buffer devices 1641.25Sgwr# 1651.10Sgwr 1661.25Sgwr# The default cgfour address depends on the machine: 1671.27Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff 1681.25Sgwr# 3/110: different? (not tested) 1691.25Sgwrcgfour0 at obmem0 addr ? 1701.25Sgwr 1711.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 1721.25Sgwr# cgsix0 at obmem0 addr ? 1731.25Sgwr 1741.25Sgwr# 3/60 P4 24-bit color frame buffer 1751.25Sgwr# cgeight0 at obmem0 addr ? 1761.25Sgwr 1771.25Sgwr# The default bwtwo address depends on the machine: 1781.27Sgwr# 3/50: obmem 0x100000 1791.27Sgwr# else: obmem 0xff000000 1801.25Sgwrbwtwo0 at obmem0 addr ? 1811.25Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer 1821.25Sgwr#bwtwo1 at obmem0 addr 0xff300000 1831.25Sgwr# 3/60 plug-in color frame buffer overlay plane 1841.25Sgwr#bwtwo1 at obmem0 addr 0xff400000 1851.25Sgwr 1861.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1871.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 1881.25Sgwr 1891.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 1901.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 1911.25Sgwr 1921.25Sgwr# 1931.25Sgwr# SCSI infrastructure 1941.25Sgwr# 1951.7Sgwrscsibus* at scsi? 1961.14Sgwr 1971.37Sgwrsd* at scsibus? target ? lun ? # SCSI disks 1981.37Sgwrst* at scsibus? target ? lun ? # SCSI tapes 1991.37Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2001.37Sgwrch* at scsibus? target ? lun ? # SCSI changer devices 2011.37Sgwrss* at scsibus? target ? lun ? # SCSI scanners 2021.37Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 2031.24Sgwr 2041.33Spk# Memory-disk drivers 2051.38Slukempseudo-device md 2 2061.1Sglass 2071.25Sgwr# Misc. 2081.38Slukempseudo-device loop 1 # network loopback 2091.38Slukempseudo-device bpfilter 8 # packet filter 2101.38Slukempseudo-device sl 2 # CSLIP 2111.38Slukempseudo-device ppp 2 # PPP 2121.38Slukempseudo-device tun 2 # network tunneling over tty 2131.37Sgwr#pseudo-device ipfilter # ip filter 2141.44Sfair# rnd is EXPERIMENTAL 2151.44Sfair#pseudo-device rnd # /dev/random and in-kernel generator 2161.17Sgwr 2171.49Sgwrpseudo-device pty 32 # pseudo-terminals 2181.38Slukem#pseudo-device vnd 4 # paging to files 2191.38Slukem#pseudo-device ccd 4 # concatenated disks 220