GENERIC revision 1.66
11.66Sitojun# $NetBSD: GENERIC,v 1.66 2000/04/19 06:50:36 itojun 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.66Sitojun#ident "GENERIC-$Revision: 1.66 $" 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.41Sgwroptions SYSVSHM # System V shared memory 221.41Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 231.52Sfairoptions LKM # loadable kernel modules 241.41Sgwr#options INSECURE # disable kernel security level 251.41Sgwr#options UCONSOLE # Allow non-root TIOCCONS 261.30Sthorpej 271.41Sgwr# Which kernel debugger? Uncomment either this: 281.30Sthorpejoptions DDB 291.36Sgwr# ... or these for KGDB (gdb remote target) 301.41Sgwr#makeoptions DEBUG="-g" # debugging symbols for gdb 311.30Sthorpej#options KGDB 321.41Sgwr#options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01 331.41Sgwr 341.41Sgwr# Other debugging options 351.43Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 361.41Sgwr#options DEBUG # kernel debugging code 371.41Sgwr#options DIAGNOSTIC # extra kernel sanity checking 381.41Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 391.41Sgwr#options PMAP_DEBUG 401.41Sgwr#options SCSIDEBUG 411.40Smjacob#options SCSIVERBOSE # Verbose SCSI errors 421.1Sglass 431.41Sgwr# Compatability options 441.41Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 451.57Skleink#options COMPAT_SVR4 # can run SVR4 executables 461.41Sgwroptions COMPAT_43 # and 4.3BSD and ... 471.41Sgwroptions COMPAT_10 # NetBSD 1.0 481.41Sgwroptions COMPAT_11 # NetBSD 1.1 491.41Sgwroptions COMPAT_12 # NetBSD 1.2 501.45Skleinkoptions COMPAT_13 # NetBSD 1.3 511.59Saugustssoptions COMPAT_14 # NetBSD 1.4 521.56Sitohy#options COMPAT_LINUX # can run Linux/m68k executables 531.57Skleink#options EXEC_ELF32 # 32-bit ELF executables (Linux, SVR4) 541.41Sgwr 551.4Sgwr# Filesystem options 561.41Sgwrfile-system FFS # Berkeley Fast Filesystem 571.41Sgwrfile-system NFS # Sun NFS client support 581.38Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 591.38Slukemfile-system FDESC # /dev/fd/* 601.38Slukemfile-system KERNFS # /kern 611.38Slukemfile-system NULLFS # loopback file system 621.62Swrstudenfile-system OVERLAY # overlay file system 631.38Slukemfile-system PROCFS # /proc 641.38Slukemfile-system UNION # union file system 651.38Slukemfile-system MFS # memory-based filesystem 661.35Sthorpej 671.30Sthorpejoptions NFSSERVER # nfs server support 681.41Sgwroptions QUOTA # FFS quotas 691.51Sbouyer#options FFS_EI # FFS Endian Independant support 701.60Sfvdl#options SOFTDEP # FFS soft updates support. 711.4Sgwr 721.61Sitojun# Pull in config fragments for kernel crypto. This is required for 731.61Sitojun# options IPSEC etc. to work. If you want to run with IPSEC, uncomment 741.61Sitojun# one of these, based on whether you use crypto-us or crypto-intl, and 751.61Sitojun# adjust the prefixes as necessary. 761.61Sitojun 771.61Sitojun#prefix ../crypto-us/sys 781.61Sitojun#cinclude "conf/files.crypto-us" 791.61Sitojun#prefix 801.61Sitojun 811.61Sitojun#prefix ../crypto-intl/sys 821.61Sitojun#cinclude "conf/files.crypto-intl" 831.61Sitojun#prefix 841.61Sitojun 851.4Sgwr# Networking options 861.30Sthorpejoptions INET # IP prototol stack support 871.61Sitojunoptions INET6 # IPV6 881.61Sitojun#options IPSEC # IP security 891.61Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 901.61Sitojun#options IPSEC_DEBUG # debug for IP security 911.41Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 921.38Slukem#options GATEWAY # IP packet forwarding 931.41Sgwr#options ISO,TPIP # OSI networking 941.41Sgwr#options EON # OSI tunneling over IP 951.41Sgwr#options CCITT,LLC,HDLC # X.25 961.58Schristosoptions PFIL_HOOKS # pfil(9) packet filter hooks. 971.41Sgwr 981.41Sgwr# Work-around for root on slow servers (insurance...) 991.12Sgwroptions NFS_BOOT_RWSIZE=1024 1001.48Sgwroptions NFS_BOOT_BOOTPARAM 1011.3Sglass 1021.35Sthorpejconfig netbsd root on ? type ? 1031.1Sglass 1041.49Sgwr# On-board I/O space (required) 1051.49Sgwrinclude "arch/sun3/conf/obio.sun3" 1061.49Sgwr 1071.49Sgwr# On-board memory (optional) 1081.49Sgwr# See frame-buffers 1091.49Sgwrobmem0 at mainbus? 1101.49Sgwr 1111.49Sgwr# VME bus support (optional) 1121.49Sgwr# One unit for each address space 1131.49Sgwrvme0 at mainbus? # A16/D16 1141.49Sgwrvme1 at mainbus? # A16/D32 1151.49Sgwrvme2 at mainbus? # A24/D16 1161.49Sgwrvme3 at mainbus? # A24/D32 1171.49Sgwrvme4 at mainbus? # A32/D16 1181.49Sgwrvme5 at mainbus? # A32/D32 1191.49Sgwr 1201.25Sgwr# 1211.27Sgwr# Serial ports 1221.27Sgwr# 1231.38Slukemzstty0 at zsc1 channel 0 # ttya 1241.38Slukemzstty1 at zsc1 channel 1 # ttyb 1251.27Sgwr 1261.38Slukemkbd0 at zsc0 channel 0 # keyboard 1271.38Slukemms0 at zsc0 channel 1 # mouse 1281.27Sgwr 1291.27Sgwr# 1301.25Sgwr# Network devices 1311.25Sgwr# 1321.16Sgwr 1331.25Sgwr# Intel Ethernet (onboard, or VME) 1341.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3 1351.49Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1361.4Sgwr 1371.25Sgwr# Lance Ethernet (only onboard) 1381.49Sgwrle0 at obio0 addr 0x120000 ipl 3 1391.49Sgwr 1401.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1411.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1421.49Sgwroptions LANCE_REVC_BUG 1431.12Sgwr 1441.25Sgwr# 1451.25Sgwr# Disk and tape devices 1461.25Sgwr# 1471.25Sgwr 1481.25Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1491.37Sgwr# This driver has several flags which may be enabled using 1501.37Sgwr# the "flags" directive. Valid flags are: 1511.31Sgwr# 1521.37Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1531.37Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1541.37Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1551.37Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1561.37Sgwr# 1571.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1581.37Sgwr# and disable disconnect/reselect for targets 0-3 1591.49Sgwrsi0 at obio0 addr 0x140000 ipl 2 1601.49Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1611.49Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1621.49Sgwr 1631.49Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1641.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1651.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1661.41Sgwrxy* at xyc? drive ? 1671.37Sgwr 1681.49Sgwr# Xylogics 7053 controllers (VME A16/D32) 1691.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1701.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1711.41Sgwrxd* at xdc? drive ? 1721.25Sgwr 1731.25Sgwr# Xylogics 472 tape controllers? 1741.25Sgwr 1751.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 1761.49Sgwr# Note: the board uses vect and vect+1 1771.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 1781.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 1791.46Sgwrsi* at sebuf? 1801.46Sgwrie* at sebuf? 1811.46Sgwr 1821.46Sgwr# 1831.25Sgwr# Frame buffer devices 1841.25Sgwr# 1851.10Sgwr 1861.50Sgwrinclude "arch/sun3/conf/bw2.sun3" 1871.50Sgwrinclude "arch/sun3/conf/cg4.sun3" 1881.25Sgwr 1891.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 1901.50Sgwr# cgsix0 at obmem0 addr 0xff000000 1911.25Sgwr 1921.25Sgwr# 3/60 P4 24-bit color frame buffer 1931.50Sgwr# cgeight0 at obmem0 addr 0xff300000 1941.25Sgwr 1951.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1961.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 1971.25Sgwr 1981.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 1991.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2001.25Sgwr 2011.25Sgwr# 2021.25Sgwr# SCSI infrastructure 2031.25Sgwr# 2041.7Sgwrscsibus* at scsi? 2051.14Sgwr 2061.37Sgwrsd* at scsibus? target ? lun ? # SCSI disks 2071.37Sgwrst* at scsibus? target ? lun ? # SCSI tapes 2081.37Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2091.37Sgwrch* at scsibus? target ? lun ? # SCSI changer devices 2101.37Sgwrss* at scsibus? target ? lun ? # SCSI scanners 2111.37Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 2121.24Sgwr 2131.33Spk# Memory-disk drivers 2141.38Slukempseudo-device md 2 2151.1Sglass 2161.25Sgwr# Misc. 2171.38Slukempseudo-device loop 1 # network loopback 2181.38Slukempseudo-device bpfilter 8 # packet filter 2191.38Slukempseudo-device sl 2 # CSLIP 2201.38Slukempseudo-device ppp 2 # PPP 2211.38Slukempseudo-device tun 2 # network tunneling over tty 2221.55Shwr#pseudo-device gre 2 # generic L3 over IP tunnel 2231.37Sgwr#pseudo-device ipfilter # ip filter 2241.61Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2251.61Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2261.66Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2271.44Sfair# rnd is EXPERIMENTAL 2281.44Sfair#pseudo-device rnd # /dev/random and in-kernel generator 2291.17Sgwr 2301.49Sgwrpseudo-device pty 32 # pseudo-terminals 2311.38Slukem#pseudo-device vnd 4 # paging to files 2321.38Slukem#pseudo-device ccd 4 # concatenated disks 2331.54Soster#pseudo-device raid 4 # RAIDframe disk driver 2341.65Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 235