GENERIC revision 1.55
1# $NetBSD: GENERIC,v 1.55 2011/03/06 17:08:30 bouyer Exp $ 2# 3# machine description file for GENERIC NAS 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/sandpoint/conf/std.sandpoint" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.55 $" 26 27maxusers 32 28 29#options ALTIVEC # Include AltiVec support 30 31#options IPKDBUSERHACK # Allow access to mapped memory via kgdb 32#options DEBUG_BY_TOOLS # Allow debugging from toolsnet 33# HMAC key to be used for debugging sessions 34#options IPKDBKEY="\"HMAC pass phrase text\"" 35#options IPKDBSECURE # Allow debugging even when securelevel > 0 36#makeoptions DEBUG="-g" 37 38#options MODULAR # module(7) support 39 40#options DEBUG 41options DIAGNOSTIC 42options TRAP_PANICWAIT 43options DDB 44#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 45options KTRACE 46#options PMAPCHECK 47#options PMAPDEBUG 48#options SYMTAB_SPACE=300000 49#options USERCONF # userconf(4) support 50#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 51options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 52 53# Compatibility options 54options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 55options COMPAT_09 # NetBSD 0.9 56options COMPAT_10 # NetBSD 1.0 57options COMPAT_11 # NetBSD 1.1 58options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI 59options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI 60options COMPAT_14 # NetBSD 1.4 61options COMPAT_15 # NetBSD 1.5 62options COMPAT_16 # NetBSD 1.6 63options COMPAT_20 # NetBSD 2.0 64options COMPAT_30 # NetBSD 3.0 65options COMPAT_40 # NetBSD 4.0 66options COMPAT_50 # NetBSD 5.0 compatibility. 67options COMPAT_43 # 4.3BSD, 386BSD, and BSDI 68#options COMPAT_386BSD_MBRPART # recognize old partition ID 69#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 70 71options COMPAT_LINUX # binary compatibility with Linux 72options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 73 74options MSGBUFSIZE=65536 75 76file-system FFS # UFS 77file-system EXT2FS # second extended file system (linux) 78#file-system LFS # log-structured file system 79file-system MFS # memory file system 80file-system NFS # Network File System client 81#file-system NTFS # Windows/NT file system (experimental) 82#file-system CD9660 # ISO 9660 + Rock Ridge file system 83file-system MSDOSFS # MS-DOS file system 84file-system FDESC # /dev/fd 85file-system KERNFS # /kern 86file-system NULLFS # loopback file system 87#file-system OVERLAY # overlay file system 88file-system PROCFS # /proc 89#file-system UMAPFS # NULLFS + uid and gid remapping 90#file-system UNION # union file system 91#file-system CODA # Coda File System; also needs vcoda (below) 92#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 93file-system PTYFS # /dev/ptm support 94file-system TMPFS # Efficient memory file-system 95 96# File system options 97options QUOTA # legacy UFS quotas 98options QUOTA2 # new, in-filesystem UFS quotas 99#options FFS_EI # FFS Endian Independent support 100options WAPBL # File system journaling support - Experimental 101options NFSSERVER # Network File System server 102#options FFS_NO_SNAPSHOT # No FFS snapshot support 103#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 104 105options INET 106options INET6 # IPV6 107#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 108 109#options ALTQ # Manipulate network interfaces' output queues 110#options ALTQ_BLUE # Stochastic Fair Blue 111#options ALTQ_CBQ # Class-Based Queueing 112#options ALTQ_CDNR # Diffserv Traffic Conditioner 113#options ALTQ_FIFOQ # First-In First-Out Queue 114#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 115#options ALTQ_HFSC # Hierarchical Fair Service Curve 116#options ALTQ_LOCALQ # Local queueing discipline 117#options ALTQ_PRIQ # Priority Queueing 118#options ALTQ_RED # Random Early Detection 119#options ALTQ_RIO # RED with IN/OUT 120#options ALTQ_WFQ # Weighted Fair Queueing 121 122options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP 123 124config netbsd root on ? type ? 125 126# network pseudo-devices 127pseudo-device bpfilter # packet filter 128pseudo-device vlan # IEEE 802.1q encapsulation 129#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 130#pseudo-device bridge # simple inter-network bridging 131#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 132#pseudo-device ipfilter 133pseudo-device loop 134 135# miscellaneous pseudo-devices 136pseudo-device rnd # /dev/random and in-kernel generator 137pseudo-device vnd 138#options VND_COMPRESSION # compressed vnd(4) 139#pseudo-device cgd 4 # cryptographic disk devices 140pseudo-device pty 141pseudo-device clockctl # user control of clock subsystem 142pseudo-device ksyms # /dev/ksyms 143#pseudo-device pf # PF packet filter 144#pseudo-device pflog # PF log if 145pseudo-device fss # file system snapshot device 146 147# 148# device 149# 150options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 151 152#options PCIVERBOSE # verbose PCI device messages 153#options PCI_CONFIG_DUMP # verbosely dump PCI config space 154#options PCI_NETBSD_CONFIGURE # Have NetBSD configure PCI I/O & Mem 155 156mainbus0 at root 157 158cpu* at mainbus0 159pci* at mainbus0 bus ? 160 161pchb* at pci? dev ? function ? # PCI host bridge 162 163eumb* at mainbus0 164com0 at eumb? unit 0 # console at 0x4500 165#com1 at eumb? unit 1 166satmgr0 at eumb? unit 1 # satmgr at 0x4600 167ociic* at eumb? 168iic* at ociic? 169rs5c372rtc* at iic? addr 0x32 170#dsrtc* at iic? addr 0x68 171 172# PCI IDE controllers - see pciide(4) for supported hardware. 173cmdide* at pci? dev ? function ? # CMD tech IDE controllers 174iteide* at pci? dev ? function ? # IT Express IDE controllers 175satalink* at pci? dev ? function ? # SiI SATALink controllers 176 177# ATA (IDE) bus support 178atabus* at ata? 179 180# IDE drives 181wd* at atabus? drive ? flags 0x0000 # the drives themselves 182 183# PCI network interfaces 184tlp* at pci? dev ? function ? # DEC Tulip and similar 185re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S 186skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet 187sk* at skc? # Marvell Yukon Gigabit Ethernet 188wm* at pci? dev ? function ? # Intel 8254x gigabit 189fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 190 191inphy* at mii? phy ? # Intel 82555 PHYs 192nsphy* at mii? phy ? # NS83840 PHYs 193rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 194makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 195ukphy* at mii? phy ? # generic unknown PHYs 196 197# USB Controller and Devices 198ehci* at pci? dev ? function ? # Enhanced Host Controller 199ohci* at pci? dev ? function ? # Open Host Controller 200 201# USB bus support 202usb* at ehci? 203usb* at ohci? 204 205# USB Hubs 206uhub* at usb? 207uhub* at uhub? port ? 208 209# USB HID devices 210uhidev* at uhub? port ? configuration ? interface ? # USB HID device 211uthum* at uhidev? reportid ? # TEMPerHUM sensors 212uhid* at uhidev? reportid ? # USB Generic HID 213 214# USB video 215uvideo* at uhub? # USB Video Class capture devices 216video* at videobus? 217 218# USB printer 219ulpt* at uhub? port ? configuration ? interface ? # USB Printer 220 221# USB Mass Storage 222umass* at uhub? port ? configuration ? interface ? 223wd* at umass? 224 225scsibus* at umass? 226sd* at scsibus? target ? lun ? # SCSI disk drives 227 228# Veriexec 229# 230# a pseudo device needed for veriexec 231#pseudo-device veriexec 1 232# 233# Uncomment the fingerprint methods below that are desired. Note that 234# removing fingerprint methods will have almost no impact on the kernel 235# code size. 236# 237#options VERIFIED_EXEC_FP_RMD160 238#options VERIFIED_EXEC_FP_SHA256 239#options VERIFIED_EXEC_FP_SHA384 240#options VERIFIED_EXEC_FP_SHA512 241#options VERIFIED_EXEC_FP_SHA1 242#options VERIFIED_EXEC_FP_MD5 243