GENERIC revision 1.86
11.86Smanu# $NetBSD: GENERIC,v 1.86 2006/09/27 21:42:05 manu Exp $ 21.1Sitojun# 31.29Sgmcgarry# GENERIC machine description file 41.29Sgmcgarry# 51.29Sgmcgarry# This machine description file is used to generate the default NetBSD 61.29Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.29Sgmcgarry# and device drivers, but should be useful for most applications. 81.1Sitojun# 91.29Sgmcgarry# The machine description file can be customised for your specific 101.29Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.29Sgmcgarry# 121.29Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.29Sgmcgarry# man page. 141.29Sgmcgarry# 151.29Sgmcgarry# For further information on hardware support for this architecture, see 161.29Sgmcgarry# the intro(4) man page. For further information about kernel options 171.29Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.29Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.29Sgmcgarry# device. 201.1Sitojun 211.29Sgmcgarryinclude "arch/mmeye/conf/std.mmeye" 221.7Shubertf 231.39Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.39Satatat 251.86Smanu#ident "GENERIC-$Revision: 1.86 $" 261.1Sitojun 271.1Sitojunmaxusers 16 # estimated number of users 281.1Sitojun 291.1Sitojun# CPU support 301.33Suchoptions SH3 311.1Sitojunoptions SH7708R # 100MHz 321.1Sitojunoptions MMEYE 331.1Sitojunoptions MMEYE_NEW_INT 341.1Sitojun#options MMEYE_NO_CACHE 351.27Slukemoptions PCLOCK=33330000 # 33.33MHz 361.27Slukemoptions INITTODR_ALWAYS_USE_RTC 371.1Sitojun 381.1Sitojun# Standard system options 391.1Sitojun#options INSECURE # disable kernel security levels 401.1Sitojun 411.1Sitojunoptions HZ=50 # clock interrupt generates every 1/HZ sec 421.1Sitojunoptions NTP # NTP phase/frequency locked loop 431.1Sitojunoptions KTRACE # system call tracing via ktrace(1) 441.82Schristos#options SYSTRACE # system call vetting via systrace(1) 451.1Sitojun 461.1Sitojunoptions SYSVMSG # System V-like message queues 471.1Sitojunoptions SYSVSEM # System V-like semaphores 481.27Slukem#options SEMMNI=10 # number of semaphore identifiers 491.27Slukem#options SEMMNS=60 # number of semaphores in system 501.27Slukem#options SEMUME=10 # max number of undo entries per process 511.27Slukem#options SEMMNU=30 # number of undo structures in system 521.1Sitojunoptions SYSVSHM # System V-like memory sharing 531.1Sitojun#options SHMMAXPGS=1024 # 1024 pages is the default 541.57Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 551.1Sitojun 561.1Sitojun#options LKM # loadable kernel modules 571.32Sjdolecek 581.43Slukemoptions USERCONF # userconf(4) support 591.32Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 601.58Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 611.1Sitojun 621.1Sitojun# Diagnostic/debugging support options 631.1Sitojun#options DIAGNOSTIC # cheap kernel consistency checks 641.1Sitojun#options DEBUG # expensive debugging checks/support 651.1Sitojun#options KMEMSTATS # kernel memory statistics (vmstat -m) 661.1Sitojun#options DDB # in-kernel debugger 671.1Sitojun#options SYSCALL_DEBUG 681.1Sitojun#makeoptions DEBUG="-g" # compile full symbol table 691.1Sitojun 701.1Sitojun# Compatibility options 711.3Stsubaioptions COMPAT_14 # NetBSD 1.4, 721.86Smanuoptions COMPAT_15 # NetBSD 1.5, 731.66Ssimonboptions COMPAT_16 # NetBSD 1.6, 741.66Ssimonboptions COMPAT_20 # NetBSD 2.0, 751.72Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 761.1Sitojunoptions COMPAT_43 # and 4.3BSD 771.24Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 781.42Stsutsuioptions BSDDISKLABEL_EI # endian independent disklabel support 791.42Stsutsuioptions COMPAT_MMEYE_OLDLABEL # old mmeye's disklabel support 801.60Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 811.1Sitojun 821.1Sitojun# Executable format options 831.1Sitojunoptions EXEC_COFF # COFF executables 841.1Sitojunoptions EXEC_ELF32 # 32-bit ELF executables 851.1Sitojun 861.1Sitojun# File systems 871.1Sitojunfile-system FFS # UFS 881.1Sitojunfile-system EXT2FS # second extended file system (linux) 891.1Sitojunfile-system LFS # log-structured file system 901.1Sitojunfile-system MFS # memory file system 911.1Sitojunfile-system NFS # Network File System client 921.1Sitojunfile-system CD9660 # ISO 9660 + Rock Ridge file system 931.1Sitojunfile-system MSDOSFS # MS-DOS file system 941.1Sitojunfile-system FDESC # /dev/fd 951.1Sitojunfile-system KERNFS # /kern 961.1Sitojunfile-system NULLFS # loopback file system 971.6Swrstudenfile-system OVERLAY # overlay file system 981.1Sitojunfile-system PORTAL # portal filesystem (still experimental) 991.1Sitojunfile-system PROCFS # /proc 1001.1Sitojunfile-system UMAPFS # NULLFS + uid and gid remapping 1011.1Sitojunfile-system UNION # union file system 1021.1Sitojunfile-system CODA # Coda File System; also needs vcoda (below) 1031.73Schristosfile-system PTYFS # /dev/pts/N support 1041.74Sjmmv#file-system TMPFS # experimental - Efficient memory file-system 1051.77Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1061.1Sitojun 1071.1Sitojun# File system options 1081.1Sitojun#options QUOTA # UFS quotas 1091.1Sitojun#options FFS_EI # FFS Endian Independant support 1101.27Slukemoptions SOFTDEP # FFS soft updates support. 1111.62Srumble#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1121.1Sitojunoptions NFSSERVER # Network File System server 1131.75Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1141.1Sitojun#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1151.1Sitojun # immutable) behave as system flags. 1161.5Sitojun 1171.1Sitojun# Networking options 1181.1Sitojun#options GATEWAY # packet forwarding 1191.1Sitojunoptions INET # IP + ICMP + TCP + UDP 1201.5Sitojunoptions INET6 # IPV6 1211.5Sitojun#options IPSEC # IP security 1221.5Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1231.68Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1241.5Sitojun#options IPSEC_DEBUG # debug for IP security 1251.1Sitojun#options MROUTING # IP multicast routing 1261.59Smanu#options PIM # Protocol Independent Multicast 1271.1Sitojun#options ISO,TPIP # OSI 1281.1Sitojun#options EON # OSI tunneling over IP 1291.1Sitojun#options NETATALK # AppleTalk networking protocols 1301.1Sitojun#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1311.1Sitojun#options PPP_DEFLATE # Deflate compression support for PPP 1321.1Sitojun#options PPP_FILTER # Active filter support for PPP (requires bpf) 1331.1Sitojun#options PFIL_HOOKS # pfil(9) packet filter hooks 1341.1Sitojun#options IPFILTER_LOG # ipmon(8) log support 1351.84Schristos#options IPFILTER_LOOKUP # ippool(8) support 1361.45Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1371.24Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1381.1Sitojun 1391.56Sabs#options ALTQ # Manipulate network interfaces' output queues 1401.56Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1411.56Sabs#options ALTQ_CBQ # Class-Based Queueing 1421.56Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1431.56Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1441.56Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1451.56Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1461.56Sabs#options ALTQ_LOCALQ # Local queueing discipline 1471.56Sabs#options ALTQ_PRIQ # Priority Queueing 1481.56Sabs#options ALTQ_RED # Random Early Detection 1491.56Sabs#options ALTQ_RIO # RED with IN/OUT 1501.56Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1511.56Sabs 1521.1Sitojunoptions NFS_BOOT_DHCP # Support DHCP NFS root 1531.1Sitojun 1541.1Sitojun# These options enable verbose messages for several subsystems. 1551.1Sitojun# Warning, these may compile large string tables into the kernel! 1561.1Sitojun#options PCIVERBOSE # verbose PCI device autoconfig messages 1571.12Scgd#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1581.1Sitojunoptions PCMCIAVERBOSE # verbose PCMCIA configuration messages 1591.1Sitojunoptions SCSIVERBOSE # human readable SCSI error messages 1601.1Sitojun#options USBVERBOSE # verbose USB device autoconfig messages 1611.1Sitojun 1621.1Sitojun# Kernel root file system and dump configuration. 1631.1Sitojunconfig netbsd root on ? type ? 1641.1Sitojun 1651.1Sitojun# 1661.1Sitojun# Device configuration 1671.1Sitojun# 1681.1Sitojun 1691.1Sitojunmainbus0 at root 1701.1Sitojun 1711.1Sitojunshb* at mainbus? 1721.9Smsaitoh 1731.85Suwertc* at shb? 1741.85Suwe 1751.36Suchcom0 at mainbus? 1761.36Suchcom1 at mainbus? 1771.1Sitojun 1781.1Sitojun# SH PCMCIA controllers 1791.36Suchmmeyepcmcia0 at mainbus? 1801.36Suchmmeyepcmcia1 at mainbus? 1811.1Sitojun 1821.1Sitojun# PCMCIA bus support 1831.36Suchpcmcia* at mmeyepcmcia? controller ? socket ? 1841.1Sitojun 1851.1Sitojuncom* at pcmcia? function ? # Modems and serial cards 1861.1Sitojunwdc* at pcmcia? function ? 1871.52Slukematabus* at ata? 1881.51Sbouyerwd* at atabus? drive ? # the drives themselves 1891.1Sitojun 1901.1Sitojunep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 1911.1Sitojunmbe* at pcmcia? function ? # MB8696x based Ethernet 1921.1Sitojunne* at pcmcia? function ? # NE2000-compatible Ethernet 1931.1Sitojunsm* at pcmcia? function ? # Megahertz Ethernet 1941.1Sitojun 1951.1Sitojun# Pseudo-Devices 1961.1Sitojun 1971.1Sitojunpseudo-device ccd 4 # concatenated/striped disk devices 1981.47Selric#pseudo-device cgd 4 # cryptographic disk devices 1991.31Soster#pseudo-device raid 8 # RAIDframe disk driver 2001.11Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 2011.31Soster# Options to enable various other RAIDframe RAID types. 2021.31Soster# options RF_INCLUDE_EVENODD=1 2031.31Soster# options RF_INCLUDE_RAID5_RS=1 2041.31Soster# options RF_INCLUDE_PARITYLOGGING=1 2051.31Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2061.31Soster# options RF_INCLUDE_INTERDECLUSTER=1 2071.31Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2081.31Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2091.63Shannkenpseudo-device fss 4 # file system snapshot device 2101.79Scubepseudo-device vnd # disk-like interface to files 2111.69Shubertf#options VND_COMPRESSION # compressed vnd(4) 2121.78Srpaulopseudo-device bpfilter # Berkeley packet filter 2131.81Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 2141.1Sitojunpseudo-device ipfilter # IP filter (firewall) and NAT 2151.1Sitojunpseudo-device loop # network loopback 2161.79Scubepseudo-device ppp # Point-to-Point Protocol 2171.30Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2181.79Scubepseudo-device sl # Serial Line IP 2191.79Scubepseudo-device strip # Starmode Radio IP (Metricom) 2201.79Scubepseudo-device tun # network tunneling over tty 2211.61Scubepseudo-device tap # virtual Ethernet 2221.79Scubepseudo-device gre # generic L3 over IP tunnel 2231.79Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2241.79Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2251.80Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2261.21Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2271.28Satatatpseudo-device bridge # simple inter-network bridging 2281.48Sperseant#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2291.19Sjdolecekpseudo-device pty # pseudo-terminals 2301.1Sitojunpseudo-device rnd # /dev/random and in-kernel generator 2311.1Sitojunpseudo-device vcoda 4 # coda minicache <-> venus comm. 2321.1Sitojun#pseudo-device md 1 # memory disk device (ramdisk) 2331.40Slukempseudo-device clockctl # user control of clock subsystem 2341.50Sraggepseudo-device ksyms # /dev/ksyms 2351.55Sitojun#pseudo-device pf # PF packet filter 2361.55Sitojun#pseudo-device pflog # PF log if 2371.1Sitojun 2381.1Sitojun# Enable the hooks used for initializing the root memory-disk. 2391.1Sitojun#options MEMORY_DISK_HOOKS 2401.1Sitojun#options MEMORY_DISK_IS_ROOT # force root on memory disk 2411.1Sitojun#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 2421.37Slukem#options MEMORY_DISK_ROOT_SIZE=3074 # size of memory disk, in blocks 2431.76Selad 2441.76Selad# Veriexec 2451.76Selad# 2461.76Selad# a pseudo device needed for veriexec 2471.76Selad#pseudo-device veriexec 1 2481.76Selad# 2491.76Selad# Uncomment the fingerprint methods below that are desired. Note that 2501.76Selad# removing fingerprint methods will have almost no impact on the kernel 2511.76Selad# code size. 2521.76Selad# 2531.76Selad#options VERIFIED_EXEC_FP_RMD160 2541.76Selad#options VERIFIED_EXEC_FP_SHA256 2551.76Selad#options VERIFIED_EXEC_FP_SHA384 2561.76Selad#options VERIFIED_EXEC_FP_SHA512 2571.76Selad#options VERIFIED_EXEC_FP_SHA1 2581.76Selad#options VERIFIED_EXEC_FP_MD5 259