GENERIC3X revision 1.96
11.96Stsutsui# $NetBSD: GENERIC3X,v 1.96 2007/07/18 15:48:49 tsutsui Exp $ 21.11Sgwr 31.18Sgwr# GENERIC Sun3X (3/80, 3/470) 41.18Sgwr# Supports root on: ie0, le0, sd*, ... 51.1Sjeremy 61.82Stsutsuiinclude "arch/sun3/conf/std.sun3x" 71.50Satatat 81.50Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Sjeremy 101.96Stsutsui#ident "GENERIC3X-$Revision: 1.96 $" 111.82Stsutsui 121.19Sgwr# Machines to be supported by this kernel 131.82Stsutsui#options FPU_EMULATE # XXX - Ever needed? 141.82Stsutsui#options HAVE_IOCACHE # XXX - Not yet supported. 151.1Sjeremy 161.1Sjeremy# Needs to be set per system. i.e change these as you see fit 171.1Sjeremymaxusers 4 181.1Sjeremy 191.1Sjeremy# Standard system options 201.10Sgwroptions KTRACE # system call tracing 211.90Schristos#options SYSTRACE # system call vetting via systrace(1) 221.10Sgwroptions SYSVMSG # System V message queues 231.10Sgwroptions SYSVSEM # System V semaphores 241.53Stsutsui#options SEMMNI=10 # number of semaphore identifiers 251.53Stsutsui#options SEMMNS=60 # number of semaphores in system 261.53Stsutsui#options SEMUME=10 # max number of undo entries per process 271.53Stsutsui#options SEMMNU=30 # number of undo structures in system 281.10Sgwroptions SYSVSHM # System V shared memory 291.10Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 301.63Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 311.21Sfairoptions LKM # loadable kernel modules 321.10Sgwr#options INSECURE # disable kernel security level 331.52Slukemoptions USERCONF # userconf(4) support 341.96Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 351.64Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 361.1Sjeremy 371.55Swiz# Enable experimental buffer queue strategy for better responsiveness under 381.54Stsutsui# high disk I/O load. Use it with caution - it's not proven to be stable yet. 391.73Stsutsui#options BUFQ_READPRIO 401.73Stsutsui#options BUFQ_PRIOCSCAN 411.54Stsutsui 421.10Sgwr# Which kernel debugger? Uncomment either this: 431.1Sjeremyoptions DDB 441.1Sjeremy# ... or these for KGDB (gdb remote target) 451.44Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 461.1Sjeremy#options KGDB 471.43Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 481.10Sgwr 491.10Sgwr# Other debugging options 501.14Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 511.10Sgwr#options DEBUG # kernel debugging code 521.10Sgwr#options DIAGNOSTIC # extra kernel sanity checking 531.10Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 541.10Sgwr#options PMAP_DEBUG 551.10Sgwr#options SCSIDEBUG 561.9Smjacob#options SCSIVERBOSE # Verbose SCSI errors 571.1Sjeremy 581.39Swiz# Compatibility options 591.10Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 601.25Skleink#options COMPAT_SVR4 # can run SVR4 executables 611.10Sgwroptions COMPAT_43 # and 4.3BSD and ... 621.13Sgwroptions COMPAT_10 # NetBSD 1.0 631.13Sgwroptions COMPAT_11 # NetBSD 1.1 641.10Sgwroptions COMPAT_12 # NetBSD 1.2 651.16Skleinkoptions COMPAT_13 # NetBSD 1.3 661.26Saugustssoptions COMPAT_14 # NetBSD 1.4 671.93Smanuoptions COMPAT_15 # NetBSD 1.5 681.58Scloptions COMPAT_16 # NetBSD 1.6 691.67Stsutsuioptions COMPAT_20 # NetBSD 2.0 701.96Stsutsuioptions COMPAT_30 # NetBSD 3.0 711.96Stsutsuioptions COMPAT_40 # NetBSD 4.0 compatibility. 721.38Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 731.23Sgwr#options COMPAT_LINUX # can run Linux/m68k executables 741.38Schsoptions EXEC_AOUT # support for a.out executables 751.40Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 761.96Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 771.10Sgwr 781.1Sjeremy# Filesystem options 791.10Sgwrfile-system FFS # Berkeley Fast Filesystem 801.10Sgwrfile-system NFS # Sun NFS client support 811.7Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 821.5Sjeremyfile-system MSDOSFS # MS-DOS FAT file system 831.7Slukemfile-system FDESC # /dev/fd/* 841.7Slukemfile-system KERNFS # /kern 851.7Slukemfile-system NULLFS # loopback file system 861.29Stsutsuifile-system OVERLAY # overlay file system 871.7Slukemfile-system PROCFS # /proc 881.7Slukemfile-system UNION # union file system 891.7Slukemfile-system MFS # memory-based filesystem 901.80Schristosfile-system PTYFS # /dev/pts/N support 911.94Sjmmv#file-system TMPFS # Efficient memory file-system 921.85Stsutsui#file-system UDF # experimental - OSTA UDF CD/DVD file-system 931.1Sjeremy 941.1Sjeremyoptions NFSSERVER # nfs server support 951.10Sgwroptions QUOTA # FFS quotas 961.20Sbouyer#options FFS_EI # FFS Endian Independant support 971.44Slukemoptions SOFTDEP # FFS soft updates support. 981.96Stsutsui#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 991.83Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1001.28Stsutsui 1011.1Sjeremy# Networking options 1021.81Sisakioptions INET # IP protocol stack support 1031.28Stsutsuioptions INET6 # IPV6 1041.28Stsutsui#options IPSEC # IP security 1051.28Stsutsui#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1061.75Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1071.28Stsutsui#options IPSEC_DEBUG # debug for IP security 1081.7Slukem#options GATEWAY # IP packet forwarding 1091.10Sgwr#options ISO,TPIP # OSI networking 1101.10Sgwr#options EON # OSI tunneling over IP 1111.82Stsutsuioptions PFIL_HOOKS # pfil(9) packet filter hooks. 1121.40Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1131.10Sgwr 1141.62Sabs#options ALTQ # Manipulate network interfaces' output queues 1151.62Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1161.62Sabs#options ALTQ_CBQ # Class-Based Queueing 1171.62Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1181.62Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1191.62Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1201.62Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1211.62Sabs#options ALTQ_LOCALQ # Local queueing discipline 1221.62Sabs#options ALTQ_PRIQ # Priority Queueing 1231.62Sabs#options ALTQ_RED # Random Early Detection 1241.62Sabs#options ALTQ_RIO # RED with IN/OUT 1251.62Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1261.62Sabs 1271.10Sgwr# Work-around for root on slow servers (insurance...) 1281.1Sjeremyoptions NFS_BOOT_RWSIZE=1024 1291.18Sgwroptions NFS_BOOT_BOOTPARAM 1301.1Sjeremy 1311.1Sjeremyconfig netbsd root on ? type ? 1321.1Sjeremy 1331.18Sgwr# On-board I/O space (required) 1341.18Sgwrinclude "arch/sun3/conf/obio.sun3x" 1351.18Sgwr 1361.18Sgwr# On-board memory (optional) 1371.18Sgwr# See frame-buffers 1381.18Sgwrobmem0 at mainbus? 1391.18Sgwr 1401.18Sgwr# VME bus support (optional) 1411.18Sgwr# One unit for each address space 1421.18Sgwrvme0 at mainbus? # A16/D16 1431.18Sgwrvme1 at mainbus? # A16/D32 1441.18Sgwrvme2 at mainbus? # A24/D16 1451.18Sgwrvme3 at mainbus? # A24/D32 1461.18Sgwrvme4 at mainbus? # A32/D16 1471.18Sgwrvme5 at mainbus? # A32/D32 1481.18Sgwr 1491.1Sjeremy# 1501.1Sjeremy# Serial ports 1511.1Sjeremy# 1521.11Sgwrzstty0 at zsc1 channel 0 # ttya 1531.11Sgwrzstty1 at zsc1 channel 1 # ttyb 1541.1Sjeremy 1551.11Sgwrkbd0 at zsc0 channel 0 # keyboard 1561.11Sgwrms0 at zsc0 channel 1 # mouse 1571.1Sjeremy 1581.1Sjeremy# 1591.1Sjeremy# Network devices 1601.1Sjeremy# 1611.10Sgwr 1621.18Sgwr# Intel Ethernet (onboard, or VME) 1631.10Sgwrie0 at obio0 addr 0x65000000 ipl 3 1641.44Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1651.1Sjeremy 1661.1Sjeremy# Lance Ethernet (only onboard) 1671.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 1681.1Sjeremy 1691.1Sjeremy# 1701.1Sjeremy# Disk and tape devices 1711.1Sjeremy# 1721.1Sjeremy 1731.11Sgwr# Emulex SCSI (3/80 only) 1741.24Sgwr# Both `dma' and `esp' are needed. 1751.24Sgwr# The following flags may be set for the NCR53c94 based esp driver: 1761.6Sgwr# bits 0-7: disable disconnect/reselect for the corresponding target 1771.24Sgwr# bits 8-15: disable synchronous negotiation for target [bit-8] 1781.6Sgwr# 1791.24Sgwrdma0 at obio0 addr 0x66001000 ipl 2 1801.69Stsutsuiesp0 at obio0 addr 0x66000000 ipl 2 flags 0x000000 1811.5Sjeremy 1821.5Sjeremy# Floppy drive 1831.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 1841.44Slukemfd0 at fdc0 # First (and only) floppy drive. 1851.12Sgwr 1861.12Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1871.12Sgwr# This driver has several flags which may be enabled using 1881.12Sgwr# the "flags" directive. Valid flags are: 1891.12Sgwr# 1901.12Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1911.12Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1921.12Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1931.12Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1941.12Sgwr# 1951.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1961.12Sgwr# and disable disconnect/reselect for targets 0-3 1971.44Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1981.44Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1991.18Sgwr 2001.18Sgwr# Xylogics 450/451 controllers (VME A16/D16) 2011.18Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 2021.18Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 2031.18Sgwrxy* at xyc? drive ? 2041.18Sgwr 2051.18Sgwr# Xylogics 7053 controllers (VME A16/D32) 2061.18Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 2071.18Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 2081.18Sgwrxd* at xdc? drive ? 2091.18Sgwr 2101.18Sgwr# Xylogics 472 tape controllers? 2111.1Sjeremy 2121.1Sjeremy# 2131.1Sjeremy# Frame buffer devices 2141.1Sjeremy# 2151.1Sjeremy 2161.19Sgwr# P4 Monochrome frame buffer. 2171.44Slukembwtwo0 at obmem0 addr 0x50300000 2181.19Sgwr 2191.19Sgwr# P4 8-bit color frame buffer 2201.19Sgwrcgfour0 at obmem0 addr 0x50300000 2211.19Sgwr 2221.19Sgwr# P4 accelerated 8-bit color frame buffer 2231.23Sgwr# cgsix0 at obmem0 addr 0x50000000 2241.19Sgwr 2251.19Sgwr# P4 24-bit color frame buffer 2261.19Sgwr# cgeight0 at obmem0 addr 0x50300000 2271.19Sgwr 2281.19Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 2291.19Sgwr# This driver is going to need work in its mmap function. 2301.19Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 2311.19Sgwr 2321.19Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 2331.19Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2341.1Sjeremy 2351.1Sjeremy# 2361.1Sjeremy# SCSI infrastructure 2371.1Sjeremy# 2381.1Sjeremyscsibus* at scsi? 2391.1Sjeremy 2401.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 2411.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 2421.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 2431.1Sjeremych* at scsibus? target ? lun ? # SCSI changer devices 2441.1Sjeremyss* at scsibus? target ? lun ? # SCSI scanners 2451.1Sjeremyuk* at scsibus? target ? lun ? # unknown SCSI devices 2461.1Sjeremy 2471.1Sjeremy# Memory-disk drivers 2481.7Slukempseudo-device md 2 2491.1Sjeremy 2501.1Sjeremy# Misc. 2511.7Slukempseudo-device loop 1 # network loopback 2521.86Srpaulopseudo-device bpfilter # packet filter 2531.89Stsutsui#pseudo-device carp # Common Address Redundancy Protocol 2541.87Scubepseudo-device sl # CSLIP 2551.87Scubepseudo-device ppp # PPP 2561.46Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2571.87Scubepseudo-device tun # network tunneling over tty 2581.66Scubepseudo-device tap # virtual Ethernet 2591.87Scube#pseudo-device gre # generic L3 over IP tunnel 2601.1Sjeremy#pseudo-device ipfilter # ip filter 2611.87Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2621.87Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2631.88Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2641.36Stsutsuipseudo-device vlan # IEEE 802.1q encapsulation 2651.45Satatatpseudo-device bridge # simple inter-network bridging 2661.95Smartinpseudo-device agr # IEEE 802.3ad link aggregation 2671.57Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2681.34Sitojunpseudo-device rnd # /dev/random and in-kernel generator 2691.1Sjeremy 2701.33Sjdolecekpseudo-device pty # pseudo-terminals 2711.87Scubepseudo-device vnd # paging to files 2721.76Shubertf#options VND_COMPRESSION # compressed vnd(4) 2731.7Slukem#pseudo-device ccd 4 # concatenated disks 2741.54Stsutsui#pseudo-device cgd 4 # cryptographic disk devices 2751.23Sgwr#pseudo-device raid 4 # RAIDframe disk driver 2761.29Stsutsui#options RAID_AUTOCONFIG # auto-configuration of RAID components 2771.47Soster# Options to enable various other RAIDframe RAID types. 2781.96Stsutsui#options RF_INCLUDE_EVENODD=1 2791.96Stsutsui#options RF_INCLUDE_RAID5_RS=1 2801.96Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 2811.96Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 2821.96Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 2831.96Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 2841.96Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2851.70Shannkenpseudo-device fss 4 # file system snapshot device 2861.51Slukempseudo-device clockctl # user control of clock subsystem 2871.57Stsutsuipseudo-device ksyms # /dev/ksyms 2881.61Sitojun#pseudo-device pf # PF packet filter 2891.61Sitojun#pseudo-device pflog # PF log if 2901.84Stsutsui 2911.84Stsutsui# Veriexec 2921.84Stsutsui# 2931.84Stsutsui# a pseudo device needed for veriexec 2941.84Stsutsui#pseudo-device veriexec 1 2951.84Stsutsui# 2961.84Stsutsui# Uncomment the fingerprint methods below that are desired. Note that 2971.84Stsutsui# removing fingerprint methods will have almost no impact on the kernel 2981.84Stsutsui# code size. 2991.84Stsutsui# 3001.84Stsutsui#options VERIFIED_EXEC_FP_RMD160 3011.84Stsutsui#options VERIFIED_EXEC_FP_SHA256 3021.84Stsutsui#options VERIFIED_EXEC_FP_SHA384 3031.84Stsutsui#options VERIFIED_EXEC_FP_SHA512 3041.84Stsutsui#options VERIFIED_EXEC_FP_SHA1 3051.84Stsutsui#options VERIFIED_EXEC_FP_MD5 306