GENERIC revision 1.21
11.21Sgmcgarry# $NetBSD: GENERIC,v 1.21 2002/04/12 08:11:11 gmcgarry Exp $ 21.1Smatt# 31.11Sgmcgarry# GENERIC machine description file 41.11Sgmcgarry# 51.11Sgmcgarry# This machine description file is used to generate the default NetBSD 61.11Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.11Sgmcgarry# and device drivers, but should be useful for most applications. 81.1Smatt# 91.11Sgmcgarry# The machine description file can be customised for your specific 101.11Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.11Sgmcgarry# 121.11Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.11Sgmcgarry# man page. 141.11Sgmcgarry# 151.11Sgmcgarry# For further information on hardware support for this architecture, see 161.11Sgmcgarry# the intro(4) man page. For further information about kernel options 171.11Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.11Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.11Sgmcgarry# device. 201.1Smatt 211.11Sgmcgarryinclude "arch/netwinder/conf/std.netwinder" 221.1Smatt 231.1Smatt# estimated number of users 241.1Smatt 251.1Smattmaxusers 32 261.1Smatt 271.1Smatt# Standard system options 281.1Smatt 291.1Smattoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 301.1Smatt#options NTP # NTP phase/frequency locked loop 311.1Smatt 321.1Smatt# CPU options 331.1Smatt 341.1Smatt# For StrongARM systems 351.1Smattoptions CPU_SA110 # Support the SA110 core 361.1Smattmakeoptions COPTS="-O2 -march=armv4 -mtune=strongarm" 371.1Smatt 381.1Smatt# FPA options 391.1Smatt 401.1Smatt#options ARMFPE # ARM Ltd FPE 411.1Smatt 421.1Smatt# File systems 431.1Smatt 441.1Smattfile-system FFS # UFS 451.1Smatt#file-system LFS # log-structured file system 461.1Smattfile-system MFS # memory file system 471.1Smattfile-system NFS # Network file system 481.1Smatt#file-system ADOSFS # AmigaDOS-compatible file system 491.1Smattfile-system EXT2FS # second extended file system (linux) 501.1Smatt#file-system CD9660 # ISO 9660 + Rock Ridge file system 511.1Smattfile-system MSDOSFS # MS-DOS file system 521.18Sthorpejfile-system FDESC # /dev/fd 531.18Sthorpejfile-system KERNFS # /kern 541.1Smattfile-system NULLFS # loopback file system 551.1Smatt#file-system PORTAL # portal filesystem (still experimental) 561.18Sthorpejfile-system PROCFS # /proc 571.1Smatt#file-system UMAPFS # NULLFS + uid and gid remapping 581.1Smatt#file-system UNION # union file system 591.1Smatt 601.1Smatt# File system options 611.1Smatt#options QUOTA # UFS quotas 621.1Smatt#options FFS_EI # FFS Endian Independant support 631.1Smattoptions NFSSERVER 641.3Smattoptions SOFTDEP 651.1Smatt 661.1Smatt# Networking options 671.1Smatt 681.1Smatt#options GATEWAY # packet forwarding 691.1Smattoptions INET # IP + ICMP + TCP + UDP 701.1Smattoptions INET6 # IPV6 711.1Smatt#options IPSEC # IP security 721.1Smatt#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 731.1Smatt#options IPSEC_DEBUG # debug for IP security 741.1Smatt#options MROUTING # IP multicast routing 751.1Smatt#options NS # XNS 761.1Smatt#options NSIP # XNS tunneling over IP 771.1Smatt#options ISO,TPIP # OSI 781.1Smatt#options EON # OSI tunneling over IP 791.1Smatt#options CCITT,LLC,HDLC # X.25 801.1Smatt#options NETATALK # AppleTalk networking 811.1Smatt#options PFIL_HOOKS # pfil(9) packet filter hooks 821.1Smatt#options PPP_BSDCOMP # BSD-Compress compression support for PPP 831.1Smatt#options PPP_DEFLATE # Deflate compression support for PPP 841.1Smatt#options PPP_FILTER # Active filter support for PPP (requires bpf) 851.5Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 861.1Smatt 871.1Smattoptions NFS_BOOT_BOOTP 881.1Smattoptions NFS_BOOT_DHCP 891.1Smatt#options NFS_BOOT_BOOTPARAM 901.1Smatt 911.1Smatt# Compatibility options 921.1Smatt 931.1Smatt#options COMPAT_43 # 4.3BSD compatibility. 941.2Smattoptions COMPAT_15 # NetBSD 1.5 compatibility. 951.1Smattoptions COMPAT_14 # NetBSD 1.4 compatibility. 961.1Smatt#options COMPAT_13 # NetBSD 1.3 compatibility. 971.1Smatt#options COMPAT_12 # NetBSD 1.2 compatibility. 981.1Smatt#options COMPAT_11 # NetBSD 1.1 compatibility. 991.1Smatt#options COMPAT_10 # NetBSD 1.0 compatibility. 1001.1Smatt#options COMPAT_09 # NetBSD 0.9 compatibility. 1011.5Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 1021.1Smatt 1031.19Sthorpejoptions COMPAT_LINUX # binary compatibility with Linux 1041.19Sthorpej 1051.1Smatt# Shared memory options 1061.1Smatt 1071.1Smattoptions SYSVMSG # System V-like message queues 1081.1Smattoptions SYSVSEM # System V-like semaphores 1091.9Slukem#options SEMMNI=10 # number of semaphore identifiers 1101.9Slukem#options SEMMNS=60 # number of semaphores in system 1111.9Slukem#options SEMUME=10 # max number of undo entries per process 1121.9Slukem#options SEMMNU=30 # number of undo structures in system 1131.1Smattoptions SYSVSHM # System V-like memory sharing 1141.1Smattoptions SHMMAXPGS=1024 # 1024 pages is the default 1151.1Smatt 1161.1Smatt# Device options 1171.1Smatt 1181.2Smatt#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 1191.16Slukem#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 1201.1Smatt#options MEMORY_DISK_IS_ROOT # use memory disk as root 1211.1Smatt 1221.1Smatt# Miscellaneous kernel options 1231.1Smattoptions KTRACE # system call tracing, a la ktrace(1) 1241.1Smattoptions IRQSTATS # manage IRQ statistics 1251.1Smatt#options LKM # loadable kernel modules 1261.1Smatt#options KMEMSTATS # kernel memory statistics 1271.1Smatt#options SCSIVERBOSE # Verbose SCSI errors 1281.3Smattoptions PCIVERBOSE # Verbose PCI descriptions 1291.3Smattoptions MIIVERBOSE # Verbose MII autoconfuration messages 1301.2Smatt#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1311.1Smatt#options DDB_KEYCODE=0x40 1321.21Sgmcgarry#options USERCONF # userconf(4) support 1331.13Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 1341.1Smatt 1351.1Smatt# Development and Debugging options 1361.1Smatt 1371.1Smatt#options ARM700BUGTRACK # track the ARM700 swi bug 1381.1Smatt#options PORTMASTER # Enable PortMaster only options 1391.1Smattoptions DIAGNOSTIC # internally consistency checks 1401.9Slukem#options PMAP_DEBUG # Enable pmap_debug_level code 1411.1Smatt#options IPKDB # remote kernel debugging 1421.1Smattoptions DDB # in-kernel debugger 1431.1Smattoptions DDB_HISTORY_SIZE=100 # Enable history editing in DDB 1441.17Sthorpejmakeoptions DEBUG="-g" # compile full symbol table 1451.19Sthorpejoptions SYMTAB_SPACE=230000 1461.1Smatt 1471.1Smattconfig netbsd root on ? type ? 1481.1Smatt 1491.1Smatt# The main bus device 1501.2Smattmainbus0 at root 1511.1Smatt 1521.1Smatt# The boot cpu 1531.2Smattcpu0 at mainbus? 1541.1Smatt 1551.1Smatt# Core logic 1561.1Smattfootbridge0 at mainbus? 1571.1Smatt 1581.1Smatt# footbridge uart 1591.2Smatt#fcom0 at footbridge? 1601.1Smatt 1611.1Smatt# system clock via footbridge 1621.2Smatt#clock* at footbridge? 1631.1Smatt 1641.1Smatt# time-of-day device via footbridge 1651.1Smatttodclock0 at footbridge? 1661.1Smatt 1671.1Smatt# PCI bus via footbridge 1681.2Smattpci0 at footbridge? # PCI bus 1691.1Smatt 1701.1Smatt# ISA bus support 1711.2Smattpcib* at pci? dev ? function ? # ISA bridge 1721.2Smattisa* at pcib? 1731.1Smatt 1741.1Smatt 1751.1Smatt# PCI IDE Controllers and Devices 1761.1Smatt# PCI IDE controllers - see pciide(4) for supported hardware. 1771.1Smatt# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 1781.1Smatt# how to set up DMA modes for this chip. This may work, or may cause 1791.1Smatt# a machine hang with some controllers. 1801.2Smattpciide* at pci? dev ? function ? flags 0x0000 1811.1Smatt 1821.1Smatt# IDE drives 1831.1Smatt# Flags are used only with controllers that support DMA operations 1841.1Smatt# and mode settings (e.g. some pciide controllers) 1851.1Smatt# The lowest order four bits (rightmost digit) of the flags define the PIO 1861.1Smatt# mode to use, the next set of four bits the DMA mode and the third set the 1871.1Smatt# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 1881.1Smatt# to use, and the last bit must be 1 for this setting to be used. 1891.1Smatt# For DMA and UDMA, 0xf (1111) means 'disable'. 1901.1Smatt# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 1911.1Smatt# (0xc=1100, 0xa=1010, 0xf=1111) 1921.1Smatt# 0x0000 means "use whatever the drive claims to support". 1931.2Smattwd* at pciide? channel ? drive ? flags 0x0000 # the drives themselves 1941.1Smatt 1951.1Smatt# PCI network interfaces 1961.2Smattne* at pci? dev ? function ? # NE2000 compat ethernet 1971.2Smatttlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet 1981.1Smattoptions TLP_MATCH_21142 1991.1Smatt 2001.1Smatt# MII/PHY support 2011.14Swizicsphy* at mii? phy ? # ISC-189x PHYs 2021.2Smattukphy* at mii? phy ? # generic unknown PHYs 2031.1Smatt 2041.1Smatt# WSCONS Support 2051.1Smattoptions WSEMUL_VT100 # VT100 / VT220 emulation 2061.1Smattoptions WS_KERNEL_FG=WSCOL_GREEN 2071.2Smattpckbc0 at isa? 2081.1Smattpckbd* at pckbc? 2091.1Smattwskbd* at pckbd? console ? 2101.1Smattpms* at pckbc? 2111.1Smattwsmouse* at pms? mux 0 2121.1Smattpmsi* at pckbc? 2131.1Smattwsmouse* at pmsi? mux 0 2141.1Smatt 2151.1Smattvga* at pci? dev ? function ? 2161.1Smattwsdisplay* at vga? console ? 2171.1Smatt 2181.1Smatt# ISA Devices 2191.1Smattcom0 at isa? port 0x3f8 irq 4 2201.2Smattlpt0 at isa? port 0x378 irq 7 2211.1Smatt 2221.1Smatt 2231.1Smatt# Audio Devices 2241.1Smatt 2251.2Smatt# ISA audio devices 2261.2Smattsb0 at isa? port 0x220 irq 3 drq 1 drq2 7 # SoundBlaster 2271.2Smattopl* at sb? 2281.2Smattmpu* at sb? 2291.2Smattmidi* at sb? # SB1 MIDI port 2301.1Smatt 2311.1Smatt# Audio support 2321.2Smattaudio* at sb? 2331.1Smatt 2341.1Smatt# Pseudo-Devices 2351.1Smatt 2361.1Smatt# disk/mass storage pseudo-devices 2371.2Smatt#pseudo-device md 1 # memory disk device (ramdisk) 2381.1Smattpseudo-device vnd 4 # disk-like interface to files 2391.1Smatt 2401.1Smatt# network pseudo-devices 2411.1Smattpseudo-device bpfilter 4 # Berkeley packet filter 2421.12Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2431.10Satatatpseudo-device bridge # simple inter-network bridging 2441.1Smattpseudo-device loop # network loopback 2451.1Smatt 2461.1Smatt# miscellaneous pseudo-devices 2471.1Smattpseudo-device pty # pseudo-terminals 2481.1Smattpseudo-device rnd # /dev/random and in-kernel generator 249