GENERIC3X revision 1.129
11.129Smrg# $NetBSD: GENERIC3X,v 1.129 2017/09/14 07:58:43 mrg 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.129Smrg#ident "GENERIC3X-$Revision: 1.129 $" 111.100Stsutsui 121.100Stsutsuimakeoptions COPTS="-Os" # bootloader has size limit (~2MB) 131.82Stsutsui 141.19Sgwr# Machines to be supported by this kernel 151.82Stsutsui#options FPU_EMULATE # XXX - Ever needed? 161.82Stsutsui#options HAVE_IOCACHE # XXX - Not yet supported. 171.1Sjeremy 181.1Sjeremy# Needs to be set per system. i.e change these as you see fit 191.1Sjeremymaxusers 4 201.1Sjeremy 211.1Sjeremy# Standard system options 221.10Sgwroptions KTRACE # system call tracing 231.10Sgwroptions SYSVMSG # System V message queues 241.10Sgwroptions SYSVSEM # System V semaphores 251.10Sgwroptions SYSVSHM # System V shared memory 261.108Stsutsui 271.110Stsutsui#options MODULAR # new style module(7) framework 281.125Sjnemeth#options MODULAR_DEFAULT_AUTOLOAD 291.108Stsutsui 301.10Sgwr#options INSECURE # disable kernel security level 311.100Stsutsui#options USERCONF # userconf(4) support 321.96Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 331.64Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 341.1Sjeremy 351.55Swiz# Enable experimental buffer queue strategy for better responsiveness under 361.54Stsutsui# high disk I/O load. Use it with caution - it's not proven to be stable yet. 371.73Stsutsui#options BUFQ_READPRIO 381.73Stsutsui#options BUFQ_PRIOCSCAN 391.54Stsutsui 401.10Sgwr# Which kernel debugger? Uncomment either this: 411.1Sjeremyoptions DDB 421.1Sjeremy# ... or these for KGDB (gdb remote target) 431.44Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 441.1Sjeremy#options KGDB 451.43Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 461.10Sgwr 471.10Sgwr# Other debugging options 481.14Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 491.10Sgwr#options DEBUG # kernel debugging code 501.10Sgwr#options DIAGNOSTIC # extra kernel sanity checking 511.10Sgwr#options PMAP_DEBUG 521.10Sgwr#options SCSIDEBUG 531.9Smjacob#options SCSIVERBOSE # Verbose SCSI errors 541.1Sjeremy 551.39Swiz# Compatibility options 561.129Smrginclude "conf/compat_netbsd10.config" 571.38Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 581.23Sgwr#options COMPAT_LINUX # can run Linux/m68k executables 591.38Schsoptions EXEC_AOUT # support for a.out executables 601.129Smrgoptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 611.129Smrg#options COMPAT_SVR4 # can run SVR4 executables 621.10Sgwr 631.1Sjeremy# Filesystem options 641.10Sgwrfile-system FFS # Berkeley Fast Filesystem 651.10Sgwrfile-system NFS # Sun NFS client support 661.7Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 671.5Sjeremyfile-system MSDOSFS # MS-DOS FAT file system 681.7Slukemfile-system FDESC # /dev/fd/* 691.7Slukemfile-system KERNFS # /kern 701.7Slukemfile-system NULLFS # loopback file system 711.100Stsutsui#file-system OVERLAY # overlay file system 721.7Slukemfile-system PROCFS # /proc 731.100Stsutsui#file-system UNION # union file system 741.7Slukemfile-system MFS # memory-based filesystem 751.80Schristosfile-system PTYFS # /dev/pts/N support 761.107Schsfile-system TMPFS # Efficient memory file-system 771.85Stsutsui#file-system UDF # experimental - OSTA UDF CD/DVD file-system 781.1Sjeremy 791.1Sjeremyoptions NFSSERVER # nfs server support 801.111Sbouyer#options QUOTA # legacy UFS quotas 811.111Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 821.112Swiz#options FFS_EI # FFS Endian Independent support 831.114Sdhollandoptions WAPBL # File system journaling support 841.96Stsutsui#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 851.100Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 861.28Stsutsui 871.1Sjeremy# Networking options 881.81Sisakioptions INET # IP protocol stack support 891.28Stsutsuioptions INET6 # IPV6 901.28Stsutsui#options IPSEC # IP security 911.28Stsutsui#options IPSEC_DEBUG # debug for IP security 921.7Slukem#options GATEWAY # IP packet forwarding 931.40Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 941.10Sgwr 951.62Sabs#options ALTQ # Manipulate network interfaces' output queues 961.62Sabs#options ALTQ_BLUE # Stochastic Fair Blue 971.62Sabs#options ALTQ_CBQ # Class-Based Queueing 981.62Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 991.62Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1001.62Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1011.62Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1021.62Sabs#options ALTQ_LOCALQ # Local queueing discipline 1031.62Sabs#options ALTQ_PRIQ # Priority Queueing 1041.62Sabs#options ALTQ_RED # Random Early Detection 1051.62Sabs#options ALTQ_RIO # RED with IN/OUT 1061.62Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1071.62Sabs 1081.10Sgwr# Work-around for root on slow servers (insurance...) 1091.1Sjeremyoptions NFS_BOOT_RWSIZE=1024 1101.18Sgwroptions NFS_BOOT_BOOTPARAM 1111.1Sjeremy 1121.1Sjeremyconfig netbsd root on ? type ? 1131.1Sjeremy 1141.18Sgwr# On-board I/O space (required) 1151.18Sgwrinclude "arch/sun3/conf/obio.sun3x" 1161.18Sgwr 1171.18Sgwr# On-board memory (optional) 1181.18Sgwr# See frame-buffers 1191.18Sgwrobmem0 at mainbus? 1201.18Sgwr 1211.18Sgwr# VME bus support (optional) 1221.18Sgwr# One unit for each address space 1231.18Sgwrvme0 at mainbus? # A16/D16 1241.18Sgwrvme1 at mainbus? # A16/D32 1251.18Sgwrvme2 at mainbus? # A24/D16 1261.18Sgwrvme3 at mainbus? # A24/D32 1271.18Sgwrvme4 at mainbus? # A32/D16 1281.18Sgwrvme5 at mainbus? # A32/D32 1291.18Sgwr 1301.1Sjeremy# 1311.1Sjeremy# Serial ports 1321.1Sjeremy# 1331.11Sgwrzstty0 at zsc1 channel 0 # ttya 1341.11Sgwrzstty1 at zsc1 channel 1 # ttyb 1351.1Sjeremy 1361.11Sgwrkbd0 at zsc0 channel 0 # keyboard 1371.11Sgwrms0 at zsc0 channel 1 # mouse 1381.1Sjeremy 1391.1Sjeremy# 1401.1Sjeremy# Network devices 1411.1Sjeremy# 1421.10Sgwr 1431.18Sgwr# Intel Ethernet (onboard, or VME) 1441.10Sgwrie0 at obio0 addr 0x65000000 ipl 3 1451.44Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1461.1Sjeremy 1471.1Sjeremy# Lance Ethernet (only onboard) 1481.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 1491.1Sjeremy 1501.1Sjeremy# 1511.1Sjeremy# Disk and tape devices 1521.1Sjeremy# 1531.1Sjeremy 1541.11Sgwr# Emulex SCSI (3/80 only) 1551.24Sgwr# Both `dma' and `esp' are needed. 1561.24Sgwr# The following flags may be set for the NCR53c94 based esp driver: 1571.6Sgwr# bits 0-7: disable disconnect/reselect for the corresponding target 1581.24Sgwr# bits 8-15: disable synchronous negotiation for target [bit-8] 1591.6Sgwr# 1601.24Sgwrdma0 at obio0 addr 0x66001000 ipl 2 1611.69Stsutsuiesp0 at obio0 addr 0x66000000 ipl 2 flags 0x000000 1621.5Sjeremy 1631.5Sjeremy# Floppy drive 1641.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 1651.44Slukemfd0 at fdc0 # First (and only) floppy drive. 1661.12Sgwr 1671.12Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1681.12Sgwr# This driver has several flags which may be enabled using 1691.12Sgwr# the "flags" directive. Valid flags are: 1701.12Sgwr# 1711.12Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1721.12Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1731.12Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1741.12Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1751.12Sgwr# 1761.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1771.12Sgwr# and disable disconnect/reselect for targets 0-3 1781.44Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1791.44Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1801.18Sgwr 1811.18Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1821.18Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1831.18Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1841.18Sgwrxy* at xyc? drive ? 1851.18Sgwr 1861.18Sgwr# Xylogics 7053 controllers (VME A16/D32) 1871.18Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1881.18Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1891.18Sgwrxd* at xdc? drive ? 1901.18Sgwr 1911.18Sgwr# Xylogics 472 tape controllers? 1921.1Sjeremy 1931.1Sjeremy# 1941.1Sjeremy# Frame buffer devices 1951.1Sjeremy# 1961.1Sjeremy 1971.19Sgwr# P4 Monochrome frame buffer. 1981.44Slukembwtwo0 at obmem0 addr 0x50300000 1991.19Sgwr 2001.19Sgwr# P4 8-bit color frame buffer 2011.19Sgwrcgfour0 at obmem0 addr 0x50300000 2021.19Sgwr 2031.19Sgwr# P4 accelerated 8-bit color frame buffer 2041.23Sgwr# cgsix0 at obmem0 addr 0x50000000 2051.19Sgwr 2061.19Sgwr# P4 24-bit color frame buffer 2071.19Sgwr# cgeight0 at obmem0 addr 0x50300000 2081.19Sgwr 2091.19Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 2101.19Sgwr# This driver is going to need work in its mmap function. 2111.19Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 2121.19Sgwr 2131.19Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 2141.19Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2151.1Sjeremy 2161.1Sjeremy# 2171.1Sjeremy# SCSI infrastructure 2181.1Sjeremy# 2191.1Sjeremyscsibus* at scsi? 2201.1Sjeremy 2211.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 2221.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 2231.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 2241.100Stsutsui#ch* at scsibus? target ? lun ? # SCSI changer devices 2251.100Stsutsui#ss* at scsibus? target ? lun ? # SCSI scanners 2261.1Sjeremyuk* at scsibus? target ? lun ? # unknown SCSI devices 2271.1Sjeremy 2281.102Stsutsui# 2291.102Stsutsui# accept filters 2301.102Stsutsuipseudo-device accf_data # "dataready" accept filter 2311.102Stsutsuipseudo-device accf_http # "httpready" accept filter 2321.102Stsutsui 2331.1Sjeremy# Memory-disk drivers 2341.109Shannkenpseudo-device md 2351.1Sjeremy 2361.1Sjeremy# Misc. 2371.119Schristospseudo-device loop # network loopback 2381.86Srpaulopseudo-device bpfilter # packet filter 2391.89Stsutsui#pseudo-device carp # Common Address Redundancy Protocol 2401.87Scubepseudo-device sl # CSLIP 2411.87Scubepseudo-device ppp # PPP 2421.100Stsutsui#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 2431.100Stsutsui#pseudo-device tun # network tunneling over tty 2441.100Stsutsui#pseudo-device tap # virtual Ethernet 2451.87Scube#pseudo-device gre # generic L3 over IP tunnel 2461.1Sjeremy#pseudo-device ipfilter # ip filter 2471.100Stsutsui#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2481.87Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2491.100Stsutsui#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2501.36Stsutsuipseudo-device vlan # IEEE 802.1q encapsulation 2511.100Stsutsui#pseudo-device bridge # simple inter-network bridging 2521.100Stsutsui#pseudo-device agr # IEEE 802.3ad link aggregation 2531.57Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2541.1Sjeremy 2551.33Sjdolecekpseudo-device pty # pseudo-terminals 2561.87Scubepseudo-device vnd # paging to files 2571.76Shubertf#options VND_COMPRESSION # compressed vnd(4) 2581.119Schristos#pseudo-device ccd # concatenated disks 2591.119Schristos#pseudo-device cgd # cryptographic disk devices 2601.120Schristos#pseudo-device raid # RAIDframe disk driver 2611.29Stsutsui#options RAID_AUTOCONFIG # auto-configuration of RAID components 2621.47Soster# Options to enable various other RAIDframe RAID types. 2631.96Stsutsui#options RF_INCLUDE_EVENODD=1 2641.96Stsutsui#options RF_INCLUDE_RAID5_RS=1 2651.96Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 2661.96Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 2671.96Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 2681.96Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 2691.96Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2701.106Spooka#pseudo-device fss # file system snapshot device 2711.51Slukempseudo-device clockctl # user control of clock subsystem 2721.57Stsutsuipseudo-device ksyms # /dev/ksyms 2731.61Sitojun#pseudo-device pf # PF packet filter 2741.61Sitojun#pseudo-device pflog # PF log if 2751.84Stsutsui 2761.84Stsutsui# Veriexec 2771.84Stsutsui# 2781.84Stsutsui# a pseudo device needed for veriexec 2791.120Schristos#pseudo-device veriexec 2801.84Stsutsui# 2811.84Stsutsui# Uncomment the fingerprint methods below that are desired. Note that 2821.84Stsutsui# removing fingerprint methods will have almost no impact on the kernel 2831.84Stsutsui# code size. 2841.84Stsutsui# 2851.84Stsutsui#options VERIFIED_EXEC_FP_SHA256 2861.84Stsutsui#options VERIFIED_EXEC_FP_SHA384 2871.84Stsutsui#options VERIFIED_EXEC_FP_SHA512 288