FOUR_TTYS revision 1.20
11.20Sgwr# $NetBSD: FOUR_TTYS,v 1.20 1999/04/08 07:00:58 gwr Exp $ 21.1Sgwr 31.1Sgwr# FOUR_TTYS Sun3 (3/50, 3/60, 3/110, 3/160, 3/260) 41.1Sgwr# like GENERIC but both zs chips are used as ttys 51.1Sgwr 61.3Sjtcinclude "arch/sun3/conf/std.sun3" 71.1Sgwr 81.18Sgwr# Machines to be supported by this kernel 91.1Sgwroptions FPU_EMULATE 101.1Sgwroptions HAVECACHE # Sun3/260 VAC 111.1Sgwr 121.1Sgwr# Needs to be set per system. i.e change these as you see fit 131.1Sgwrmaxusers 4 141.1Sgwr 151.1Sgwr# Standard system options 161.13Sgwroptions KTRACE # system call tracing 171.13Sgwroptions SYSVMSG # System V message queues 181.13Sgwroptions SYSVSEM # System V semaphores 191.13Sgwroptions SYSVSHM # System V shared memory 201.13Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 211.20Sgwroptions LKM # loadable kernel modules 221.13Sgwr#options INSECURE # disable kernel security level 231.13Sgwr#options UCONSOLE # Allow non-root TIOCCONS 241.4Sthorpej 251.13Sgwr# Which kernel debugger? Uncomment either this: 261.4Sthorpejoptions DDB 271.8Sgwr# ... or these for KGDB (gdb remote target) 281.13Sgwr#makeoptions DEBUG="-g" # debugging symbols for gdb 291.4Sthorpej#options KGDB 301.13Sgwr#options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01 311.11Slukem 321.11Slukem# Other debugging options 331.11Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 341.13Sgwr#options DEBUG # kernel debugging code 351.13Sgwr#options DIAGNOSTIC # extra kernel sanity checking 361.13Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 371.13Sgwr#options PMAP_DEBUG 381.13Sgwr#options SCSIDEBUG 391.13Sgwr#options SCSIVERBOSE # Verbose SCSI errors 401.13Sgwr 411.13Sgwr# Compatability options 421.13Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 431.13Sgwroptions COMPAT_43 # and 4.3BSD and ... 441.13Sgwroptions COMPAT_10 # NetBSD 1.0 451.13Sgwroptions COMPAT_11 # NetBSD 1.1 461.13Sgwroptions COMPAT_12 # NetBSD 1.2 471.13Sgwroptions COMPAT_13 # NetBSD 1.3 481.20Sgwr#options COMPAT_LINUX # can run Linux/m68k executables 491.20Sgwr#options EXEC_ELF32 # 32-bit ELF executables (Linux) 501.1Sgwr 511.1Sgwr# Filesystem options 521.13Sgwrfile-system FFS # Berkeley Fast Filesystem 531.13Sgwrfile-system NFS # Sun NFS client support 541.10Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 551.10Slukemfile-system FDESC # /dev/fd/* 561.10Slukemfile-system KERNFS # /kern 571.10Slukemfile-system NULLFS # loopback file system 581.10Slukemfile-system PROCFS # /proc 591.10Slukemfile-system UNION # union file system 601.10Slukemfile-system MFS # memory-based filesystem 611.7Sthorpej 621.8Sgwroptions NFSSERVER # nfs server support 631.13Sgwroptions QUOTA # FFS quotas 641.20Sgwr#options FFS_EI # FFS Endian Independant support 651.1Sgwr 661.1Sgwr# Networking options 671.4Sthorpejoptions INET # IP prototol stack support 681.13Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 691.10Slukem#options GATEWAY # IP packet forwarding 701.13Sgwr#options ISO,TPIP # OSI networking 711.13Sgwr#options EON # OSI tunneling over IP 721.13Sgwr#options CCITT,LLC,HDLC # X.25 731.13Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 741.13Sgwr 751.13Sgwr# Work-around for root on slow servers (insurance...) 761.1Sgwroptions NFS_BOOT_RWSIZE=1024 771.16Sgwroptions NFS_BOOT_BOOTPARAM 781.1Sgwr 791.7Sthorpejconfig netbsd root on ? type ? 801.1Sgwr 811.17Sgwr# On-board I/O space (required) 821.17Sgwrinclude "arch/sun3/conf/obio.sun3" 831.17Sgwr 841.17Sgwr# On-board memory (optional) 851.17Sgwr# See frame-buffers 861.17Sgwrobmem0 at mainbus? 871.17Sgwr 881.17Sgwr# VME bus support (optional) 891.17Sgwr# One unit for each address space 901.17Sgwrvme0 at mainbus? # A16/D16 911.17Sgwrvme1 at mainbus? # A16/D32 921.17Sgwrvme2 at mainbus? # A24/D16 931.17Sgwrvme3 at mainbus? # A24/D32 941.17Sgwrvme4 at mainbus? # A32/D16 951.17Sgwrvme5 at mainbus? # A32/D32 961.17Sgwr 971.1Sgwr# 981.1Sgwr# Serial ports 991.1Sgwr# 1001.10Slukemzstty0 at zsc1 channel 0 # ttya 1011.10Slukemzstty1 at zsc1 channel 1 # ttyb 1021.1Sgwr# 1031.1Sgwr# Note that by ommitting "kdb0" and "ms0" one can build 1041.1Sgwr# a kernel that operates four plain serial lines, where 1051.1Sgwr# two of them are data-leads-only ports wired up using 1061.15Sgwr# a custom cable on the keyboard connector. The flags 1 1071.15Sgwr# part sets TIOCFLAG_SOFTCAR (remember, data-leads-only). 1081.20Sgwr# Note: the signal levels on these are 0/5 Volt TTL. 1091.1Sgwr# 1101.15Sgwrzstty2 at zsc0 channel 0 flags 1 # ttyc 1111.15Sgwrzstty3 at zsc0 channel 1 flags 1 # ttyd 1121.1Sgwr 1131.1Sgwr# 1141.1Sgwr# Network devices 1151.1Sgwr# 1161.1Sgwr 1171.18Sgwr# Intel Ethernet (onboard, or VME) 1181.17Sgwrie0 at obio0 addr 0x0C0000 ipl 3 1191.17Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1201.1Sgwr 1211.1Sgwr# Lance Ethernet (only onboard) 1221.17Sgwrle0 at obio0 addr 0x120000 ipl 3 1231.17Sgwr 1241.17Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1251.17Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1261.17Sgwroptions LANCE_REVC_BUG 1271.1Sgwr 1281.1Sgwr# 1291.1Sgwr# Disk and tape devices 1301.1Sgwr# 1311.1Sgwr 1321.1Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1331.13Sgwr# See GENERIC for the flags description. 1341.17Sgwrsi0 at obio0 addr 0x140000 ipl 2 1351.17Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1361.17Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1371.17Sgwr 1381.17Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1391.17Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1401.17Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1411.13Sgwrxy* at xyc? drive ? 1421.9Sgwr 1431.17Sgwr# Xylogics 7053 controllers (VME A16/D32) 1441.17Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1451.17Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1461.13Sgwrxd* at xdc? drive ? 1471.1Sgwr 1481.1Sgwr# Xylogics 472 tape controllers? 1491.1Sgwr 1501.17Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 1511.17Sgwr# Note: the board uses vect and vect+1 1521.17Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 1531.17Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 1541.13Sgwrsi* at sebuf? 1551.13Sgwrie* at sebuf? 1561.13Sgwr 1571.13Sgwr# 1581.1Sgwr# Frame buffer devices 1591.15Sgwr# (not useful if no kbd, right?) 1601.1Sgwr 1611.1Sgwr# 1621.1Sgwr# SCSI infrastructure 1631.1Sgwr# 1641.1Sgwrscsibus* at scsi? 1651.1Sgwr 1661.9Sgwrsd* at scsibus? target ? lun ? # SCSI disks 1671.9Sgwrst* at scsibus? target ? lun ? # SCSI tapes 1681.9Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 1691.9Sgwrch* at scsibus? target ? lun ? # SCSI changer devices 1701.9Sgwrss* at scsibus? target ? lun ? # SCSI scanners 1711.9Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 1721.1Sgwr 1731.6Spk# Memory-disk drivers 1741.10Slukempseudo-device md 2 1751.1Sgwr 1761.1Sgwr# Misc. 1771.10Slukempseudo-device loop 1 # network loopback 1781.10Slukempseudo-device bpfilter 8 # packet filter 1791.10Slukempseudo-device sl 2 # CSLIP 1801.10Slukempseudo-device ppp 2 # PPP 1811.10Slukempseudo-device tun 2 # network tunneling over tty 1821.20Sgwr#pseudo-device gre 2 # generic L3 over IP tunnel 1831.9Sgwr#pseudo-device ipfilter # ip filter 1841.13Sgwr# rnd is EXPERIMENTAL 1851.13Sgwr#pseudo-device rnd # /dev/random and in-kernel generator 1861.1Sgwr 1871.17Sgwrpseudo-device pty 32 # pseudo-terminals 1881.10Slukem#pseudo-device vnd 4 # paging to files 1891.10Slukem#pseudo-device ccd 4 # concatenated disks 1901.20Sgwr#pseudo-device raid 4 # RAIDframe disk driver 191