GENERIC revision 1.157
11.157Ssimonb# $NetBSD: GENERIC,v 1.157 2008/07/31 07:41:03 simonb Exp $ 21.1Sjonathan# 31.93Sgmcgarry# GENERIC machine description file 41.93Sgmcgarry# 51.93Sgmcgarry# This machine description file is used to generate the default NetBSD 61.93Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.93Sgmcgarry# and device drivers, but should be useful for most applications. 81.39Snisimura# 91.93Sgmcgarry# The machine description file can be customised for your specific 101.93Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.1Sjonathan# 121.93Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.93Sgmcgarry# man page. 141.93Sgmcgarry# 151.93Sgmcgarry# For further information on hardware support for this architecture, see 161.93Sgmcgarry# the intro(4) man page. For further information about kernel options 171.93Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.93Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.93Sgmcgarry# device. 201.93Sgmcgarry 211.5Sjonathaninclude "arch/pmax/conf/std.pmax" 221.64Shubertf 231.99Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.99Satatat 251.157Ssimonb#ident "GENERIC-$Revision: 1.157 $" 261.1Sjonathan 271.5Sjonathanmaxusers 64 281.1Sjonathan 291.39Snisimuraoptions MIPS1 # R2000/R3000 CPUs 301.39Snisimuraoptions MIPS3 # R4000/R4400 CPUs 311.6Sjonathan 321.1Sjonathan 331.5Sjonathan# Support for specific models of DECstation 341.39Snisimuraoptions DEC_3100 # DECstation 2100, 3100 (kn01) 351.39Snisimuraoptions DEC_5100 # DECsystem 5100 (kn230) 361.39Snisimuraoptions DEC_3MAX # DECstation 5000/200 (kn02) 371.39Snisimuraoptions DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04) 381.39Snisimuraoptions DEC_MAXINE # Personal DECstation 5000/xx (kn02ca) 391.39Snisimuraoptions DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05) 401.24Sjonathan 411.60Ssimonb#options DEC_5400 # DECsystem 5400 (kn210) 421.60Ssimonb#options DEC_5500 # DECsystem 5500 (kn220) 431.60Ssimonb#options DEC_5800 # DECsystem 58x0 (kn5800) 441.1Sjonathan 451.1Sjonathan# Standard system options 461.16Sjonathanoptions DDB # in-kernel debugger 471.19Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 481.16Sjonathanoptions DDB_ONPANIC=0 # don't enter debugger on panic 491.15Sjonathan#options DIAGNOSTIC # extra kernel debugging checks 501.15Sjonathan#options DEBUG # extra kernel debugging support 511.92Slukemoptions COMPAT_43 # compatibility with 4.3BSD binaries 521.15Sjonathanoptions KTRACE # system call tracing support 531.43Sjonathan 541.43Sjonathanoptions SYSVMSG # System V-like message queues 551.43Sjonathanoptions SYSVSEM # System V-like semaphores 561.43Sjonathanoptions SYSVSHM # System V-like memory sharing 571.119Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 581.43Sjonathan 591.43Sjonathanoptions LKM # loadable kernel modules 601.96Sjdolecek 611.102Slukemoptions USERCONF # userconf(4) support 621.114Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 631.120Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 641.107Sjunyoung 651.108Swiz# Enable experimental buffer queue strategy for better responsiveness under 661.107Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 671.128Stsutsui#options BUFQ_READPRIO 681.128Stsutsui#options BUFQ_PRIOCSCAN 691.17Smjacob 701.18Smjacob#options SCSIVERBOSE # Verbose SCSI errors 711.80Stsutsui#options TCVERBOSE # recognize "unknown" TC devices 721.12Sjonathan 731.62Sad# Old 4.4BSD/pmax kgdb options 741.15Sjonathan#options KGDB # support for kernel gdb 751.91Slukem#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 761.91Slukem#options KGDB_DEV="15*256+0" # device for kernel gdb 771.1Sjonathan 781.15Sjonathanoptions NTP # network time protocol 791.5Sjonathan 801.5Sjonathan 811.1Sjonathan# Filesystem options 821.83Snisimurafile-system FFS # fast filesystem with user and group quotas 831.83Snisimurafile-system MFS # memory-based filesystem 841.83Snisimurafile-system NFS # Sun NFS-compatible filesystem (client) 851.12Sjonathanfile-system LFS # Log-based filesystem (still experimental) 861.83Snisimurafile-system CD9660 # ISO 9660 + Rock Ridge file system 871.83Snisimurafile-system FDESC # /dev/fd 881.83Snisimurafile-system KERNFS # /kern (kernel informational filesystem) 891.83Snisimurafile-system NULLFS # loopback file system 901.83Snisimurafile-system OVERLAY # overlay file system 911.83Snisimurafile-system PORTAL # portal filesystem (still experimental) 921.83Snisimurafile-system PROCFS # /proc 931.83Snisimurafile-system UMAPFS # NULLFS + uid and gid remapping 941.83Snisimurafile-system UNION 951.135Schristosfile-system PTYFS # /dev/pts/N support 961.151Sjmmv#file-system TMPFS # Efficient memory file-system 971.141Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 981.10Sthorpej 991.15Sjonathanoptions NFSSERVER # Sun NFS-compatible filesystem (server) 1001.15Sjonathanoptions QUOTA # UFS quotas 1011.23Sbouyer#options FFS_EI # FFS Endian Independant support 1021.92Slukemoptions SOFTDEP # FFS soft updates support. 1031.157Ssimonboptions WAPBL # File system journaling support - Experimental 1041.138Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1051.137Stsutsui#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1061.50Sitojun 1071.1Sjonathan# Networking options 1081.15Sjonathanoptions INET # Internet protocols 1091.50Sitojunoptions INET6 # IPV6 1101.50Sitojun#options IPSEC # IP security 1111.50Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1121.130Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1131.50Sitojun#options IPSEC_DEBUG # debug for IP security 1141.15Sjonathanoptions GATEWAY # IP packet forwarding 1151.12Sjonathan#options MROUTING # Multicast routing support 1161.121Smanu#options PIM # Protocol Independent Multicast 1171.12Sjonathan#options ISO # OSI networking 1181.12Sjonathan#options TPIP # TPIP 1191.12Sjonathan#options EON # OSI tunneling over IP 1201.38Ssimonboptions NETATALK # AppleTalk networking protocols 1211.46Schristosoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1221.46Schristosoptions PPP_DEFLATE # Deflate compression support for PPP 1231.46Schristosoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1241.46Schristosoptions PFIL_HOOKS # pfil(9) packet filter hooks 1251.38Ssimonboptions IPFILTER_LOG # ipmon(8) log support 1261.149Schristosoptions IPFILTER_LOOKUP # ippool(8) support 1271.104Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1281.88Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1291.1Sjonathan 1301.118Sabs#options ALTQ # Manipulate network interfaces' output queues 1311.118Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1321.118Sabs#options ALTQ_CBQ # Class-Based Queueing 1331.118Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1341.118Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1351.118Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1361.118Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1371.118Sabs#options ALTQ_LOCALQ # Local queueing discipline 1381.118Sabs#options ALTQ_PRIQ # Priority Queueing 1391.118Sabs#options ALTQ_RED # Random Early Detection 1401.118Sabs#options ALTQ_RIO # RED with IN/OUT 1411.118Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1421.118Sabs 1431.5Sjonathan# NetBSD backwards compatibility 1441.15Sjonathan#options COMPAT_10 # NetBSD 1.0, (needed for X on 386?) 1451.98Ssimonb#options COMPAT_11 # NetBSD 1.1, EXEC_ELF_NOTELESS 1461.114Stsutsuioptions COMPAT_12 # NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS 1471.114Stsutsuioptions COMPAT_13 # NetBSD 1.3 1481.114Stsutsuioptions COMPAT_14 # NetBSD 1.4 1491.150Smanuoptions COMPAT_15 # NetBSD 1.5 1501.114Stsutsuioptions COMPAT_16 # NetBSD 1.6 1511.127Ssimonboptions COMPAT_20 # NetBSD 2.0 1521.156Stsutsuioptions COMPAT_30 # NetBSD 3.0 1531.156Stsutsuioptions COMPAT_40 # NetBSD 4.0 compatibility. 1541.88Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 1551.137Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1561.1Sjonathan 1571.146Sad# Workstation console options 1581.146Sadoptions FONT_BOLD8x16 1591.101Sadoptions FONT_GALLANT12x22 1601.5Sjonathan 1611.146Sadoptions WSEMUL_VT100 1621.146Sadoptions WS_KERNEL_FG=WSCOL_GREEN 1631.146Sadoptions WS_KERNEL_BG=WSCOL_BLACK 1641.146Sad 1651.146Sad# Disable kernel security levels. Needed for X with a PX or PXG. 1661.146Sad#options INSECURE 1671.146Sad 1681.1Sjonathan# pmax specific 1691.39Snisimuraoptions COMPAT_ULTRIX # Ultrix compatibility 1701.89Ssimonb#options EXEC_AOUT # Old NetBSD/pmax a.out compatibility 1711.15Sjonathanoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 1721.92Slukemoptions HZ=256 # RTC rate required 1731.22Sdrochner 1741.41Ssimonboptions NFS_BOOT_DHCP # superset of BOOTP 1751.1Sjonathan 1761.16Sjonathanconfig netbsd root on ? type ? 1771.42Ssimonb#config nfsnetbsd root on ? type nfs 1781.1Sjonathan 1791.30Smhitch 1801.30Smhitchmainbus0 at root 1811.30Smhitchcpu* at mainbus0 1821.1Sjonathan 1831.48Snisimura## Peripheral Bus Support (for devices to attach to) 1841.48Snisimura## ---------------------------------------------------------------------------- 1851.1Sjonathan 1861.48Snisimura# TURBOchannel bus support 1871.48Snisimuratc* at mainbus0 1881.26Sjonathan 1891.48Snisimura# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot 1901.48Snisimuraioasic0 at tc? 1911.55Ssimonbmcclock* at ioasic? offset ? # DS1287 RTC 1921.55Ssimonble* at ioasic? offset ? # LANCE 1931.146Saddt* at ioasic? offset ? # MAXINE kbd and mouse 1941.75Sgmcgarrybba* at ioasic? offset ? # MAXINE baseboard audio 1951.48Snisimura#fdc at ioasic? offset ? # MAXINE floppy disk (not supported) 1961.146Sadzsc0 at ioasic? offset 0x100000 # Z85C30 1971.146Sadzsc1 at ioasic? offset 0x180000 # Z85C30 1981.55Ssimonbasc* at ioasic? offset ? # NCR53C94 SCSI with IOASIC 1991.48Snisimura 2001.146Sadzstty* at zsc? channel ? # serial ports on B/A channels 2011.146Sadlkkbd* at zsc1 channel ? # keyboard port on A channels 2021.146Sadvsms* at zsc0 channel ? # mouse port on A channels 2031.146Sad 2041.146Sadaudio* at bba? 2051.146Sad 2061.146Saddtkbd* at dt? addr ? 2071.146Saddtms* at dt? addr ? 2081.146Sad 2091.48Snisimura# 3MAX has TURBOchannel but no IOASIC 2101.52Sthorpejibus0 at tc? slot ? offset ? # 3MAX system slot 2111.55Ssimonb 2121.55Ssimonb# PMAX, 3MAX and MIPSMATE common devices 2131.55Ssimonbmcclock* at ibus0 addr ? # DS1287 RTC 2141.146Saddz* at ibus0 addr ? # DC7085 quad line serial device 2151.146Sad 2161.146Sadlkkbd* at dz? line 0 # Keyboard 2171.146Sadvsms* at dz? line 1 # Mouse 2181.48Snisimura 2191.48Snisimura# TURBOchannel devices 2201.52Sthorpejmfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer 2211.52Sthorpejcfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer 2221.146Sadtfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer 2231.52Sthorpejsfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer 2241.146Sadpx* at tc? slot ? offset ? # PMAG-C 2D accelerator 2251.146Sadpxg* at tc? slot ? offset ? # PMAG-D,E,F 3D accelerator 2261.52Sthorpej#sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer 2271.55Ssimonbxcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE 2281.52Sthorpejasc* at tc? slot ? offset ? # PMAZ-A single channel SCSI 2291.52Sthorpejle* at tc? slot ? offset ? # PMAD-A LANCE 2301.52Sthorpejfta* at tc? slot ? offset ? # PMAF-F FDDI 2311.89Ssimonbtcds* at tc? slot ? offset ? # PMAZB/PMAZC dual channel SCSI 2321.89Ssimonbasc* at tcds? chip ? 2331.48Snisimura 2341.48Snisimura# PMAX and MIPSMATE 2351.48Snisimuraibus0 at mainbus0 2361.55Ssimonbpm* at ibus0 addr ? # 3100 onboard fb 2371.55Ssimonble* at ibus0 addr ? # 3100, 5100 onboard LANCE 2381.55Ssimonbsii* at ibus0 addr ? # DC7061 onboard SCSI 2391.1Sjonathan 2401.146Sad# Workstation console 2411.146Sad 2421.146Sadwskbd* at lkkbd? console ? 2431.146Sadwskbd* at dtkbd? console ? 2441.146Sadwsmouse* at vsms? 2451.146Sadwsmouse* at dtms? 2461.146Sad 2471.146Sadwsdisplay* at mfb? 2481.146Sadwsdisplay* at cfb? 2491.146Sadwsdisplay* at px? 2501.146Sadwsdisplay* at pxg? 2511.146Sadwsdisplay* at sfb? 2521.146Sad#wsdisplay* at sfbp? 2531.146Sadwsdisplay* at tfb? 2541.146Sadwsdisplay* at xcfb? 2551.146Sadwsdisplay* at pm? 2561.146Sad 2571.146Sad 2581.34Ssimonb######################################################################### 2591.34Ssimonb# SCSI configuration # 2601.34Ssimonb######################################################################### 2611.1Sjonathan 2621.89Ssimonbscsibus* at sii? 2631.89Ssimonbscsibus* at asc? 2641.89Ssimonb 2651.89Ssimonbsd* at scsibus? target ? lun ? # SCSI disks 2661.89Ssimonbst* at scsibus? target ? lun ? # SCSI tapes 2671.92Slukemcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2681.89Ssimonbch* at scsibus? target ? lun ? # SCSI changer devices 2691.89Ssimonbss* at scsibus? target ? lun ? # SCSI scanners 2701.89Ssimonbuk* at scsibus? target ? lun ? # unknown SCSI 2711.1Sjonathan 2721.34Ssimonb######################################################################### 2731.34Ssimonb# Pseudo-devices # 2741.34Ssimonb######################################################################### 2751.1Sjonathan 2761.34Ssimonbpseudo-device loop 1 # network loopback 2771.143Scubepseudo-device sl # serial-line IP ports 2781.143Scubepseudo-device ppp # serial-line IP ports 2791.94Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2801.85Sjdolecekpseudo-device pty # pseudo-terminals 2811.142Srpaulopseudo-device bpfilter # packet filter ports 2821.145Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 2831.36Ssimonbpseudo-device ipfilter # IP filter, NAT 2841.143Scube#pseudo-device gre # generic L3 over IP tunnel 2851.143Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2861.143Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2871.144Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2881.86Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2891.90Satatatpseudo-device bridge # simple inter-network bridging 2901.114Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2911.152Smartinpseudo-device agr # IEEE 802.3ad link aggregation 2921.12Sjonathan 2931.143Scubepseudo-device vnd # virtual disk ick 2941.131Shubertf#options VND_COMPRESSION # compressed vnd(4) 2951.34Ssimonbpseudo-device ccd 4 # concatenated disks 2961.106Selric#pseudo-device cgd 4 # cryptographic disk devices 2971.95Sosterpseudo-device raid 8 # RAIDframe disk driver 2981.95Sosteroptions RAID_AUTOCONFIG # auto-configuration of RAID components 2991.95Soster# Options to enable various other RAIDframe RAID types. 3001.114Stsutsui#options RF_INCLUDE_EVENODD=1 3011.114Stsutsui#options RF_INCLUDE_RAID5_RS=1 3021.114Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 3031.114Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 3041.114Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 3051.114Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 3061.114Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 3071.124Shannkenpseudo-device fss 4 # file system snapshot device 3081.1Sjonathan 3091.36Ssimonbpseudo-device rnd # /dev/random and in-kernel generator 3101.100Slukempseudo-device clockctl # user control of clock subsystem 3111.111Sraggepseudo-device ksyms # /dev/ksyms 3121.117Sitojun#pseudo-device pf # PF packet filter 3131.117Sitojun#pseudo-device pflog # PF log if 3141.146Sadpseudo-device wsfont # wsfont control device 3151.146Sadpseudo-device wsmux # wsmux control device 3161.140Selad 3171.140Selad# Veriexec 3181.140Selad# 3191.140Selad# a pseudo device needed for veriexec 3201.140Selad#pseudo-device veriexec 1 3211.140Selad# 3221.140Selad# Uncomment the fingerprint methods below that are desired. Note that 3231.140Selad# removing fingerprint methods will have almost no impact on the kernel 3241.140Selad# code size. 3251.140Selad# 3261.140Selad#options VERIFIED_EXEC_FP_RMD160 3271.140Selad#options VERIFIED_EXEC_FP_SHA256 3281.140Selad#options VERIFIED_EXEC_FP_SHA384 3291.140Selad#options VERIFIED_EXEC_FP_SHA512 3301.140Selad#options VERIFIED_EXEC_FP_SHA1 3311.140Selad#options VERIFIED_EXEC_FP_MD5 332