GENERIC3X revision 1.54
11.54Stsutsui# $NetBSD: GENERIC3X,v 1.54 2002/10/18 19:30:03 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.50Satatat 81.50Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Sjeremy 101.19Sgwr# Machines to be supported by this kernel 111.19Sgwr# options FPU_EMULATE # XXX - Ever needed? 121.18Sgwr# options HAVE_IOCACHE # XXX - Not yet supported. 131.1Sjeremy 141.1Sjeremy# Needs to be set per system. i.e change these as you see fit 151.1Sjeremymaxusers 4 161.1Sjeremy 171.1Sjeremy# Standard system options 181.10Sgwroptions KTRACE # system call tracing 191.53Stsutsuioptions SYSTRACE # system call vetting via systrace(1) 201.10Sgwroptions SYSVMSG # System V message queues 211.10Sgwroptions SYSVSEM # System V semaphores 221.53Stsutsui#options SEMMNI=10 # number of semaphore identifiers 231.53Stsutsui#options SEMMNS=60 # number of semaphores in system 241.53Stsutsui#options SEMUME=10 # max number of undo entries per process 251.53Stsutsui#options SEMMNU=30 # number of undo structures in system 261.10Sgwroptions SYSVSHM # System V shared memory 271.10Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 281.21Sfairoptions LKM # loadable kernel modules 291.10Sgwr#options INSECURE # disable kernel security level 301.10Sgwr#options UCONSOLE # Allow non-root TIOCCONS 311.52Slukemoptions USERCONF # userconf(4) support 321.48Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 331.1Sjeremy 341.54Stsutsui# Enable experimental buffer queue strategy for better responsiness under 351.54Stsutsui# high disk I/O load. Use it with caution - it's not proven to be stable yet. 361.54Stsutsui#options NEW_BUFQ_STRATEGY 371.54Stsutsui 381.10Sgwr# Which kernel debugger? Uncomment either this: 391.1Sjeremyoptions DDB 401.1Sjeremy# ... or these for KGDB (gdb remote target) 411.44Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 421.1Sjeremy#options KGDB 431.43Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 441.10Sgwr 451.10Sgwr# Other debugging options 461.14Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 471.10Sgwr#options DEBUG # kernel debugging code 481.10Sgwr#options DIAGNOSTIC # extra kernel sanity checking 491.10Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 501.10Sgwr#options PMAP_DEBUG 511.10Sgwr#options SCSIDEBUG 521.9Smjacob#options SCSIVERBOSE # Verbose SCSI errors 531.1Sjeremy 541.39Swiz# Compatibility options 551.10Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 561.25Skleink#options COMPAT_SVR4 # can run SVR4 executables 571.10Sgwroptions COMPAT_43 # and 4.3BSD and ... 581.13Sgwroptions COMPAT_10 # NetBSD 1.0 591.13Sgwroptions COMPAT_11 # NetBSD 1.1 601.10Sgwroptions COMPAT_12 # NetBSD 1.2 611.16Skleinkoptions COMPAT_13 # NetBSD 1.3 621.26Saugustssoptions COMPAT_14 # NetBSD 1.4 631.38Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 641.23Sgwr#options COMPAT_LINUX # can run Linux/m68k executables 651.38Schsoptions EXEC_AOUT # support for a.out executables 661.40Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 671.10Sgwr 681.1Sjeremy# Filesystem options 691.10Sgwrfile-system FFS # Berkeley Fast Filesystem 701.10Sgwrfile-system NFS # Sun NFS client support 711.7Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 721.5Sjeremyfile-system MSDOSFS # MS-DOS FAT file system 731.7Slukemfile-system FDESC # /dev/fd/* 741.7Slukemfile-system KERNFS # /kern 751.7Slukemfile-system NULLFS # loopback file system 761.29Stsutsuifile-system OVERLAY # overlay file system 771.7Slukemfile-system PROCFS # /proc 781.7Slukemfile-system UNION # union file system 791.7Slukemfile-system MFS # memory-based filesystem 801.1Sjeremy 811.1Sjeremyoptions NFSSERVER # nfs server support 821.10Sgwroptions QUOTA # FFS quotas 831.20Sbouyer#options FFS_EI # FFS Endian Independant support 841.44Slukemoptions SOFTDEP # FFS soft updates support. 851.28Stsutsui 861.1Sjeremy# Networking options 871.1Sjeremyoptions INET # IP prototol stack support 881.28Stsutsuioptions INET6 # IPV6 891.28Stsutsui#options IPSEC # IP security 901.28Stsutsui#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 911.28Stsutsui#options IPSEC_DEBUG # debug for IP security 921.7Slukem#options GATEWAY # IP packet forwarding 931.10Sgwr#options ISO,TPIP # OSI networking 941.10Sgwr#options EON # OSI tunneling over IP 951.10Sgwr#options CCITT,LLC,HDLC # X.25 961.10Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 971.40Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 981.10Sgwr 991.10Sgwr# Work-around for root on slow servers (insurance...) 1001.1Sjeremyoptions NFS_BOOT_RWSIZE=1024 1011.18Sgwroptions NFS_BOOT_BOOTPARAM 1021.1Sjeremy 1031.1Sjeremyconfig netbsd root on ? type ? 1041.1Sjeremy 1051.18Sgwr# On-board I/O space (required) 1061.18Sgwrinclude "arch/sun3/conf/obio.sun3x" 1071.18Sgwr 1081.18Sgwr# On-board memory (optional) 1091.18Sgwr# See frame-buffers 1101.18Sgwrobmem0 at mainbus? 1111.18Sgwr 1121.18Sgwr# VME bus support (optional) 1131.18Sgwr# One unit for each address space 1141.18Sgwrvme0 at mainbus? # A16/D16 1151.18Sgwrvme1 at mainbus? # A16/D32 1161.18Sgwrvme2 at mainbus? # A24/D16 1171.18Sgwrvme3 at mainbus? # A24/D32 1181.18Sgwrvme4 at mainbus? # A32/D16 1191.18Sgwrvme5 at mainbus? # A32/D32 1201.18Sgwr 1211.1Sjeremy# 1221.1Sjeremy# Serial ports 1231.1Sjeremy# 1241.11Sgwrzstty0 at zsc1 channel 0 # ttya 1251.11Sgwrzstty1 at zsc1 channel 1 # ttyb 1261.1Sjeremy 1271.11Sgwrkbd0 at zsc0 channel 0 # keyboard 1281.11Sgwrms0 at zsc0 channel 1 # mouse 1291.1Sjeremy 1301.1Sjeremy# 1311.1Sjeremy# Network devices 1321.1Sjeremy# 1331.10Sgwr 1341.18Sgwr# Intel Ethernet (onboard, or VME) 1351.10Sgwrie0 at obio0 addr 0x65000000 ipl 3 1361.44Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1371.1Sjeremy 1381.1Sjeremy# Lance Ethernet (only onboard) 1391.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 1401.1Sjeremy 1411.1Sjeremy# 1421.1Sjeremy# Disk and tape devices 1431.1Sjeremy# 1441.1Sjeremy 1451.11Sgwr# Emulex SCSI (3/80 only) 1461.24Sgwr# Both `dma' and `esp' are needed. 1471.24Sgwr# The following flags may be set for the NCR53c94 based esp driver: 1481.6Sgwr# bits 0-7: disable disconnect/reselect for the corresponding target 1491.24Sgwr# bits 8-15: disable synchronous negotiation for target [bit-8] 1501.6Sgwr# 1511.24Sgwrdma0 at obio0 addr 0x66001000 ipl 2 1521.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f 1531.5Sjeremy 1541.5Sjeremy# Floppy drive 1551.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 1561.44Slukemfd0 at fdc0 # First (and only) floppy drive. 1571.12Sgwr 1581.12Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1591.12Sgwr# This driver has several flags which may be enabled using 1601.12Sgwr# the "flags" directive. Valid flags are: 1611.12Sgwr# 1621.12Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1631.12Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1641.12Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1651.12Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1661.12Sgwr# 1671.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1681.12Sgwr# and disable disconnect/reselect for targets 0-3 1691.44Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1701.44Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1711.18Sgwr 1721.18Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1731.18Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1741.18Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1751.18Sgwrxy* at xyc? drive ? 1761.18Sgwr 1771.18Sgwr# Xylogics 7053 controllers (VME A16/D32) 1781.18Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1791.18Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1801.18Sgwrxd* at xdc? drive ? 1811.18Sgwr 1821.18Sgwr# Xylogics 472 tape controllers? 1831.1Sjeremy 1841.1Sjeremy# 1851.1Sjeremy# Frame buffer devices 1861.1Sjeremy# 1871.1Sjeremy 1881.19Sgwr# P4 Monochrome frame buffer. 1891.44Slukembwtwo0 at obmem0 addr 0x50300000 1901.19Sgwr 1911.19Sgwr# P4 8-bit color frame buffer 1921.19Sgwrcgfour0 at obmem0 addr 0x50300000 1931.19Sgwr 1941.19Sgwr# P4 accelerated 8-bit color frame buffer 1951.23Sgwr# cgsix0 at obmem0 addr 0x50000000 1961.19Sgwr 1971.19Sgwr# P4 24-bit color frame buffer 1981.19Sgwr# cgeight0 at obmem0 addr 0x50300000 1991.19Sgwr 2001.19Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 2011.19Sgwr# This driver is going to need work in its mmap function. 2021.19Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 2031.19Sgwr 2041.19Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 2051.19Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2061.1Sjeremy 2071.1Sjeremy# 2081.1Sjeremy# SCSI infrastructure 2091.1Sjeremy# 2101.1Sjeremyscsibus* at scsi? 2111.1Sjeremy 2121.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 2131.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 2141.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 2151.1Sjeremych* at scsibus? target ? lun ? # SCSI changer devices 2161.1Sjeremyss* at scsibus? target ? lun ? # SCSI scanners 2171.1Sjeremyuk* at scsibus? target ? lun ? # unknown SCSI devices 2181.1Sjeremy 2191.1Sjeremy# Memory-disk drivers 2201.7Slukempseudo-device md 2 2211.1Sjeremy 2221.1Sjeremy# Misc. 2231.7Slukempseudo-device loop 1 # network loopback 2241.7Slukempseudo-device bpfilter 8 # packet filter 2251.7Slukempseudo-device sl 2 # CSLIP 2261.7Slukempseudo-device ppp 2 # PPP 2271.46Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2281.7Slukempseudo-device tun 2 # network tunneling over tty 2291.23Sgwr#pseudo-device gre 2 # generic L3 over IP tunnel 2301.1Sjeremy#pseudo-device ipfilter # ip filter 2311.28Stsutsuipseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2321.28Stsutsui#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2331.31Stsutsui#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2341.36Stsutsuipseudo-device vlan # IEEE 802.1q encapsulation 2351.45Satatatpseudo-device bridge # simple inter-network bridging 2361.34Sitojunpseudo-device rnd # /dev/random and in-kernel generator 2371.1Sjeremy 2381.33Sjdolecekpseudo-device pty # pseudo-terminals 2391.30Stsutsuipseudo-device vnd 4 # paging to files 2401.7Slukem#pseudo-device ccd 4 # concatenated disks 2411.54Stsutsui#pseudo-device cgd 4 # cryptographic disk devices 2421.23Sgwr#pseudo-device raid 4 # RAIDframe disk driver 2431.29Stsutsui#options RAID_AUTOCONFIG # auto-configuration of RAID components 2441.47Soster# Options to enable various other RAIDframe RAID types. 2451.47Soster# options RF_INCLUDE_EVENODD=1 2461.47Soster# options RF_INCLUDE_RAID5_RS=1 2471.47Soster# options RF_INCLUDE_PARITYLOGGING=1 2481.47Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2491.47Soster# options RF_INCLUDE_INTERDECLUSTER=1 2501.47Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2511.47Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2521.51Slukempseudo-device clockctl # user control of clock subsystem 253