GENERIC3X revision 1.14
11.14Slukem# $NetBSD: GENERIC3X,v 1.14 1997/11/17 01:58:35 lukem Exp $ 21.11Sgwr 31.1Sjeremy# GENERIC Sun3x (3/80, 3/470) 41.1Sjeremy# Supports root on: le0, sd* 51.1Sjeremy 61.1Sjeremyinclude "arch/sun3x/conf/std.sun3x" 71.1Sjeremy 81.1Sjeremy# Machines to be supported by this kernel 91.11Sgwr# options FPU_EMULATE # XXX - Ever needed? 101.1Sjeremy 111.1Sjeremy# Needs to be set per system. i.e change these as you see fit 121.1Sjeremymaxusers 4 131.1Sjeremy 141.1Sjeremy# Standard system options 151.10Sgwroptions KTRACE # system call tracing 161.10Sgwroptions SYSVMSG # System V message queues 171.10Sgwroptions SYSVSEM # System V semaphores 181.10Sgwroptions SYSVSHM # System V shared memory 191.10Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 201.10Sgwr#options LKM # loadable kernel modules 211.10Sgwr#options INSECURE # disable kernel security level 221.10Sgwr#options UCONSOLE # Allow non-root TIOCCONS 231.1Sjeremy 241.10Sgwr# Which kernel debugger? Uncomment either this: 251.1Sjeremyoptions DDB 261.1Sjeremy# ... or these for KGDB (gdb remote target) 271.1Sjeremy#makeoptions DEBUG="-g" # debugging symbols for gdb 281.1Sjeremy#options KGDB 291.1Sjeremy#options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01 301.10Sgwr 311.10Sgwr# Other debugging options 321.14Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 331.10Sgwr#options DEBUG # kernel debugging code 341.10Sgwr#options DIAGNOSTIC # extra kernel sanity checking 351.10Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 361.10Sgwr#options PMAP_DEBUG 371.10Sgwr#options SCSIDEBUG 381.9Smjacob#options SCSIVERBOSE # Verbose SCSI errors 391.1Sjeremy 401.10Sgwr# Compatability options 411.10Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 421.10Sgwroptions COMPAT_43 # and 4.3BSD and ... 431.13Sgwroptions COMPAT_10 # NetBSD 1.0 441.13Sgwroptions COMPAT_11 # NetBSD 1.1 451.10Sgwroptions COMPAT_12 # NetBSD 1.2 461.10Sgwr 471.1Sjeremy# Filesystem options 481.10Sgwrfile-system FFS # Berkeley Fast Filesystem 491.10Sgwrfile-system NFS # Sun NFS client support 501.7Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 511.5Sjeremyfile-system MSDOSFS # MS-DOS FAT file system 521.7Slukemfile-system FDESC # /dev/fd/* 531.7Slukemfile-system KERNFS # /kern 541.7Slukemfile-system NULLFS # loopback file system 551.7Slukemfile-system PROCFS # /proc 561.7Slukemfile-system UNION # union file system 571.7Slukemfile-system MFS # memory-based filesystem 581.1Sjeremy 591.10Sgwroptions FIFO # FIFOs; RECOMMENDED 601.1Sjeremyoptions NFSSERVER # nfs server support 611.10Sgwroptions QUOTA # FFS quotas 621.1Sjeremy 631.1Sjeremy# Networking options 641.1Sjeremyoptions INET # IP prototol stack support 651.10Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 661.7Slukem#options GATEWAY # IP packet forwarding 671.10Sgwr#options ISO,TPIP # OSI networking 681.10Sgwr#options EON # OSI tunneling over IP 691.10Sgwr#options CCITT,LLC,HDLC # X.25 701.10Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 711.10Sgwr 721.10Sgwr# Work-around for root on slow servers (insurance...) 731.1Sjeremyoptions NFS_BOOT_RWSIZE=1024 741.1Sjeremy 751.1Sjeremyconfig netbsd root on ? type ? 761.1Sjeremy 771.1Sjeremy# 781.1Sjeremy# Serial ports 791.1Sjeremy# 801.11Sgwrzstty0 at zsc1 channel 0 # ttya 811.11Sgwrzstty1 at zsc1 channel 1 # ttyb 821.1Sjeremy 831.11Sgwrkbd0 at zsc0 channel 0 # keyboard 841.11Sgwrms0 at zsc0 channel 1 # mouse 851.1Sjeremy 861.1Sjeremy# 871.1Sjeremy# Network devices 881.1Sjeremy# 891.10Sgwr 901.10Sgwr# Intel Ethernet 911.10Sgwrie0 at obio0 addr 0x65000000 ipl 3 921.12Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 931.1Sjeremy 941.1Sjeremy# Lance Ethernet (only onboard) 951.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 961.1Sjeremy 971.1Sjeremy# 981.1Sjeremy# Disk and tape devices 991.1Sjeremy# 1001.1Sjeremy 1011.11Sgwr# Emulex SCSI (3/80 only) 1021.6Sgwr# Note the flags on the esp entries below, that work around 1031.6Sgwr# deficiencies in the current driver: 1041.6Sgwr# bits 0-7: disable disconnect/reselect for the corresponding target 1051.6Sgwr# bits 8-15: disable synch negotiation for target [bit-8] 1061.6Sgwr# Note: targets 4-7 have disconnect/reselect enabled on the premise 1071.6Sgwr# that tape devices normally have one of these targets. Tape 1081.6Sgwr# devices should be allowed to disconnect for the SCSI bus 1091.6Sgwr# to operate acceptably. 1101.6Sgwr# 1111.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f 1121.5Sjeremy 1131.5Sjeremy# Floppy drive 1141.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 1151.5Sjeremyfd0 at fdc0 # First (and only) floppy drive. 1161.12Sgwr 1171.12Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1181.12Sgwr# This driver has several flags which may be enabled using 1191.12Sgwr# the "flags" directive. Valid flags are: 1201.12Sgwr# 1211.12Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1221.12Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1231.12Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1241.12Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1251.12Sgwr# 1261.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1271.12Sgwr# and disable disconnect/reselect for targets 0-3 1281.12Sgwr# XXX: Disable DMA entirely until it is debugged. 1291.12Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 flags 0x300ff 1301.12Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 flags 0x300ff 1311.1Sjeremy 1321.1Sjeremy# 1331.1Sjeremy# Frame buffer devices 1341.1Sjeremy# 1351.1Sjeremy 1361.1Sjeremy# bwtwo - Monochrome frame buffer. 1371.3Sjeremybwtwo0 at obmem0 addr 0x50400000 ipl 4 1381.1Sjeremy 1391.1Sjeremy# 1401.1Sjeremy# SCSI infrastructure 1411.1Sjeremy# 1421.1Sjeremyscsibus* at scsi? 1431.1Sjeremy 1441.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 1451.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 1461.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 1471.1Sjeremych* at scsibus? target ? lun ? # SCSI changer devices 1481.1Sjeremyss* at scsibus? target ? lun ? # SCSI scanners 1491.1Sjeremyuk* at scsibus? target ? lun ? # unknown SCSI devices 1501.1Sjeremy 1511.1Sjeremy# Memory-disk drivers 1521.7Slukempseudo-device md 2 1531.1Sjeremy 1541.1Sjeremy# Misc. 1551.7Slukempseudo-device loop 1 # network loopback 1561.7Slukempseudo-device bpfilter 8 # packet filter 1571.7Slukempseudo-device sl 2 # CSLIP 1581.7Slukempseudo-device ppp 2 # PPP 1591.7Slukempseudo-device tun 2 # network tunneling over tty 1601.1Sjeremy#pseudo-device ipfilter # ip filter 1611.1Sjeremy 1621.7Slukempseudo-device pty 64 # pseudo-terminals 1631.7Slukem#pseudo-device vnd 4 # paging to files 1641.7Slukem#pseudo-device ccd 4 # concatenated disks 165