GENERIC revision 1.150
11.150Schs# $NetBSD: GENERIC,v 1.150 2010/04/29 22:40:54 chs 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.150Schs#ident "GENERIC-$Revision: 1.150 $" 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.106Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 451.41Sgwr#options INSECURE # disable kernel security level 461.143Stsutsui#options USERCONF # userconf(4) support 471.139Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 481.107Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 491.96Sjunyoung 501.97Swiz# Enable experimental buffer queue strategy for better responsiveness under 511.96Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 521.115Stsutsui#options BUFQ_READPRIO 531.115Stsutsui#options BUFQ_PRIOCSCAN 541.30Sthorpej 551.41Sgwr# Which kernel debugger? Uncomment either this: 561.30Sthorpejoptions DDB 571.36Sgwr# ... or these for KGDB (gdb remote target) 581.84Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 591.30Sthorpej#options KGDB 601.83Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 611.41Sgwr 621.41Sgwr# Other debugging options 631.43Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 641.41Sgwr#options DEBUG # kernel debugging code 651.41Sgwr#options DIAGNOSTIC # extra kernel sanity checking 661.41Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 671.41Sgwr#options PMAP_DEBUG 681.41Sgwr#options SCSIDEBUG 691.40Smjacob#options SCSIVERBOSE # Verbose SCSI errors 701.1Sglass 711.78Swiz# Compatibility options 721.41Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 731.57Skleink#options COMPAT_SVR4 # can run SVR4 executables 741.41Sgwroptions COMPAT_43 # and 4.3BSD and ... 751.41Sgwroptions COMPAT_10 # NetBSD 1.0 761.41Sgwroptions COMPAT_11 # NetBSD 1.1 771.41Sgwroptions COMPAT_12 # NetBSD 1.2 781.45Skleinkoptions COMPAT_13 # NetBSD 1.3 791.59Saugustssoptions COMPAT_14 # NetBSD 1.4 801.136Smanuoptions COMPAT_15 # NetBSD 1.5 811.101Scloptions COMPAT_16 # NetBSD 1.6 821.110Stsutsuioptions COMPAT_20 # NetBSD 2.0 831.139Stsutsuioptions COMPAT_30 # NetBSD 3.0 841.148Stsutsuioptions COMPAT_40 # NetBSD 4.0 851.148Stsutsuioptions COMPAT_50 # NetBSD 5.0 compatibility. 861.77Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 871.56Sitohy#options COMPAT_LINUX # can run Linux/m68k executables 881.77Schsoptions EXEC_AOUT # support for a.out executables 891.80Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 901.139Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 911.41Sgwr 921.4Sgwr# Filesystem options 931.41Sgwrfile-system FFS # Berkeley Fast Filesystem 941.41Sgwrfile-system NFS # Sun NFS client support 951.38Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 961.38Slukemfile-system FDESC # /dev/fd/* 971.38Slukemfile-system KERNFS # /kern 981.38Slukemfile-system NULLFS # loopback file system 991.143Stsutsui#file-system OVERLAY # overlay file system 1001.38Slukemfile-system PROCFS # /proc 1011.143Stsutsui#file-system UNION # union file system 1021.38Slukemfile-system MFS # memory-based filesystem 1031.122Schristosfile-system PTYFS # /dev/pts/N support 1041.150Schsfile-system TMPFS # Efficient memory file-system 1051.128Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1061.35Sthorpej 1071.30Sthorpejoptions NFSSERVER # nfs server support 1081.143Stsutsui#options QUOTA # FFS quotas 1091.51Sbouyer#options FFS_EI # FFS Endian Independant support 1101.144Ssimonboptions WAPBL # File system journaling support - Experimental 1111.139Stsutsui#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1121.143Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 1131.61Sitojun 1141.4Sgwr# Networking options 1151.123Sisakioptions INET # IP protocol stack support 1161.61Sitojunoptions INET6 # IPV6 1171.61Sitojun#options IPSEC # IP security 1181.61Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1191.117Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1201.61Sitojun#options IPSEC_DEBUG # debug for IP security 1211.38Slukem#options GATEWAY # IP packet forwarding 1221.41Sgwr#options ISO,TPIP # OSI networking 1231.41Sgwr#options EON # OSI tunneling over IP 1241.58Schristosoptions PFIL_HOOKS # pfil(9) packet filter hooks. 1251.80Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1261.41Sgwr 1271.105Sabs#options ALTQ # Manipulate network interfaces' output queues 1281.105Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1291.105Sabs#options ALTQ_CBQ # Class-Based Queueing 1301.105Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1311.105Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1321.105Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1331.105Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1341.105Sabs#options ALTQ_LOCALQ # Local queueing discipline 1351.105Sabs#options ALTQ_PRIQ # Priority Queueing 1361.105Sabs#options ALTQ_RED # Random Early Detection 1371.105Sabs#options ALTQ_RIO # RED with IN/OUT 1381.105Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1391.105Sabs 1401.41Sgwr# Work-around for root on slow servers (insurance...) 1411.12Sgwroptions NFS_BOOT_RWSIZE=1024 1421.48Sgwroptions NFS_BOOT_BOOTPARAM 1431.3Sglass 1441.35Sthorpejconfig netbsd root on ? type ? 1451.1Sglass 1461.49Sgwr# On-board I/O space (required) 1471.49Sgwrinclude "arch/sun3/conf/obio.sun3" 1481.49Sgwr 1491.49Sgwr# On-board memory (optional) 1501.49Sgwr# See frame-buffers 1511.49Sgwrobmem0 at mainbus? 1521.49Sgwr 1531.49Sgwr# VME bus support (optional) 1541.49Sgwr# One unit for each address space 1551.49Sgwrvme0 at mainbus? # A16/D16 1561.49Sgwrvme1 at mainbus? # A16/D32 1571.49Sgwrvme2 at mainbus? # A24/D16 1581.49Sgwrvme3 at mainbus? # A24/D32 1591.49Sgwrvme4 at mainbus? # A32/D16 1601.49Sgwrvme5 at mainbus? # A32/D32 1611.49Sgwr 1621.25Sgwr# 1631.27Sgwr# Serial ports 1641.27Sgwr# 1651.38Slukemzstty0 at zsc1 channel 0 # ttya 1661.38Slukemzstty1 at zsc1 channel 1 # ttyb 1671.27Sgwr 1681.38Slukemkbd0 at zsc0 channel 0 # keyboard 1691.38Slukemms0 at zsc0 channel 1 # mouse 1701.27Sgwr 1711.27Sgwr# 1721.25Sgwr# Network devices 1731.25Sgwr# 1741.16Sgwr 1751.25Sgwr# Intel Ethernet (onboard, or VME) 1761.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3 1771.84Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1781.4Sgwr 1791.25Sgwr# Lance Ethernet (only onboard) 1801.49Sgwrle0 at obio0 addr 0x120000 ipl 3 1811.49Sgwr 1821.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1831.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1841.49Sgwroptions LANCE_REVC_BUG 1851.12Sgwr 1861.25Sgwr# 1871.25Sgwr# Disk and tape devices 1881.25Sgwr# 1891.25Sgwr 1901.25Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1911.37Sgwr# This driver has several flags which may be enabled using 1921.37Sgwr# the "flags" directive. Valid flags are: 1931.31Sgwr# 1941.37Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1951.37Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1961.37Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1971.37Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1981.37Sgwr# 1991.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 2001.37Sgwr# and disable disconnect/reselect for targets 0-3 2011.49Sgwrsi0 at obio0 addr 0x140000 ipl 2 2021.84Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 2031.84Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 2041.49Sgwr 2051.49Sgwr# Xylogics 450/451 controllers (VME A16/D16) 2061.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 2071.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 2081.41Sgwrxy* at xyc? drive ? 2091.37Sgwr 2101.49Sgwr# Xylogics 7053 controllers (VME A16/D32) 2111.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 2121.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 2131.41Sgwrxd* at xdc? drive ? 2141.25Sgwr 2151.25Sgwr# Xylogics 472 tape controllers? 2161.25Sgwr 2171.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 2181.49Sgwr# Note: the board uses vect and vect+1 2191.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 2201.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 2211.46Sgwrsi* at sebuf? 2221.46Sgwrie* at sebuf? 2231.46Sgwr 2241.46Sgwr# 2251.25Sgwr# Frame buffer devices 2261.25Sgwr# 2271.10Sgwr 2281.50Sgwrinclude "arch/sun3/conf/bw2.sun3" 2291.50Sgwrinclude "arch/sun3/conf/cg4.sun3" 2301.25Sgwr 2311.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 2321.50Sgwr# cgsix0 at obmem0 addr 0xff000000 2331.25Sgwr 2341.25Sgwr# 3/60 P4 24-bit color frame buffer 2351.50Sgwr# cgeight0 at obmem0 addr 0xff300000 2361.25Sgwr 2371.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 2381.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 2391.25Sgwr 2401.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 2411.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2421.25Sgwr 2431.25Sgwr# 2441.25Sgwr# SCSI infrastructure 2451.25Sgwr# 2461.7Sgwrscsibus* at scsi? 2471.14Sgwr 2481.37Sgwrsd* at scsibus? target ? lun ? # SCSI disks 2491.37Sgwrst* at scsibus? target ? lun ? # SCSI tapes 2501.37Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2511.143Stsutsui#ch* at scsibus? target ? lun ? # SCSI changer devices 2521.143Stsutsui#ss* at scsibus? target ? lun ? # SCSI scanners 2531.37Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 2541.24Sgwr 2551.145Stls# 2561.145Stls# accept filters 2571.145Stlspseudo-device accf_data # "dataready" accept filter 2581.145Stlspseudo-device accf_http # "httpready" accept filter 2591.145Stls 2601.33Spk# Memory-disk drivers 2611.143Stsutsuipseudo-device md 1 2621.1Sglass 2631.25Sgwr# Misc. 2641.38Slukempseudo-device loop 1 # network loopback 2651.129Srpaulopseudo-device bpfilter # packet filter 2661.132Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 2671.130Scubepseudo-device sl # CSLIP 2681.130Scubepseudo-device ppp # PPP 2691.143Stsutsui#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 2701.143Stsutsui#pseudo-device tun # network tunneling over tty 2711.143Stsutsui#pseudo-device tap # virtual Ethernet 2721.130Scube#pseudo-device gre # generic L3 over IP tunnel 2731.37Sgwr#pseudo-device ipfilter # ip filter 2741.143Stsutsui#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2751.130Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2761.143Stsutsui#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2771.75Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2781.143Stsutsui#pseudo-device bridge # simple inter-network bridging 2791.125Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2801.143Stsutsui#pseudo-device agr # IEEE 802.3ad link aggregation 2811.74Sitojunpseudo-device rnd # /dev/random and in-kernel generator 2821.17Sgwr 2831.73Sjdolecekpseudo-device pty # pseudo-terminals 2841.130Scubepseudo-device vnd # paging to files 2851.118Shubertf#options VND_COMPRESSION # compressed vnd(4) 2861.38Slukem#pseudo-device ccd 4 # concatenated disks 2871.95Selric#pseudo-device cgd 4 # cryptographic disk devices 2881.54Soster#pseudo-device raid 4 # RAIDframe disk driver 2891.65Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 2901.88Soster# Options to enable various other RAIDframe RAID types. 2911.139Stsutsui#options RF_INCLUDE_EVENODD=1 2921.139Stsutsui#options RF_INCLUDE_RAID5_RS=1 2931.139Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 2941.139Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 2951.139Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 2961.139Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 2971.139Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2981.149Spooka#pseudo-device fss # file system snapshot device 2991.92Slukempseudo-device clockctl # user control of clock subsystem 3001.100Sraggepseudo-device ksyms # /dev/ksyms 3011.104Sitojun#pseudo-device pf # PF packet filter 3021.104Sitojun#pseudo-device pflog # PF log if 3031.127Selad 3041.127Selad# Veriexec 3051.127Selad# 3061.127Selad# a pseudo device needed for veriexec 3071.127Selad#pseudo-device veriexec 1 3081.127Selad# 3091.127Selad# Uncomment the fingerprint methods below that are desired. Note that 3101.127Selad# removing fingerprint methods will have almost no impact on the kernel 3111.127Selad# code size. 3121.127Selad# 3131.127Selad#options VERIFIED_EXEC_FP_RMD160 3141.127Selad#options VERIFIED_EXEC_FP_SHA256 3151.127Selad#options VERIFIED_EXEC_FP_SHA384 3161.127Selad#options VERIFIED_EXEC_FP_SHA512 3171.127Selad#options VERIFIED_EXEC_FP_SHA1 3181.127Selad#options VERIFIED_EXEC_FP_MD5 319