GENERIC3X revision 1.16
11.16Skleink# $NetBSD: GENERIC3X,v 1.16 1997/12/01 16:11:42 kleink 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.16Skleinkoptions COMPAT_13 # NetBSD 1.3 471.10Sgwr 481.1Sjeremy# Filesystem options 491.10Sgwrfile-system FFS # Berkeley Fast Filesystem 501.10Sgwrfile-system NFS # Sun NFS client support 511.7Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 521.5Sjeremyfile-system MSDOSFS # MS-DOS FAT file system 531.7Slukemfile-system FDESC # /dev/fd/* 541.7Slukemfile-system KERNFS # /kern 551.7Slukemfile-system NULLFS # loopback file system 561.7Slukemfile-system PROCFS # /proc 571.7Slukemfile-system UNION # union file system 581.7Slukemfile-system MFS # memory-based filesystem 591.1Sjeremy 601.10Sgwroptions FIFO # FIFOs; RECOMMENDED 611.1Sjeremyoptions NFSSERVER # nfs server support 621.10Sgwroptions QUOTA # FFS quotas 631.1Sjeremy 641.1Sjeremy# Networking options 651.1Sjeremyoptions INET # IP prototol stack support 661.10Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 671.7Slukem#options GATEWAY # IP packet forwarding 681.10Sgwr#options ISO,TPIP # OSI networking 691.10Sgwr#options EON # OSI tunneling over IP 701.10Sgwr#options CCITT,LLC,HDLC # X.25 711.10Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 721.10Sgwr 731.10Sgwr# Work-around for root on slow servers (insurance...) 741.1Sjeremyoptions NFS_BOOT_RWSIZE=1024 751.1Sjeremy 761.1Sjeremyconfig netbsd root on ? type ? 771.1Sjeremy 781.1Sjeremy# 791.1Sjeremy# Serial ports 801.1Sjeremy# 811.11Sgwrzstty0 at zsc1 channel 0 # ttya 821.11Sgwrzstty1 at zsc1 channel 1 # ttyb 831.1Sjeremy 841.11Sgwrkbd0 at zsc0 channel 0 # keyboard 851.11Sgwrms0 at zsc0 channel 1 # mouse 861.1Sjeremy 871.1Sjeremy# 881.1Sjeremy# Network devices 891.1Sjeremy# 901.10Sgwr 911.10Sgwr# Intel Ethernet 921.10Sgwrie0 at obio0 addr 0x65000000 ipl 3 931.12Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 941.1Sjeremy 951.1Sjeremy# Lance Ethernet (only onboard) 961.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 971.1Sjeremy 981.1Sjeremy# 991.1Sjeremy# Disk and tape devices 1001.1Sjeremy# 1011.1Sjeremy 1021.11Sgwr# Emulex SCSI (3/80 only) 1031.6Sgwr# Note the flags on the esp entries below, that work around 1041.6Sgwr# deficiencies in the current driver: 1051.6Sgwr# bits 0-7: disable disconnect/reselect for the corresponding target 1061.6Sgwr# bits 8-15: disable synch negotiation for target [bit-8] 1071.6Sgwr# Note: targets 4-7 have disconnect/reselect enabled on the premise 1081.6Sgwr# that tape devices normally have one of these targets. Tape 1091.6Sgwr# devices should be allowed to disconnect for the SCSI bus 1101.6Sgwr# to operate acceptably. 1111.6Sgwr# 1121.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f 1131.5Sjeremy 1141.5Sjeremy# Floppy drive 1151.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 1161.5Sjeremyfd0 at fdc0 # First (and only) floppy drive. 1171.12Sgwr 1181.12Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1191.12Sgwr# This driver has several flags which may be enabled using 1201.12Sgwr# the "flags" directive. Valid flags are: 1211.12Sgwr# 1221.12Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1231.12Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1241.12Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1251.12Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1261.12Sgwr# 1271.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1281.12Sgwr# and disable disconnect/reselect for targets 0-3 1291.12Sgwr# XXX: Disable DMA entirely until it is debugged. 1301.12Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 flags 0x300ff 1311.12Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 flags 0x300ff 1321.1Sjeremy 1331.1Sjeremy# 1341.1Sjeremy# Frame buffer devices 1351.1Sjeremy# 1361.1Sjeremy 1371.1Sjeremy# bwtwo - Monochrome frame buffer. 1381.3Sjeremybwtwo0 at obmem0 addr 0x50400000 ipl 4 1391.1Sjeremy 1401.1Sjeremy# 1411.1Sjeremy# SCSI infrastructure 1421.1Sjeremy# 1431.1Sjeremyscsibus* at scsi? 1441.1Sjeremy 1451.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 1461.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 1471.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 1481.1Sjeremych* at scsibus? target ? lun ? # SCSI changer devices 1491.1Sjeremyss* at scsibus? target ? lun ? # SCSI scanners 1501.1Sjeremyuk* at scsibus? target ? lun ? # unknown SCSI devices 1511.1Sjeremy 1521.1Sjeremy# Memory-disk drivers 1531.7Slukempseudo-device md 2 1541.1Sjeremy 1551.1Sjeremy# Misc. 1561.7Slukempseudo-device loop 1 # network loopback 1571.7Slukempseudo-device bpfilter 8 # packet filter 1581.7Slukempseudo-device sl 2 # CSLIP 1591.7Slukempseudo-device ppp 2 # PPP 1601.7Slukempseudo-device tun 2 # network tunneling over tty 1611.1Sjeremy#pseudo-device ipfilter # ip filter 1621.15Sfair# rnd is EXPERIMENTAL 1631.15Sfair#pseudo-device rnd # /dev/random and in-kernel generator 1641.1Sjeremy 1651.7Slukempseudo-device pty 64 # pseudo-terminals 1661.7Slukem#pseudo-device vnd 4 # paging to files 1671.7Slukem#pseudo-device ccd 4 # concatenated disks 168