GENERIC revision 1.4
11.4Sdarcy# $NetBSD: GENERIC,v 1.4 2001/06/30 11:00:35 darcy Exp $ 21.1Smatt# 31.1Smatt# GENERIC -- Netwinder Architecture Kernel 41.1Smatt# 51.1Smatt 61.1Smattinclude "arch/netwinder/conf/std.netwinder" 71.1Smatt 81.1Smatt# estimated number of users 91.1Smatt 101.1Smattmaxusers 32 111.1Smatt 121.1Smatt# Standard system options 131.1Smatt 141.1Smattoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 151.1Smatt#options NTP # NTP phase/frequency locked loop 161.1Smatt 171.1Smatt# CPU options 181.1Smatt 191.1Smatt# For StrongARM systems 201.1Smattoptions CPU_SA110 # Support the SA110 core 211.1Smattmakeoptions COPTS="-O2 -march=armv4 -mtune=strongarm" 221.1Smatt 231.1Smatt# Architecture options 241.1Smattoptions FOOTBRIDGE # We have DC21285 'Footbridge' core logic 251.1Smattoptions NETWINDER # We are a NETWINDER 261.1Smatt 271.1Smatt# FPA options 281.1Smatt 291.1Smatt#options ARMFPE # ARM Ltd FPE 301.1Smatt 311.1Smatt# File systems 321.1Smatt 331.1Smattfile-system FFS # UFS 341.1Smatt#file-system LFS # log-structured file system 351.1Smattfile-system MFS # memory file system 361.1Smattfile-system NFS # Network file system 371.1Smatt#file-system ADOSFS # AmigaDOS-compatible file system 381.1Smattfile-system EXT2FS # second extended file system (linux) 391.1Smatt#file-system CD9660 # ISO 9660 + Rock Ridge file system 401.1Smattfile-system MSDOSFS # MS-DOS file system 411.1Smatt#file-system FDESC # /dev/fd 421.1Smatt#file-system KERNFS # /kern 431.1Smattfile-system NULLFS # loopback file system 441.1Smatt#file-system PORTAL # portal filesystem (still experimental) 451.1Smatt#file-system PROCFS # /proc 461.1Smatt#file-system UMAPFS # NULLFS + uid and gid remapping 471.1Smatt#file-system UNION # union file system 481.1Smatt 491.1Smatt# File system options 501.1Smatt#options QUOTA # UFS quotas 511.1Smatt#options FFS_EI # FFS Endian Independant support 521.1Smattoptions NFSSERVER 531.3Smattoptions SOFTDEP 541.1Smatt 551.1Smatt# Networking options 561.1Smatt 571.1Smatt#options GATEWAY # packet forwarding 581.1Smattoptions INET # IP + ICMP + TCP + UDP 591.1Smattoptions INET6 # IPV6 601.1Smatt#options IPSEC # IP security 611.1Smatt#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 621.1Smatt#options IPSEC_DEBUG # debug for IP security 631.1Smatt#options MROUTING # IP multicast routing 641.1Smatt#options NS # XNS 651.1Smatt#options NSIP # XNS tunneling over IP 661.1Smatt#options ISO,TPIP # OSI 671.1Smatt#options EON # OSI tunneling over IP 681.1Smatt#options CCITT,LLC,HDLC # X.25 691.1Smatt#options NETATALK # AppleTalk networking 701.1Smatt#options PFIL_HOOKS # pfil(9) packet filter hooks 711.1Smatt#options PPP_BSDCOMP # BSD-Compress compression support for PPP 721.1Smatt#options PPP_DEFLATE # Deflate compression support for PPP 731.1Smatt#options PPP_FILTER # Active filter support for PPP (requires bpf) 741.1Smatt 751.1Smattoptions NFS_BOOT_BOOTP 761.1Smattoptions NFS_BOOT_DHCP 771.1Smatt#options NFS_BOOT_BOOTPARAM 781.1Smatt 791.1Smatt# Compatibility options 801.1Smatt 811.1Smatt#options COMPAT_43 # 4.3BSD compatibility. 821.2Smattoptions COMPAT_15 # NetBSD 1.5 compatibility. 831.1Smattoptions COMPAT_14 # NetBSD 1.4 compatibility. 841.1Smatt#options COMPAT_13 # NetBSD 1.3 compatibility. 851.1Smatt#options COMPAT_12 # NetBSD 1.2 compatibility. 861.1Smatt#options COMPAT_11 # NetBSD 1.1 compatibility. 871.1Smatt#options COMPAT_10 # NetBSD 1.0 compatibility. 881.1Smatt#options COMPAT_09 # NetBSD 0.9 compatibility. 891.1Smatt#options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD 901.1Smatt 911.1Smatt# Shared memory options 921.1Smatt 931.1Smattoptions SYSVMSG # System V-like message queues 941.1Smattoptions SYSVSEM # System V-like semaphores 951.4Sdarcy#options SEMMNI=10 # number of semaphore identifiers 961.4Sdarcy#options SEMMNS=60 # number of semaphores in system 971.4Sdarcy#options SEMUME=10 # max number of undo entries per process 981.4Sdarcy#options SEMMNU=30 # number of undo structures in system 991.1Smattoptions SYSVSHM # System V-like memory sharing 1001.1Smattoptions SHMMAXPGS=1024 # 1024 pages is the default 1011.1Smatt 1021.1Smatt# Device options 1031.1Smatt 1041.2Smatt#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 1051.1Smatt#options MEMORY_DISK_SIZE=0 # Size in blocks 1061.1Smatt#options MINIROOTSIZE=3400 # Size in blocks 1071.1Smatt#options MEMORY_DISK_IS_ROOT # use memory disk as root 1081.1Smatt 1091.1Smatt# Miscellaneous kernel options 1101.1Smattoptions KTRACE # system call tracing, a la ktrace(1) 1111.1Smattoptions IRQSTATS # manage IRQ statistics 1121.1Smatt#options LKM # loadable kernel modules 1131.1Smatt#options KMEMSTATS # kernel memory statistics 1141.1Smatt#options SCSIVERBOSE # Verbose SCSI errors 1151.3Smattoptions PCIVERBOSE # Verbose PCI descriptions 1161.3Smattoptions MIIVERBOSE # Verbose MII autoconfuration messages 1171.2Smatt#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1181.1Smatt#options DDB_KEYCODE=0x40 1191.1Smatt 1201.1Smatt# Development and Debugging options 1211.1Smatt 1221.1Smatt#options ARM700BUGTRACK # track the ARM700 swi bug 1231.1Smatt#options PORTMASTER # Enable PortMaster only options 1241.1Smattoptions DIAGNOSTIC # internally consistency checks 1251.1Smatt#options PMAP_DEBUG # Enable pmap_debug_level code 1261.1Smatt#options IPKDB # remote kernel debugging 1271.1Smattoptions DDB # in-kernel debugger 1281.1Smattoptions DDB_HISTORY_SIZE=100 # Enable history editing in DDB 1291.2Smatt#makeoptions DEBUG="-g" # compile full symbol table 1301.1Smatt 1311.1Smattconfig netbsd root on ? type ? 1321.1Smatt 1331.1Smatt# The main bus device 1341.2Smattmainbus0 at root 1351.1Smatt 1361.1Smatt# The boot cpu 1371.2Smattcpu0 at mainbus? 1381.1Smatt 1391.1Smatt# Core logic 1401.1Smattfootbridge0 at mainbus? 1411.1Smatt 1421.1Smatt# footbridge uart 1431.2Smatt#fcom0 at footbridge? 1441.1Smatt 1451.1Smatt# system clock via footbridge 1461.2Smatt#clock* at footbridge? 1471.1Smatt 1481.1Smatt# time-of-day device via footbridge 1491.1Smatttodclock0 at footbridge? 1501.1Smatt 1511.1Smatt# PCI bus via footbridge 1521.2Smattpci0 at footbridge? # PCI bus 1531.1Smatt 1541.1Smatt# ISA bus support 1551.2Smattpcib* at pci? dev ? function ? # ISA bridge 1561.2Smattisa* at pcib? 1571.1Smatt 1581.1Smatt 1591.1Smatt# PCI IDE Controllers and Devices 1601.1Smatt# PCI IDE controllers - see pciide(4) for supported hardware. 1611.1Smatt# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 1621.1Smatt# how to set up DMA modes for this chip. This may work, or may cause 1631.1Smatt# a machine hang with some controllers. 1641.2Smattpciide* at pci? dev ? function ? flags 0x0000 1651.1Smatt 1661.1Smatt# IDE drives 1671.1Smatt# Flags are used only with controllers that support DMA operations 1681.1Smatt# and mode settings (e.g. some pciide controllers) 1691.1Smatt# The lowest order four bits (rightmost digit) of the flags define the PIO 1701.1Smatt# mode to use, the next set of four bits the DMA mode and the third set the 1711.1Smatt# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 1721.1Smatt# to use, and the last bit must be 1 for this setting to be used. 1731.1Smatt# For DMA and UDMA, 0xf (1111) means 'disable'. 1741.1Smatt# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 1751.1Smatt# (0xc=1100, 0xa=1010, 0xf=1111) 1761.1Smatt# 0x0000 means "use whatever the drive claims to support". 1771.2Smattwd* at pciide? channel ? drive ? flags 0x0000 # the drives themselves 1781.1Smatt 1791.1Smatt# PCI network interfaces 1801.2Smatt#de* at pci? dev ? function ? # DC21X4X-based ethernet cards 1811.2Smattne* at pci? dev ? function ? # NE2000 compat ethernet 1821.2Smatttlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet 1831.1Smattoptions TLP_MATCH_21142 1841.1Smatt 1851.1Smatt# MII/PHY support 1861.2Smattlxtphy* at mii? phy ? # Level One LXT-970 PHYs 1871.2Smattukphy* at mii? phy ? # generic unknown PHYs 1881.1Smatt 1891.1Smatt# WSCONS Support 1901.1Smattoptions WSEMUL_VT100 # VT100 / VT220 emulation 1911.1Smattoptions WS_KERNEL_FG=WSCOL_GREEN 1921.2Smattpckbc0 at isa? 1931.1Smattpckbd* at pckbc? 1941.1Smattwskbd* at pckbd? console ? 1951.1Smattpms* at pckbc? 1961.1Smattwsmouse* at pms? mux 0 1971.1Smattpmsi* at pckbc? 1981.1Smattwsmouse* at pmsi? mux 0 1991.1Smatt 2001.1Smattvga* at pci? dev ? function ? 2011.1Smattwsdisplay* at vga? console ? 2021.1Smatt 2031.1Smatt# ISA Devices 2041.1Smattcom0 at isa? port 0x3f8 irq 4 2051.2Smattlpt0 at isa? port 0x378 irq 7 2061.1Smatt 2071.1Smatt 2081.1Smatt# Audio Devices 2091.1Smatt 2101.2Smatt# ISA audio devices 2111.2Smattsb0 at isa? port 0x220 irq 3 drq 1 drq2 7 # SoundBlaster 2121.2Smattopl* at sb? 2131.2Smattmpu* at sb? 2141.2Smattmidi* at sb? # SB1 MIDI port 2151.1Smatt 2161.1Smatt# Audio support 2171.2Smattaudio* at sb? 2181.1Smatt 2191.1Smatt# Pseudo-Devices 2201.1Smatt 2211.1Smatt# disk/mass storage pseudo-devices 2221.2Smatt#pseudo-device md 1 # memory disk device (ramdisk) 2231.1Smattpseudo-device vnd 4 # disk-like interface to files 2241.1Smatt 2251.1Smatt# network pseudo-devices 2261.1Smattpseudo-device bpfilter 4 # Berkeley packet filter 2271.1Smattpseudo-device loop # network loopback 2281.1Smatt 2291.1Smatt# miscellaneous pseudo-devices 2301.1Smattpseudo-device pty # pseudo-terminals 2311.1Smattpseudo-device rnd # /dev/random and in-kernel generator 232