GENERIC3X revision 1.21
11.21Sfair# $NetBSD: GENERIC3X,v 1.21 1998/06/11 19:02:35 fair 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.10Sgwroptions COMPAT_43 # and 4.3BSD and ... 441.13Sgwroptions COMPAT_10 # NetBSD 1.0 451.13Sgwroptions COMPAT_11 # NetBSD 1.1 461.10Sgwroptions COMPAT_12 # NetBSD 1.2 471.16Skleinkoptions COMPAT_13 # NetBSD 1.3 481.10Sgwr 491.1Sjeremy# Filesystem options 501.10Sgwrfile-system FFS # Berkeley Fast Filesystem 511.10Sgwrfile-system NFS # Sun NFS client support 521.7Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 531.5Sjeremyfile-system MSDOSFS # MS-DOS FAT file system 541.7Slukemfile-system FDESC # /dev/fd/* 551.7Slukemfile-system KERNFS # /kern 561.7Slukemfile-system NULLFS # loopback file system 571.7Slukemfile-system PROCFS # /proc 581.7Slukemfile-system UNION # union file system 591.7Slukemfile-system MFS # memory-based filesystem 601.1Sjeremy 611.10Sgwroptions FIFO # FIFOs; RECOMMENDED 621.1Sjeremyoptions NFSSERVER # nfs server support 631.10Sgwroptions QUOTA # FFS quotas 641.20Sbouyer#options FFS_EI # FFS Endian Independant support 651.1Sjeremy 661.1Sjeremy# Networking options 671.1Sjeremyoptions INET # IP prototol stack support 681.10Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 691.7Slukem#options GATEWAY # IP packet forwarding 701.10Sgwr#options ISO,TPIP # OSI networking 711.10Sgwr#options EON # OSI tunneling over IP 721.10Sgwr#options CCITT,LLC,HDLC # X.25 731.10Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 741.10Sgwr 751.10Sgwr# Work-around for root on slow servers (insurance...) 761.1Sjeremyoptions NFS_BOOT_RWSIZE=1024 771.18Sgwroptions NFS_BOOT_BOOTPARAM 781.1Sjeremy 791.1Sjeremyconfig netbsd root on ? type ? 801.1Sjeremy 811.18Sgwr# On-board I/O space (required) 821.18Sgwrinclude "arch/sun3/conf/obio.sun3x" 831.18Sgwr 841.18Sgwr# On-board memory (optional) 851.18Sgwr# See frame-buffers 861.18Sgwrobmem0 at mainbus? 871.18Sgwr 881.18Sgwr# VME bus support (optional) 891.18Sgwr# One unit for each address space 901.18Sgwrvme0 at mainbus? # A16/D16 911.18Sgwrvme1 at mainbus? # A16/D32 921.18Sgwrvme2 at mainbus? # A24/D16 931.18Sgwrvme3 at mainbus? # A24/D32 941.18Sgwrvme4 at mainbus? # A32/D16 951.18Sgwrvme5 at mainbus? # A32/D32 961.18Sgwr 971.1Sjeremy# 981.1Sjeremy# Serial ports 991.1Sjeremy# 1001.11Sgwrzstty0 at zsc1 channel 0 # ttya 1011.11Sgwrzstty1 at zsc1 channel 1 # ttyb 1021.1Sjeremy 1031.11Sgwrkbd0 at zsc0 channel 0 # keyboard 1041.11Sgwrms0 at zsc0 channel 1 # mouse 1051.1Sjeremy 1061.1Sjeremy# 1071.1Sjeremy# Network devices 1081.1Sjeremy# 1091.10Sgwr 1101.18Sgwr# Intel Ethernet (onboard, or VME) 1111.10Sgwrie0 at obio0 addr 0x65000000 ipl 3 1121.12Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1131.1Sjeremy 1141.1Sjeremy# Lance Ethernet (only onboard) 1151.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 1161.1Sjeremy 1171.1Sjeremy# 1181.1Sjeremy# Disk and tape devices 1191.1Sjeremy# 1201.1Sjeremy 1211.11Sgwr# Emulex SCSI (3/80 only) 1221.6Sgwr# Note the flags on the esp entries below, that work around 1231.6Sgwr# deficiencies in the current driver: 1241.6Sgwr# bits 0-7: disable disconnect/reselect for the corresponding target 1251.6Sgwr# bits 8-15: disable synch negotiation for target [bit-8] 1261.6Sgwr# Note: targets 4-7 have disconnect/reselect enabled on the premise 1271.6Sgwr# that tape devices normally have one of these targets. Tape 1281.6Sgwr# devices should be allowed to disconnect for the SCSI bus 1291.6Sgwr# to operate acceptably. 1301.6Sgwr# 1311.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f 1321.5Sjeremy 1331.5Sjeremy# Floppy drive 1341.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 1351.5Sjeremyfd0 at fdc0 # First (and only) floppy drive. 1361.12Sgwr 1371.12Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1381.12Sgwr# This driver has several flags which may be enabled using 1391.12Sgwr# the "flags" directive. Valid flags are: 1401.12Sgwr# 1411.12Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1421.12Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1431.12Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1441.12Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1451.12Sgwr# 1461.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1471.12Sgwr# and disable disconnect/reselect for targets 0-3 1481.18Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1491.18Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1501.18Sgwr 1511.18Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1521.18Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1531.18Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1541.18Sgwrxy* at xyc? drive ? 1551.18Sgwr 1561.18Sgwr# Xylogics 7053 controllers (VME A16/D32) 1571.18Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1581.18Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1591.18Sgwrxd* at xdc? drive ? 1601.18Sgwr 1611.18Sgwr# Xylogics 472 tape controllers? 1621.1Sjeremy 1631.1Sjeremy# 1641.1Sjeremy# Frame buffer devices 1651.1Sjeremy# 1661.1Sjeremy 1671.19Sgwr# P4 Monochrome frame buffer. 1681.19Sgwrbwtwo0 at obmem0 addr 0x50300000 1691.19Sgwr 1701.19Sgwr# P4 8-bit color frame buffer 1711.19Sgwrcgfour0 at obmem0 addr 0x50300000 1721.19Sgwr 1731.19Sgwr# P4 accelerated 8-bit color frame buffer 1741.19Sgwr# cgsix0 at obmem0 addr 0x50000000 1751.19Sgwr 1761.19Sgwr# P4 24-bit color frame buffer 1771.19Sgwr# cgeight0 at obmem0 addr 0x50300000 1781.19Sgwr 1791.19Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1801.19Sgwr# This driver is going to need work in its mmap function. 1811.19Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 1821.19Sgwr 1831.19Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 1841.19Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 1851.1Sjeremy 1861.1Sjeremy# 1871.1Sjeremy# SCSI infrastructure 1881.1Sjeremy# 1891.1Sjeremyscsibus* at scsi? 1901.1Sjeremy 1911.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 1921.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 1931.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 1941.1Sjeremych* at scsibus? target ? lun ? # SCSI changer devices 1951.1Sjeremyss* at scsibus? target ? lun ? # SCSI scanners 1961.1Sjeremyuk* at scsibus? target ? lun ? # unknown SCSI devices 1971.1Sjeremy 1981.1Sjeremy# Memory-disk drivers 1991.7Slukempseudo-device md 2 2001.1Sjeremy 2011.1Sjeremy# Misc. 2021.7Slukempseudo-device loop 1 # network loopback 2031.7Slukempseudo-device bpfilter 8 # packet filter 2041.7Slukempseudo-device sl 2 # CSLIP 2051.7Slukempseudo-device ppp 2 # PPP 2061.7Slukempseudo-device tun 2 # network tunneling over tty 2071.1Sjeremy#pseudo-device ipfilter # ip filter 2081.15Sfair# rnd is EXPERIMENTAL 2091.15Sfair#pseudo-device rnd # /dev/random and in-kernel generator 2101.1Sjeremy 2111.18Sgwrpseudo-device pty 32 # pseudo-terminals 2121.7Slukem#pseudo-device vnd 4 # paging to files 2131.7Slukem#pseudo-device ccd 4 # concatenated disks 214