GENERIC revision 1.176
11.176Ssevan# $NetBSD: GENERIC,v 1.176 2018/01/23 14:47:56 sevan Exp $ 21.86Sgmcgarry# 31.86Sgmcgarry# GENERIC machine description file 41.86Sgmcgarry# 51.86Sgmcgarry# This machine description file is used to generate the default NetBSD 61.86Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.86Sgmcgarry# and device drivers, but should be useful for most applications. 81.86Sgmcgarry# 91.86Sgmcgarry# The machine description file can be customised for your specific 101.86Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.86Sgmcgarry# 121.86Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.86Sgmcgarry# man page. 141.86Sgmcgarry# 151.86Sgmcgarry# For further information on hardware support for this architecture, see 161.86Sgmcgarry# the intro(4) man page. For further information about kernel options 171.86Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.86Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.86Sgmcgarry# device. 201.9Sgwr 211.86Sgmcgarry# Supports Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E) 221.21Sgwr# Supports root on: ie0, le0, sd*, ... 231.1Sglass 241.86Sgmcgarryinclude "arch/sun3/conf/std.sun3" 251.63Shubertf 261.91Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 271.91Satatat 281.176Ssevan#ident "GENERIC-$Revision: 1.176 $" 291.143Stsutsui 301.143Stsutsuimakeoptions COPTS="-Os" # bootloader has size limit (~2MB) 311.1Sglass 321.50Sgwr# Machines to be supported by this kernel 331.15Sgwroptions FPU_EMULATE 341.21Sgwroptions HAVECACHE # Sun3/260 VAC 351.3Sglass 361.4Sgwr# Needs to be set per system. i.e change these as you see fit 371.3Sglassmaxusers 4 381.23Sgwr 391.4Sgwr# Standard system options 401.41Sgwroptions KTRACE # system call tracing 411.41Sgwroptions SYSVMSG # System V message queues 421.41Sgwroptions SYSVSEM # System V semaphores 431.41Sgwroptions SYSVSHM # System V shared memory 441.152Stsutsui 451.154Stsutsui#options MODULAR # new style module(7) framework 461.169Sjnemeth#options MODULAR_DEFAULT_AUTOLOAD 471.152Stsutsui 481.41Sgwr#options INSECURE # disable kernel security level 491.143Stsutsui#options USERCONF # userconf(4) support 501.139Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 511.107Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 521.96Sjunyoung 531.176Ssevan# Alternate buffer queue strategies for better responsiveness under high 541.176Ssevan# disk I/O load. 551.115Stsutsui#options BUFQ_READPRIO 561.115Stsutsui#options BUFQ_PRIOCSCAN 571.30Sthorpej 581.41Sgwr# Which kernel debugger? Uncomment either this: 591.30Sthorpejoptions DDB 601.36Sgwr# ... or these for KGDB (gdb remote target) 611.84Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 621.30Sthorpej#options KGDB 631.83Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 641.41Sgwr 651.41Sgwr# Other debugging options 661.151Schsoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 671.41Sgwr#options DEBUG # kernel debugging code 681.41Sgwr#options DIAGNOSTIC # extra kernel sanity checking 691.41Sgwr#options PMAP_DEBUG 701.41Sgwr#options SCSIDEBUG 711.40Smjacob#options SCSIVERBOSE # Verbose SCSI errors 721.1Sglass 731.78Swiz# Compatibility options 741.175Smrginclude "conf/compat_netbsd10.config" 751.175Smrg 761.41Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 771.57Skleink#options COMPAT_SVR4 # can run SVR4 executables 781.77Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 791.56Sitohy#options COMPAT_LINUX # can run Linux/m68k executables 801.77Schsoptions EXEC_AOUT # support for a.out executables 811.41Sgwr 821.4Sgwr# Filesystem options 831.41Sgwrfile-system FFS # Berkeley Fast Filesystem 841.41Sgwrfile-system NFS # Sun NFS client support 851.38Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 861.38Slukemfile-system FDESC # /dev/fd/* 871.38Slukemfile-system KERNFS # /kern 881.38Slukemfile-system NULLFS # loopback file system 891.143Stsutsui#file-system OVERLAY # overlay file system 901.38Slukemfile-system PROCFS # /proc 911.143Stsutsui#file-system UNION # union file system 921.38Slukemfile-system MFS # memory-based filesystem 931.122Schristosfile-system PTYFS # /dev/pts/N support 941.150Schsfile-system TMPFS # Efficient memory file-system 951.128Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 961.35Sthorpej 971.30Sthorpejoptions NFSSERVER # nfs server support 981.155Sbouyer#options QUOTA # legacy UFS quotas 991.155Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 1001.156Swiz#options FFS_EI # FFS Endian Independent support 1011.158Sdhollandoptions WAPBL # File system journaling support 1021.139Stsutsui#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1031.143Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 1041.170Smanu#options UFS_EXTATTR # Extended attribute support for UFS1 1051.61Sitojun 1061.4Sgwr# Networking options 1071.123Sisakioptions INET # IP protocol stack support 1081.61Sitojunoptions INET6 # IPV6 1091.61Sitojun#options IPSEC # IP security 1101.61Sitojun#options IPSEC_DEBUG # debug for IP security 1111.38Slukem#options GATEWAY # IP packet forwarding 1121.80Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1131.41Sgwr 1141.105Sabs#options ALTQ # Manipulate network interfaces' output queues 1151.105Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1161.105Sabs#options ALTQ_CBQ # Class-Based Queueing 1171.105Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1181.105Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1191.105Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1201.105Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1211.105Sabs#options ALTQ_LOCALQ # Local queueing discipline 1221.105Sabs#options ALTQ_PRIQ # Priority Queueing 1231.105Sabs#options ALTQ_RED # Random Early Detection 1241.105Sabs#options ALTQ_RIO # RED with IN/OUT 1251.105Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1261.105Sabs 1271.41Sgwr# Work-around for root on slow servers (insurance...) 1281.12Sgwroptions NFS_BOOT_RWSIZE=1024 1291.48Sgwroptions NFS_BOOT_BOOTPARAM 1301.3Sglass 1311.35Sthorpejconfig netbsd root on ? type ? 1321.1Sglass 1331.49Sgwr# On-board I/O space (required) 1341.49Sgwrinclude "arch/sun3/conf/obio.sun3" 1351.49Sgwr 1361.49Sgwr# On-board memory (optional) 1371.49Sgwr# See frame-buffers 1381.49Sgwrobmem0 at mainbus? 1391.49Sgwr 1401.49Sgwr# VME bus support (optional) 1411.49Sgwr# One unit for each address space 1421.49Sgwrvme0 at mainbus? # A16/D16 1431.49Sgwrvme1 at mainbus? # A16/D32 1441.49Sgwrvme2 at mainbus? # A24/D16 1451.49Sgwrvme3 at mainbus? # A24/D32 1461.49Sgwrvme4 at mainbus? # A32/D16 1471.49Sgwrvme5 at mainbus? # A32/D32 1481.49Sgwr 1491.25Sgwr# 1501.27Sgwr# Serial ports 1511.27Sgwr# 1521.38Slukemzstty0 at zsc1 channel 0 # ttya 1531.38Slukemzstty1 at zsc1 channel 1 # ttyb 1541.27Sgwr 1551.38Slukemkbd0 at zsc0 channel 0 # keyboard 1561.38Slukemms0 at zsc0 channel 1 # mouse 1571.27Sgwr 1581.27Sgwr# 1591.25Sgwr# Network devices 1601.25Sgwr# 1611.16Sgwr 1621.25Sgwr# Intel Ethernet (onboard, or VME) 1631.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3 1641.84Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1651.4Sgwr 1661.25Sgwr# Lance Ethernet (only onboard) 1671.49Sgwrle0 at obio0 addr 0x120000 ipl 3 1681.49Sgwr 1691.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1701.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1711.49Sgwroptions LANCE_REVC_BUG 1721.12Sgwr 1731.25Sgwr# 1741.25Sgwr# Disk and tape devices 1751.25Sgwr# 1761.25Sgwr 1771.25Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1781.37Sgwr# This driver has several flags which may be enabled using 1791.37Sgwr# the "flags" directive. Valid flags are: 1801.31Sgwr# 1811.37Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1821.37Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1831.37Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1841.37Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1851.37Sgwr# 1861.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1871.37Sgwr# and disable disconnect/reselect for targets 0-3 1881.49Sgwrsi0 at obio0 addr 0x140000 ipl 2 1891.84Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1901.84Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1911.49Sgwr 1921.49Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1931.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1941.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1951.41Sgwrxy* at xyc? drive ? 1961.37Sgwr 1971.49Sgwr# Xylogics 7053 controllers (VME A16/D32) 1981.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1991.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 2001.41Sgwrxd* at xdc? drive ? 2011.25Sgwr 2021.25Sgwr# Xylogics 472 tape controllers? 2031.25Sgwr 2041.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 2051.49Sgwr# Note: the board uses vect and vect+1 2061.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 2071.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 2081.46Sgwrsi* at sebuf? 2091.46Sgwrie* at sebuf? 2101.46Sgwr 2111.46Sgwr# 2121.25Sgwr# Frame buffer devices 2131.25Sgwr# 2141.10Sgwr 2151.50Sgwrinclude "arch/sun3/conf/bw2.sun3" 2161.50Sgwrinclude "arch/sun3/conf/cg4.sun3" 2171.25Sgwr 2181.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 2191.50Sgwr# cgsix0 at obmem0 addr 0xff000000 2201.25Sgwr 2211.25Sgwr# 3/60 P4 24-bit color frame buffer 2221.50Sgwr# cgeight0 at obmem0 addr 0xff300000 2231.25Sgwr 2241.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 2251.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 2261.25Sgwr 2271.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 2281.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2291.25Sgwr 2301.25Sgwr# 2311.25Sgwr# SCSI infrastructure 2321.25Sgwr# 2331.7Sgwrscsibus* at scsi? 2341.14Sgwr 2351.37Sgwrsd* at scsibus? target ? lun ? # SCSI disks 2361.37Sgwrst* at scsibus? target ? lun ? # SCSI tapes 2371.37Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2381.143Stsutsui#ch* at scsibus? target ? lun ? # SCSI changer devices 2391.143Stsutsui#ss* at scsibus? target ? lun ? # SCSI scanners 2401.37Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 2411.24Sgwr 2421.145Stls# 2431.145Stls# accept filters 2441.145Stlspseudo-device accf_data # "dataready" accept filter 2451.145Stlspseudo-device accf_http # "httpready" accept filter 2461.145Stls 2471.33Spk# Memory-disk drivers 2481.153Shannkenpseudo-device md 2491.1Sglass 2501.25Sgwr# Misc. 2511.163Schristospseudo-device loop # network loopback 2521.129Srpaulopseudo-device bpfilter # packet filter 2531.132Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 2541.130Scubepseudo-device sl # CSLIP 2551.130Scubepseudo-device ppp # PPP 2561.143Stsutsui#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 2571.143Stsutsui#pseudo-device tun # network tunneling over tty 2581.143Stsutsui#pseudo-device tap # virtual Ethernet 2591.130Scube#pseudo-device gre # generic L3 over IP tunnel 2601.37Sgwr#pseudo-device ipfilter # ip filter 2611.143Stsutsui#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2621.130Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2631.143Stsutsui#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2641.75Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2651.143Stsutsui#pseudo-device bridge # simple inter-network bridging 2661.125Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2671.143Stsutsui#pseudo-device agr # IEEE 802.3ad link aggregation 2681.17Sgwr 2691.73Sjdolecekpseudo-device pty # pseudo-terminals 2701.130Scubepseudo-device vnd # paging to files 2711.118Shubertf#options VND_COMPRESSION # compressed vnd(4) 2721.163Schristos#pseudo-device ccd # concatenated disks 2731.163Schristos#pseudo-device cgd # cryptographic disk devices 2741.164Schristos#pseudo-device raid # RAIDframe disk driver 2751.65Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 2761.88Soster# Options to enable various other RAIDframe RAID types. 2771.139Stsutsui#options RF_INCLUDE_EVENODD=1 2781.139Stsutsui#options RF_INCLUDE_RAID5_RS=1 2791.139Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 2801.139Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 2811.139Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 2821.139Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 2831.139Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2841.149Spooka#pseudo-device fss # file system snapshot device 2851.92Slukempseudo-device clockctl # user control of clock subsystem 2861.100Sraggepseudo-device ksyms # /dev/ksyms 2871.104Sitojun#pseudo-device pf # PF packet filter 2881.104Sitojun#pseudo-device pflog # PF log if 2891.127Selad 2901.127Selad# Veriexec 2911.127Selad# 2921.127Selad# a pseudo device needed for veriexec 2931.164Schristos#pseudo-device veriexec 2941.127Selad# 2951.127Selad# Uncomment the fingerprint methods below that are desired. Note that 2961.127Selad# removing fingerprint methods will have almost no impact on the kernel 2971.127Selad# code size. 2981.127Selad# 2991.127Selad#options VERIFIED_EXEC_FP_SHA256 3001.127Selad#options VERIFIED_EXEC_FP_SHA384 3011.127Selad#options VERIFIED_EXEC_FP_SHA512 302