GENERIC3X revision 1.18
11.18Sgwr# $NetBSD: GENERIC3X,v 1.18 1998/02/05 04:56:27 gwr Exp $ 21.11Sgwr 31.18Sgwr# GENERIC Sun3X (3/80, 3/470) 41.18Sgwr# Supports root on: ie0, le0, sd*, ... 51.1Sjeremy 61.18Sgwrinclude "arch/sun3/conf/std.sun3" 71.1Sjeremy 81.18Sgwr# Machines to be supported by this kernel. Note: 91.18Sgwr# The SUN3 and SUN3X options are mutually exclusive! 101.18Sgwr# (Your kernel will only run on one or the other.) 111.18Sgwrmakeoptions MACHTYPE=sun3x 121.18Sgwroptions _SUN3X_ 131.18Sgwr 141.18Sgwr# options FPU_EMULATE # Every Sun3X has an FPU, right? 151.18Sgwr# options HAVE_IOCACHE # XXX - Not yet supported. 161.1Sjeremy 171.1Sjeremy# Needs to be set per system. i.e change these as you see fit 181.1Sjeremymaxusers 4 191.1Sjeremy 201.1Sjeremy# Standard system options 211.10Sgwroptions KTRACE # system call tracing 221.10Sgwroptions SYSVMSG # System V message queues 231.10Sgwroptions SYSVSEM # System V semaphores 241.10Sgwroptions SYSVSHM # System V shared memory 251.10Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 261.10Sgwr#options LKM # loadable kernel modules 271.10Sgwr#options INSECURE # disable kernel security level 281.10Sgwr#options UCONSOLE # Allow non-root TIOCCONS 291.1Sjeremy 301.10Sgwr# Which kernel debugger? Uncomment either this: 311.1Sjeremyoptions DDB 321.1Sjeremy# ... or these for KGDB (gdb remote target) 331.1Sjeremy#makeoptions DEBUG="-g" # debugging symbols for gdb 341.1Sjeremy#options KGDB 351.1Sjeremy#options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01 361.10Sgwr 371.10Sgwr# Other debugging options 381.14Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 391.10Sgwr#options DEBUG # kernel debugging code 401.10Sgwr#options DIAGNOSTIC # extra kernel sanity checking 411.10Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 421.10Sgwr#options PMAP_DEBUG 431.10Sgwr#options SCSIDEBUG 441.9Smjacob#options SCSIVERBOSE # Verbose SCSI errors 451.1Sjeremy 461.10Sgwr# Compatability options 471.10Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 481.10Sgwroptions COMPAT_43 # and 4.3BSD and ... 491.13Sgwroptions COMPAT_10 # NetBSD 1.0 501.13Sgwroptions COMPAT_11 # NetBSD 1.1 511.10Sgwroptions COMPAT_12 # NetBSD 1.2 521.16Skleinkoptions COMPAT_13 # NetBSD 1.3 531.10Sgwr 541.1Sjeremy# Filesystem options 551.10Sgwrfile-system FFS # Berkeley Fast Filesystem 561.10Sgwrfile-system NFS # Sun NFS client support 571.7Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 581.5Sjeremyfile-system MSDOSFS # MS-DOS FAT file system 591.7Slukemfile-system FDESC # /dev/fd/* 601.7Slukemfile-system KERNFS # /kern 611.7Slukemfile-system NULLFS # loopback file system 621.7Slukemfile-system PROCFS # /proc 631.7Slukemfile-system UNION # union file system 641.7Slukemfile-system MFS # memory-based filesystem 651.1Sjeremy 661.10Sgwroptions FIFO # FIFOs; RECOMMENDED 671.1Sjeremyoptions NFSSERVER # nfs server support 681.10Sgwroptions QUOTA # FFS quotas 691.1Sjeremy 701.1Sjeremy# Networking options 711.1Sjeremyoptions INET # IP prototol stack support 721.10Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 731.7Slukem#options GATEWAY # IP packet forwarding 741.10Sgwr#options ISO,TPIP # OSI networking 751.10Sgwr#options EON # OSI tunneling over IP 761.10Sgwr#options CCITT,LLC,HDLC # X.25 771.10Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 781.10Sgwr 791.10Sgwr# Work-around for root on slow servers (insurance...) 801.1Sjeremyoptions NFS_BOOT_RWSIZE=1024 811.18Sgwroptions NFS_BOOT_BOOTPARAM 821.1Sjeremy 831.1Sjeremyconfig netbsd root on ? type ? 841.1Sjeremy 851.18Sgwr# On-board I/O space (required) 861.18Sgwrinclude "arch/sun3/conf/obio.sun3x" 871.18Sgwr 881.18Sgwr# On-board memory (optional) 891.18Sgwr# See frame-buffers 901.18Sgwrobmem0 at mainbus? 911.18Sgwr 921.18Sgwr# VME bus support (optional) 931.18Sgwr# One unit for each address space 941.18Sgwrvme0 at mainbus? # A16/D16 951.18Sgwrvme1 at mainbus? # A16/D32 961.18Sgwrvme2 at mainbus? # A24/D16 971.18Sgwrvme3 at mainbus? # A24/D32 981.18Sgwrvme4 at mainbus? # A32/D16 991.18Sgwrvme5 at mainbus? # A32/D32 1001.18Sgwr 1011.1Sjeremy# 1021.1Sjeremy# Serial ports 1031.1Sjeremy# 1041.11Sgwrzstty0 at zsc1 channel 0 # ttya 1051.11Sgwrzstty1 at zsc1 channel 1 # ttyb 1061.1Sjeremy 1071.11Sgwrkbd0 at zsc0 channel 0 # keyboard 1081.11Sgwrms0 at zsc0 channel 1 # mouse 1091.1Sjeremy 1101.1Sjeremy# 1111.1Sjeremy# Network devices 1121.1Sjeremy# 1131.10Sgwr 1141.18Sgwr# Intel Ethernet (onboard, or VME) 1151.10Sgwrie0 at obio0 addr 0x65000000 ipl 3 1161.12Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1171.1Sjeremy 1181.1Sjeremy# Lance Ethernet (only onboard) 1191.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 1201.1Sjeremy 1211.1Sjeremy# 1221.1Sjeremy# Disk and tape devices 1231.1Sjeremy# 1241.1Sjeremy 1251.11Sgwr# Emulex SCSI (3/80 only) 1261.6Sgwr# Note the flags on the esp entries below, that work around 1271.6Sgwr# deficiencies in the current driver: 1281.6Sgwr# bits 0-7: disable disconnect/reselect for the corresponding target 1291.6Sgwr# bits 8-15: disable synch negotiation for target [bit-8] 1301.6Sgwr# Note: targets 4-7 have disconnect/reselect enabled on the premise 1311.6Sgwr# that tape devices normally have one of these targets. Tape 1321.6Sgwr# devices should be allowed to disconnect for the SCSI bus 1331.6Sgwr# to operate acceptably. 1341.6Sgwr# 1351.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f 1361.5Sjeremy 1371.5Sjeremy# Floppy drive 1381.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 1391.5Sjeremyfd0 at fdc0 # First (and only) floppy drive. 1401.12Sgwr 1411.12Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1421.12Sgwr# This driver has several flags which may be enabled using 1431.12Sgwr# the "flags" directive. Valid flags are: 1441.12Sgwr# 1451.12Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1461.12Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1471.12Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1481.12Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1491.12Sgwr# 1501.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1511.12Sgwr# and disable disconnect/reselect for targets 0-3 1521.18Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1531.18Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1541.18Sgwr 1551.18Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1561.18Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1571.18Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1581.18Sgwrxy* at xyc? drive ? 1591.18Sgwr 1601.18Sgwr# Xylogics 7053 controllers (VME A16/D32) 1611.18Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1621.18Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1631.18Sgwrxd* at xdc? drive ? 1641.18Sgwr 1651.18Sgwr# Xylogics 472 tape controllers? 1661.1Sjeremy 1671.1Sjeremy# 1681.1Sjeremy# Frame buffer devices 1691.1Sjeremy# 1701.1Sjeremy 1711.1Sjeremy# bwtwo - Monochrome frame buffer. 1721.3Sjeremybwtwo0 at obmem0 addr 0x50400000 ipl 4 1731.1Sjeremy 1741.1Sjeremy# 1751.1Sjeremy# SCSI infrastructure 1761.1Sjeremy# 1771.1Sjeremyscsibus* at scsi? 1781.1Sjeremy 1791.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 1801.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 1811.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 1821.1Sjeremych* at scsibus? target ? lun ? # SCSI changer devices 1831.1Sjeremyss* at scsibus? target ? lun ? # SCSI scanners 1841.1Sjeremyuk* at scsibus? target ? lun ? # unknown SCSI devices 1851.1Sjeremy 1861.1Sjeremy# Memory-disk drivers 1871.7Slukempseudo-device md 2 1881.1Sjeremy 1891.1Sjeremy# Misc. 1901.7Slukempseudo-device loop 1 # network loopback 1911.7Slukempseudo-device bpfilter 8 # packet filter 1921.7Slukempseudo-device sl 2 # CSLIP 1931.7Slukempseudo-device ppp 2 # PPP 1941.7Slukempseudo-device tun 2 # network tunneling over tty 1951.1Sjeremy#pseudo-device ipfilter # ip filter 1961.15Sfair# rnd is EXPERIMENTAL 1971.15Sfair#pseudo-device rnd # /dev/random and in-kernel generator 1981.1Sjeremy 1991.18Sgwrpseudo-device pty 32 # pseudo-terminals 2001.7Slukem#pseudo-device vnd 4 # paging to files 2011.7Slukem#pseudo-device ccd 4 # concatenated disks 202