GENERIC3X revision 1.30
11.30Stsutsui# $NetBSD: GENERIC3X,v 1.30 2000/06/09 13:16:00 tsutsui Exp $ 21.11Sgwr 31.18Sgwr# GENERIC Sun3X (3/80, 3/470) 41.18Sgwr# Supports root on: ie0, le0, sd*, ... 51.1Sjeremy 61.19Sgwrinclude "arch/sun3/conf/std.sun3x" 71.1Sjeremy 81.19Sgwr# Machines to be supported by this kernel 91.19Sgwr# options FPU_EMULATE # XXX - Ever needed? 101.18Sgwr# options HAVE_IOCACHE # XXX - Not yet supported. 111.1Sjeremy 121.1Sjeremy# Needs to be set per system. i.e change these as you see fit 131.1Sjeremymaxusers 4 141.1Sjeremy 151.1Sjeremy# Standard system options 161.10Sgwroptions KTRACE # system call tracing 171.10Sgwroptions SYSVMSG # System V message queues 181.10Sgwroptions SYSVSEM # System V semaphores 191.10Sgwroptions SYSVSHM # System V shared memory 201.10Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 211.21Sfairoptions LKM # loadable kernel modules 221.10Sgwr#options INSECURE # disable kernel security level 231.10Sgwr#options UCONSOLE # Allow non-root TIOCCONS 241.1Sjeremy 251.10Sgwr# Which kernel debugger? Uncomment either this: 261.1Sjeremyoptions DDB 271.1Sjeremy# ... or these for KGDB (gdb remote target) 281.1Sjeremy#makeoptions DEBUG="-g" # debugging symbols for gdb 291.1Sjeremy#options KGDB 301.1Sjeremy#options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01 311.10Sgwr 321.10Sgwr# Other debugging options 331.14Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 341.10Sgwr#options DEBUG # kernel debugging code 351.10Sgwr#options DIAGNOSTIC # extra kernel sanity checking 361.10Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 371.10Sgwr#options PMAP_DEBUG 381.10Sgwr#options SCSIDEBUG 391.9Smjacob#options SCSIVERBOSE # Verbose SCSI errors 401.1Sjeremy 411.10Sgwr# Compatability options 421.10Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 431.25Skleink#options COMPAT_SVR4 # can run SVR4 executables 441.10Sgwroptions COMPAT_43 # and 4.3BSD and ... 451.13Sgwroptions COMPAT_10 # NetBSD 1.0 461.13Sgwroptions COMPAT_11 # NetBSD 1.1 471.10Sgwroptions COMPAT_12 # NetBSD 1.2 481.16Skleinkoptions COMPAT_13 # NetBSD 1.3 491.26Saugustssoptions COMPAT_14 # NetBSD 1.4 501.23Sgwr#options COMPAT_LINUX # can run Linux/m68k executables 511.25Skleink#options EXEC_ELF32 # 32-bit ELF executables (Linux, SVR4) 521.10Sgwr 531.1Sjeremy# Filesystem options 541.10Sgwrfile-system FFS # Berkeley Fast Filesystem 551.10Sgwrfile-system NFS # Sun NFS client support 561.7Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 571.5Sjeremyfile-system MSDOSFS # MS-DOS FAT file system 581.7Slukemfile-system FDESC # /dev/fd/* 591.7Slukemfile-system KERNFS # /kern 601.7Slukemfile-system NULLFS # loopback file system 611.29Stsutsuifile-system OVERLAY # overlay file system 621.7Slukemfile-system PROCFS # /proc 631.7Slukemfile-system UNION # union file system 641.7Slukemfile-system MFS # memory-based filesystem 651.1Sjeremy 661.1Sjeremyoptions NFSSERVER # nfs server support 671.10Sgwroptions QUOTA # FFS quotas 681.20Sbouyer#options FFS_EI # FFS Endian Independant support 691.27Sfvdl#options SOFTDEP # FFS soft updates support. 701.1Sjeremy 711.28Stsutsui# Pull in config fragments for kernel crypto. This is required for 721.28Stsutsui# options IPSEC etc. to work. If you want to run with IPSEC, uncomment 731.28Stsutsui# one of these, based on whether you use crypto-us or crypto-intl, and 741.28Stsutsui# adjust the prefixes as necessary. 751.28Stsutsui 761.28Stsutsui#prefix ../crypto-us/sys 771.28Stsutsui#cinclude "conf/files.crypto-us" 781.28Stsutsui#prefix 791.28Stsutsui 801.28Stsutsui#prefix ../crypto-intl/sys 811.28Stsutsui#cinclude "conf/files.crypto-intl" 821.28Stsutsui#prefix 831.28Stsutsui 841.1Sjeremy# Networking options 851.1Sjeremyoptions INET # IP prototol stack support 861.28Stsutsuioptions INET6 # IPV6 871.28Stsutsui#options IPSEC # IP security 881.28Stsutsui#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 891.28Stsutsui#options IPSEC_DEBUG # debug for IP security 901.10Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 911.7Slukem#options GATEWAY # IP packet forwarding 921.10Sgwr#options ISO,TPIP # OSI networking 931.10Sgwr#options EON # OSI tunneling over IP 941.10Sgwr#options CCITT,LLC,HDLC # X.25 951.10Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 961.10Sgwr 971.10Sgwr# Work-around for root on slow servers (insurance...) 981.1Sjeremyoptions NFS_BOOT_RWSIZE=1024 991.18Sgwroptions NFS_BOOT_BOOTPARAM 1001.1Sjeremy 1011.1Sjeremyconfig netbsd root on ? type ? 1021.1Sjeremy 1031.18Sgwr# On-board I/O space (required) 1041.18Sgwrinclude "arch/sun3/conf/obio.sun3x" 1051.18Sgwr 1061.18Sgwr# On-board memory (optional) 1071.18Sgwr# See frame-buffers 1081.18Sgwrobmem0 at mainbus? 1091.18Sgwr 1101.18Sgwr# VME bus support (optional) 1111.18Sgwr# One unit for each address space 1121.18Sgwrvme0 at mainbus? # A16/D16 1131.18Sgwrvme1 at mainbus? # A16/D32 1141.18Sgwrvme2 at mainbus? # A24/D16 1151.18Sgwrvme3 at mainbus? # A24/D32 1161.18Sgwrvme4 at mainbus? # A32/D16 1171.18Sgwrvme5 at mainbus? # A32/D32 1181.18Sgwr 1191.1Sjeremy# 1201.1Sjeremy# Serial ports 1211.1Sjeremy# 1221.11Sgwrzstty0 at zsc1 channel 0 # ttya 1231.11Sgwrzstty1 at zsc1 channel 1 # ttyb 1241.1Sjeremy 1251.11Sgwrkbd0 at zsc0 channel 0 # keyboard 1261.11Sgwrms0 at zsc0 channel 1 # mouse 1271.1Sjeremy 1281.1Sjeremy# 1291.1Sjeremy# Network devices 1301.1Sjeremy# 1311.10Sgwr 1321.18Sgwr# Intel Ethernet (onboard, or VME) 1331.10Sgwrie0 at obio0 addr 0x65000000 ipl 3 1341.12Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1351.1Sjeremy 1361.1Sjeremy# Lance Ethernet (only onboard) 1371.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 1381.1Sjeremy 1391.1Sjeremy# 1401.1Sjeremy# Disk and tape devices 1411.1Sjeremy# 1421.1Sjeremy 1431.11Sgwr# Emulex SCSI (3/80 only) 1441.24Sgwr# Both `dma' and `esp' are needed. 1451.24Sgwr# The following flags may be set for the NCR53c94 based esp driver: 1461.6Sgwr# bits 0-7: disable disconnect/reselect for the corresponding target 1471.24Sgwr# bits 8-15: disable synchronous negotiation for target [bit-8] 1481.6Sgwr# 1491.24Sgwrdma0 at obio0 addr 0x66001000 ipl 2 1501.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f 1511.5Sjeremy 1521.5Sjeremy# Floppy drive 1531.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 1541.5Sjeremyfd0 at fdc0 # First (and only) floppy drive. 1551.12Sgwr 1561.12Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1571.12Sgwr# This driver has several flags which may be enabled using 1581.12Sgwr# the "flags" directive. Valid flags are: 1591.12Sgwr# 1601.12Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1611.12Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1621.12Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1631.12Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1641.12Sgwr# 1651.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1661.12Sgwr# and disable disconnect/reselect for targets 0-3 1671.18Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1681.18Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1691.18Sgwr 1701.18Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1711.18Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1721.18Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1731.18Sgwrxy* at xyc? drive ? 1741.18Sgwr 1751.18Sgwr# Xylogics 7053 controllers (VME A16/D32) 1761.18Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1771.18Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1781.18Sgwrxd* at xdc? drive ? 1791.18Sgwr 1801.18Sgwr# Xylogics 472 tape controllers? 1811.1Sjeremy 1821.1Sjeremy# 1831.1Sjeremy# Frame buffer devices 1841.1Sjeremy# 1851.1Sjeremy 1861.19Sgwr# P4 Monochrome frame buffer. 1871.19Sgwrbwtwo0 at obmem0 addr 0x50300000 1881.19Sgwr 1891.19Sgwr# P4 8-bit color frame buffer 1901.19Sgwrcgfour0 at obmem0 addr 0x50300000 1911.19Sgwr 1921.19Sgwr# P4 accelerated 8-bit color frame buffer 1931.23Sgwr# cgsix0 at obmem0 addr 0x50000000 1941.19Sgwr 1951.19Sgwr# P4 24-bit color frame buffer 1961.19Sgwr# cgeight0 at obmem0 addr 0x50300000 1971.19Sgwr 1981.19Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1991.19Sgwr# This driver is going to need work in its mmap function. 2001.19Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 2011.19Sgwr 2021.19Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 2031.19Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2041.1Sjeremy 2051.1Sjeremy# 2061.1Sjeremy# SCSI infrastructure 2071.1Sjeremy# 2081.1Sjeremyscsibus* at scsi? 2091.1Sjeremy 2101.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 2111.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 2121.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 2131.1Sjeremych* at scsibus? target ? lun ? # SCSI changer devices 2141.1Sjeremyss* at scsibus? target ? lun ? # SCSI scanners 2151.1Sjeremyuk* at scsibus? target ? lun ? # unknown SCSI devices 2161.1Sjeremy 2171.1Sjeremy# Memory-disk drivers 2181.7Slukempseudo-device md 2 2191.1Sjeremy 2201.1Sjeremy# Misc. 2211.7Slukempseudo-device loop 1 # network loopback 2221.7Slukempseudo-device bpfilter 8 # packet filter 2231.7Slukempseudo-device sl 2 # CSLIP 2241.7Slukempseudo-device ppp 2 # PPP 2251.7Slukempseudo-device tun 2 # network tunneling over tty 2261.23Sgwr#pseudo-device gre 2 # generic L3 over IP tunnel 2271.1Sjeremy#pseudo-device ipfilter # ip filter 2281.28Stsutsuipseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2291.28Stsutsui#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2301.15Sfair# rnd is EXPERIMENTAL 2311.15Sfair#pseudo-device rnd # /dev/random and in-kernel generator 2321.1Sjeremy 2331.18Sgwrpseudo-device pty 32 # pseudo-terminals 2341.30Stsutsuipseudo-device vnd 4 # paging to files 2351.7Slukem#pseudo-device ccd 4 # concatenated disks 2361.23Sgwr#pseudo-device raid 4 # RAIDframe disk driver 2371.29Stsutsui#options RAID_AUTOCONFIG # auto-configuration of RAID components 238