GENERIC revision 1.128
11.128Sreinoud# $NetBSD: GENERIC,v 1.128 2006/02/02 21:32:10 reinoud 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.128Sreinoud#ident "GENERIC-$Revision: 1.128 $" 291.1Sglass 301.50Sgwr# Machines to be supported by this kernel 311.15Sgwroptions FPU_EMULATE 321.21Sgwroptions HAVECACHE # Sun3/260 VAC 331.3Sglass 341.4Sgwr# Needs to be set per system. i.e change these as you see fit 351.3Sglassmaxusers 4 361.23Sgwr 371.4Sgwr# Standard system options 381.41Sgwroptions KTRACE # system call tracing 391.94Sprovosoptions SYSTRACE # system call vetting via systrace(1) 401.41Sgwroptions SYSVMSG # System V message queues 411.41Sgwroptions SYSVSEM # System V semaphores 421.84Slukem#options SEMMNI=10 # number of semaphore identifiers 431.84Slukem#options SEMMNS=60 # number of semaphores in system 441.84Slukem#options SEMUME=10 # max number of undo entries per process 451.84Slukem#options SEMMNU=30 # number of undo structures in system 461.41Sgwroptions SYSVSHM # System V shared memory 471.41Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 481.106Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 491.52Sfairoptions LKM # loadable kernel modules 501.41Sgwr#options INSECURE # disable kernel security level 511.93Slukemoptions USERCONF # userconf(4) support 521.89Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 531.107Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 541.96Sjunyoung 551.97Swiz# Enable experimental buffer queue strategy for better responsiveness under 561.96Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 571.115Stsutsui#options BUFQ_READPRIO 581.115Stsutsui#options BUFQ_PRIOCSCAN 591.30Sthorpej 601.41Sgwr# Which kernel debugger? Uncomment either this: 611.30Sthorpejoptions DDB 621.36Sgwr# ... or these for KGDB (gdb remote target) 631.84Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 641.30Sthorpej#options KGDB 651.83Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 661.41Sgwr 671.41Sgwr# Other debugging options 681.43Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 691.41Sgwr#options DEBUG # kernel debugging code 701.41Sgwr#options DIAGNOSTIC # extra kernel sanity checking 711.41Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 721.41Sgwr#options PMAP_DEBUG 731.41Sgwr#options SCSIDEBUG 741.40Smjacob#options SCSIVERBOSE # Verbose SCSI errors 751.1Sglass 761.78Swiz# Compatibility options 771.41Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 781.57Skleink#options COMPAT_SVR4 # can run SVR4 executables 791.41Sgwroptions COMPAT_43 # and 4.3BSD and ... 801.41Sgwroptions COMPAT_10 # NetBSD 1.0 811.41Sgwroptions COMPAT_11 # NetBSD 1.1 821.41Sgwroptions COMPAT_12 # NetBSD 1.2 831.45Skleinkoptions COMPAT_13 # NetBSD 1.3 841.59Saugustssoptions COMPAT_14 # NetBSD 1.4 851.101Scloptions COMPAT_16 # NetBSD 1.6 861.110Stsutsuioptions COMPAT_20 # NetBSD 2.0 871.121Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 881.77Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 891.56Sitohy#options COMPAT_LINUX # can run Linux/m68k executables 901.77Schsoptions EXEC_AOUT # support for a.out executables 911.80Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 921.108Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 931.41Sgwr 941.4Sgwr# Filesystem options 951.41Sgwrfile-system FFS # Berkeley Fast Filesystem 961.41Sgwrfile-system NFS # Sun NFS client support 971.38Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 981.38Slukemfile-system FDESC # /dev/fd/* 991.38Slukemfile-system KERNFS # /kern 1001.38Slukemfile-system NULLFS # loopback file system 1011.125Stsutsuifile-system OVERLAY # overlay file system 1021.38Slukemfile-system PROCFS # /proc 1031.38Slukemfile-system UNION # union file system 1041.38Slukemfile-system MFS # memory-based filesystem 1051.122Schristosfile-system PTYFS # /dev/pts/N support 1061.124Sjmmv#file-system TMPFS # experimental - Efficient memory file-system 1071.128Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1081.35Sthorpej 1091.30Sthorpejoptions NFSSERVER # nfs server support 1101.41Sgwroptions QUOTA # FFS quotas 1111.51Sbouyer#options FFS_EI # FFS Endian Independant support 1121.84Slukemoptions SOFTDEP # FFS soft updates support. 1131.111Srumble#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1141.126Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1151.61Sitojun 1161.4Sgwr# Networking options 1171.123Sisakioptions INET # IP protocol stack support 1181.61Sitojunoptions INET6 # IPV6 1191.61Sitojun#options IPSEC # IP security 1201.61Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1211.117Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1221.61Sitojun#options IPSEC_DEBUG # debug for IP security 1231.38Slukem#options GATEWAY # IP packet forwarding 1241.41Sgwr#options ISO,TPIP # OSI networking 1251.41Sgwr#options EON # OSI tunneling over IP 1261.41Sgwr#options CCITT,LLC,HDLC # X.25 1271.58Schristosoptions PFIL_HOOKS # pfil(9) packet filter hooks. 1281.80Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1291.41Sgwr 1301.105Sabs#options ALTQ # Manipulate network interfaces' output queues 1311.105Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1321.105Sabs#options ALTQ_CBQ # Class-Based Queueing 1331.105Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1341.105Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1351.105Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1361.105Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1371.105Sabs#options ALTQ_LOCALQ # Local queueing discipline 1381.105Sabs#options ALTQ_PRIQ # Priority Queueing 1391.105Sabs#options ALTQ_RED # Random Early Detection 1401.105Sabs#options ALTQ_RIO # RED with IN/OUT 1411.105Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1421.105Sabs 1431.41Sgwr# Work-around for root on slow servers (insurance...) 1441.12Sgwroptions NFS_BOOT_RWSIZE=1024 1451.48Sgwroptions NFS_BOOT_BOOTPARAM 1461.3Sglass 1471.35Sthorpejconfig netbsd root on ? type ? 1481.1Sglass 1491.49Sgwr# On-board I/O space (required) 1501.49Sgwrinclude "arch/sun3/conf/obio.sun3" 1511.49Sgwr 1521.49Sgwr# On-board memory (optional) 1531.49Sgwr# See frame-buffers 1541.49Sgwrobmem0 at mainbus? 1551.49Sgwr 1561.49Sgwr# VME bus support (optional) 1571.49Sgwr# One unit for each address space 1581.49Sgwrvme0 at mainbus? # A16/D16 1591.49Sgwrvme1 at mainbus? # A16/D32 1601.49Sgwrvme2 at mainbus? # A24/D16 1611.49Sgwrvme3 at mainbus? # A24/D32 1621.49Sgwrvme4 at mainbus? # A32/D16 1631.49Sgwrvme5 at mainbus? # A32/D32 1641.49Sgwr 1651.25Sgwr# 1661.27Sgwr# Serial ports 1671.27Sgwr# 1681.38Slukemzstty0 at zsc1 channel 0 # ttya 1691.38Slukemzstty1 at zsc1 channel 1 # ttyb 1701.27Sgwr 1711.38Slukemkbd0 at zsc0 channel 0 # keyboard 1721.38Slukemms0 at zsc0 channel 1 # mouse 1731.27Sgwr 1741.27Sgwr# 1751.25Sgwr# Network devices 1761.25Sgwr# 1771.16Sgwr 1781.25Sgwr# Intel Ethernet (onboard, or VME) 1791.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3 1801.84Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1811.4Sgwr 1821.25Sgwr# Lance Ethernet (only onboard) 1831.49Sgwrle0 at obio0 addr 0x120000 ipl 3 1841.49Sgwr 1851.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1861.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1871.49Sgwroptions LANCE_REVC_BUG 1881.12Sgwr 1891.25Sgwr# 1901.25Sgwr# Disk and tape devices 1911.25Sgwr# 1921.25Sgwr 1931.25Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1941.37Sgwr# This driver has several flags which may be enabled using 1951.37Sgwr# the "flags" directive. Valid flags are: 1961.31Sgwr# 1971.37Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1981.37Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1991.37Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 2001.37Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 2011.37Sgwr# 2021.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 2031.37Sgwr# and disable disconnect/reselect for targets 0-3 2041.49Sgwrsi0 at obio0 addr 0x140000 ipl 2 2051.84Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 2061.84Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 2071.49Sgwr 2081.49Sgwr# Xylogics 450/451 controllers (VME A16/D16) 2091.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 2101.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 2111.41Sgwrxy* at xyc? drive ? 2121.37Sgwr 2131.49Sgwr# Xylogics 7053 controllers (VME A16/D32) 2141.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 2151.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 2161.41Sgwrxd* at xdc? drive ? 2171.25Sgwr 2181.25Sgwr# Xylogics 472 tape controllers? 2191.25Sgwr 2201.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 2211.49Sgwr# Note: the board uses vect and vect+1 2221.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 2231.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 2241.46Sgwrsi* at sebuf? 2251.46Sgwrie* at sebuf? 2261.46Sgwr 2271.46Sgwr# 2281.25Sgwr# Frame buffer devices 2291.25Sgwr# 2301.10Sgwr 2311.50Sgwrinclude "arch/sun3/conf/bw2.sun3" 2321.50Sgwrinclude "arch/sun3/conf/cg4.sun3" 2331.25Sgwr 2341.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 2351.50Sgwr# cgsix0 at obmem0 addr 0xff000000 2361.25Sgwr 2371.25Sgwr# 3/60 P4 24-bit color frame buffer 2381.50Sgwr# cgeight0 at obmem0 addr 0xff300000 2391.25Sgwr 2401.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 2411.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 2421.25Sgwr 2431.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 2441.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2451.25Sgwr 2461.25Sgwr# 2471.25Sgwr# SCSI infrastructure 2481.25Sgwr# 2491.7Sgwrscsibus* at scsi? 2501.14Sgwr 2511.37Sgwrsd* at scsibus? target ? lun ? # SCSI disks 2521.37Sgwrst* at scsibus? target ? lun ? # SCSI tapes 2531.37Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2541.37Sgwrch* at scsibus? target ? lun ? # SCSI changer devices 2551.37Sgwrss* at scsibus? target ? lun ? # SCSI scanners 2561.37Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 2571.24Sgwr 2581.33Spk# Memory-disk drivers 2591.38Slukempseudo-device md 2 2601.1Sglass 2611.25Sgwr# Misc. 2621.38Slukempseudo-device loop 1 # network loopback 2631.38Slukempseudo-device bpfilter 8 # packet filter 2641.38Slukempseudo-device sl 2 # CSLIP 2651.38Slukempseudo-device ppp 2 # PPP 2661.87Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2671.38Slukempseudo-device tun 2 # network tunneling over tty 2681.109Scubepseudo-device tap # virtual Ethernet 2691.55Shwr#pseudo-device gre 2 # generic L3 over IP tunnel 2701.37Sgwr#pseudo-device ipfilter # ip filter 2711.61Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2721.61Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2731.66Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2741.75Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2751.85Satatatpseudo-device bridge # simple inter-network bridging 2761.125Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2771.74Sitojunpseudo-device rnd # /dev/random and in-kernel generator 2781.17Sgwr 2791.73Sjdolecekpseudo-device pty # pseudo-terminals 2801.67Stsutsuipseudo-device vnd 4 # paging to files 2811.118Shubertf#options VND_COMPRESSION # compressed vnd(4) 2821.38Slukem#pseudo-device ccd 4 # concatenated disks 2831.95Selric#pseudo-device cgd 4 # cryptographic disk devices 2841.54Soster#pseudo-device raid 4 # RAIDframe disk driver 2851.65Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 2861.88Soster# Options to enable various other RAIDframe RAID types. 2871.88Soster# options RF_INCLUDE_EVENODD=1 2881.88Soster# options RF_INCLUDE_RAID5_RS=1 2891.88Soster# options RF_INCLUDE_PARITYLOGGING=1 2901.88Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2911.88Soster# options RF_INCLUDE_INTERDECLUSTER=1 2921.88Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2931.88Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2941.112Shannkenpseudo-device fss 4 # file system snapshot device 2951.92Slukempseudo-device clockctl # user control of clock subsystem 2961.100Sraggepseudo-device ksyms # /dev/ksyms 2971.104Sitojun#pseudo-device pf # PF packet filter 2981.104Sitojun#pseudo-device pflog # PF log if 2991.127Selad 3001.127Selad# Veriexec 3011.127Selad#options VERIFIED_EXEC 3021.127Selad# 3031.127Selad# a pseudo device needed for veriexec 3041.127Selad#pseudo-device veriexec 1 3051.127Selad# 3061.127Selad# Uncomment the fingerprint methods below that are desired. Note that 3071.127Selad# removing fingerprint methods will have almost no impact on the kernel 3081.127Selad# code size. 3091.127Selad# 3101.127Selad#options VERIFIED_EXEC_FP_RMD160 3111.127Selad#options VERIFIED_EXEC_FP_SHA256 3121.127Selad#options VERIFIED_EXEC_FP_SHA384 3131.127Selad#options VERIFIED_EXEC_FP_SHA512 3141.127Selad#options VERIFIED_EXEC_FP_SHA1 3151.127Selad#options VERIFIED_EXEC_FP_MD5 3161.127Selad 317