GENERIC revision 1.46
11.46Sprovos# $NetBSD: GENERIC,v 1.46 2002/10/06 02:11:58 provos 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.46Sprovos#ident "GENERIC-$Revision: 1.46 $" 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 UCONSOLE # users can use TIOCCONS (for xconsole) 401.1Sitojun#options INSECURE # disable kernel security levels 411.1Sitojun 421.1Sitojunoptions HZ=50 # clock interrupt generates every 1/HZ sec 431.1Sitojunoptions NTP # NTP phase/frequency locked loop 441.1Sitojunoptions KTRACE # system call tracing via ktrace(1) 451.46Sprovosoptions SYSTRACE # system call vetting via systrace(1) 461.1Sitojun 471.1Sitojunoptions SYSVMSG # System V-like message queues 481.1Sitojunoptions SYSVSEM # System V-like semaphores 491.27Slukem#options SEMMNI=10 # number of semaphore identifiers 501.27Slukem#options SEMMNS=60 # number of semaphores in system 511.27Slukem#options SEMUME=10 # max number of undo entries per process 521.27Slukem#options SEMMNU=30 # number of undo structures in system 531.1Sitojunoptions SYSVSHM # System V-like memory sharing 541.1Sitojun#options SHMMAXPGS=1024 # 1024 pages is the default 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.1Sitojun 611.1Sitojun# Diagnostic/debugging support options 621.1Sitojun#options DIAGNOSTIC # cheap kernel consistency checks 631.1Sitojun#options DEBUG # expensive debugging checks/support 641.1Sitojun#options KMEMSTATS # kernel memory statistics (vmstat -m) 651.1Sitojun#options DDB # in-kernel debugger 661.1Sitojun#options SYSCALL_DEBUG 671.1Sitojun#makeoptions DEBUG="-g" # compile full symbol table 681.1Sitojun 691.1Sitojun# Compatibility options 701.3Stsubaioptions COMPAT_14 # NetBSD 1.4, 711.1Sitojunoptions COMPAT_43 # and 4.3BSD 721.24Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 731.42Stsutsuioptions BSDDISKLABEL_EI # endian independent disklabel support 741.42Stsutsuioptions COMPAT_MMEYE_OLDLABEL # old mmeye's disklabel support 751.1Sitojun 761.1Sitojun# Executable format options 771.1Sitojunoptions EXEC_COFF # COFF executables 781.1Sitojunoptions EXEC_ELF32 # 32-bit ELF executables 791.1Sitojun 801.1Sitojun# File systems 811.1Sitojunfile-system FFS # UFS 821.1Sitojunfile-system EXT2FS # second extended file system (linux) 831.1Sitojunfile-system LFS # log-structured file system 841.1Sitojunfile-system MFS # memory file system 851.1Sitojunfile-system NFS # Network File System client 861.1Sitojunfile-system CD9660 # ISO 9660 + Rock Ridge file system 871.1Sitojunfile-system MSDOSFS # MS-DOS file system 881.1Sitojunfile-system FDESC # /dev/fd 891.1Sitojunfile-system KERNFS # /kern 901.1Sitojunfile-system NULLFS # loopback file system 911.6Swrstudenfile-system OVERLAY # overlay file system 921.1Sitojunfile-system PORTAL # portal filesystem (still experimental) 931.1Sitojunfile-system PROCFS # /proc 941.1Sitojunfile-system UMAPFS # NULLFS + uid and gid remapping 951.1Sitojunfile-system UNION # union file system 961.1Sitojunfile-system CODA # Coda File System; also needs vcoda (below) 971.1Sitojun 981.1Sitojun# File system options 991.1Sitojun#options QUOTA # UFS quotas 1001.1Sitojun#options FFS_EI # FFS Endian Independant support 1011.27Slukemoptions SOFTDEP # FFS soft updates support. 1021.1Sitojunoptions NFSSERVER # Network File System server 1031.1Sitojun#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1041.1Sitojun # immutable) behave as system flags. 1051.5Sitojun 1061.1Sitojun# Networking options 1071.1Sitojun#options GATEWAY # packet forwarding 1081.1Sitojunoptions INET # IP + ICMP + TCP + UDP 1091.5Sitojunoptions INET6 # IPV6 1101.5Sitojun#options IPSEC # IP security 1111.5Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1121.5Sitojun#options IPSEC_DEBUG # debug for IP security 1131.1Sitojun#options MROUTING # IP multicast routing 1141.1Sitojun#options NS # XNS 1151.1Sitojun#options NSIP # XNS tunneling over IP 1161.1Sitojun#options ISO,TPIP # OSI 1171.1Sitojun#options EON # OSI tunneling over IP 1181.1Sitojun#options CCITT,LLC,HDLC # X.25 1191.1Sitojun#options NETATALK # AppleTalk networking protocols 1201.1Sitojun#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1211.1Sitojun#options PPP_DEFLATE # Deflate compression support for PPP 1221.1Sitojun#options PPP_FILTER # Active filter support for PPP (requires bpf) 1231.1Sitojun#options PFIL_HOOKS # pfil(9) packet filter hooks 1241.1Sitojun#options IPFILTER_LOG # ipmon(8) log support 1251.45Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1261.24Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1271.1Sitojun 1281.1Sitojunoptions NFS_BOOT_DHCP # Support DHCP NFS root 1291.1Sitojun 1301.1Sitojun# These options enable verbose messages for several subsystems. 1311.1Sitojun# Warning, these may compile large string tables into the kernel! 1321.1Sitojun#options PCIVERBOSE # verbose PCI device autoconfig messages 1331.12Scgd#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1341.1Sitojunoptions PCMCIAVERBOSE # verbose PCMCIA configuration messages 1351.1Sitojunoptions SCSIVERBOSE # human readable SCSI error messages 1361.1Sitojun#options USBVERBOSE # verbose USB device autoconfig messages 1371.1Sitojun 1381.1Sitojun# Kernel root file system and dump configuration. 1391.1Sitojunconfig netbsd root on ? type ? 1401.1Sitojun 1411.1Sitojun# 1421.1Sitojun# Device configuration 1431.1Sitojun# 1441.1Sitojun 1451.1Sitojunmainbus0 at root 1461.1Sitojun 1471.1Sitojunshb* at mainbus? 1481.9Smsaitoh 1491.36Suchcom0 at mainbus? 1501.36Suchcom1 at mainbus? 1511.1Sitojun 1521.1Sitojun# SH PCMCIA controllers 1531.36Suchmmeyepcmcia0 at mainbus? 1541.36Suchmmeyepcmcia1 at mainbus? 1551.1Sitojun 1561.1Sitojun# PCMCIA bus support 1571.36Suchpcmcia* at mmeyepcmcia? controller ? socket ? 1581.1Sitojun 1591.1Sitojuncom* at pcmcia? function ? # Modems and serial cards 1601.1Sitojunwdc* at pcmcia? function ? 1611.1Sitojunwd* at wdc? drive ? # the drives themselves 1621.1Sitojun 1631.1Sitojunep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 1641.1Sitojunmbe* at pcmcia? function ? # MB8696x based Ethernet 1651.1Sitojunne* at pcmcia? function ? # NE2000-compatible Ethernet 1661.1Sitojunsm* at pcmcia? function ? # Megahertz Ethernet 1671.1Sitojun 1681.1Sitojun# Pseudo-Devices 1691.1Sitojun 1701.1Sitojunpseudo-device ccd 4 # concatenated/striped disk devices 1711.31Soster#pseudo-device raid 8 # RAIDframe disk driver 1721.11Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 1731.31Soster# Options to enable various other RAIDframe RAID types. 1741.31Soster# options RF_INCLUDE_EVENODD=1 1751.31Soster# options RF_INCLUDE_RAID5_RS=1 1761.31Soster# options RF_INCLUDE_PARITYLOGGING=1 1771.31Soster# options RF_INCLUDE_CHAINDECLUSTER=1 1781.31Soster# options RF_INCLUDE_INTERDECLUSTER=1 1791.31Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 1801.31Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 1811.1Sitojunpseudo-device vnd 4 # disk-like interface to files 1821.1Sitojunpseudo-device bpfilter 8 # Berkeley packet filter 1831.1Sitojunpseudo-device ipfilter # IP filter (firewall) and NAT 1841.1Sitojunpseudo-device loop # network loopback 1851.1Sitojunpseudo-device ppp 2 # Point-to-Point Protocol 1861.30Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 1871.1Sitojunpseudo-device sl 2 # Serial Line IP 1881.1Sitojunpseudo-device strip 2 # Starmode Radio IP (Metricom) 1891.1Sitojunpseudo-device tun 2 # network tunneling over tty 1901.1Sitojunpseudo-device gre 2 # generic L3 over IP tunnel 1911.5Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 1921.5Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 1931.13Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 1941.21Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 1951.28Satatatpseudo-device bridge # simple inter-network bridging 1961.19Sjdolecekpseudo-device pty # pseudo-terminals 1971.1Sitojunpseudo-device rnd # /dev/random and in-kernel generator 1981.1Sitojunpseudo-device vcoda 4 # coda minicache <-> venus comm. 1991.1Sitojun#pseudo-device md 1 # memory disk device (ramdisk) 2001.40Slukempseudo-device clockctl # user control of clock subsystem 2011.1Sitojun 2021.1Sitojun# Enable the hooks used for initializing the root memory-disk. 2031.1Sitojun#options MEMORY_DISK_HOOKS 2041.1Sitojun#options MEMORY_DISK_IS_ROOT # force root on memory disk 2051.1Sitojun#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 2061.37Slukem#options MEMORY_DISK_ROOT_SIZE=3074 # size of memory disk, in blocks 207