GENERIC revision 1.31
1# $NetBSD: GENERIC,v 1.31 2006/08/14 06:22:34 skrll Exp $ 2# 3# GENERIC -- Generic kernel 4# 5 6include "arch/iyonix/conf/std.iyonix" 7 8options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9options MSGBUFSIZE=65536 10 11# Enable the hooks used for initializing the root memory-disk. 12#options MEMORY_DISK_IS_ROOT # use memory disk as root 13# options MEMORY_DISK_HOOKS 14# options MEMORY_DISK_SERVER=0 # no userspace memory disk support 15# options MEMORY_DISK_ROOT_SIZE=10000 # size of memory disk, in blocks 16 17# estimated number of users 18 19maxusers 32 20 21# Standard system options 22 23options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 24#options NTP # NTP phase/frequency locked loop 25 26# CPU options 27 28# For XScale systems 29options CPU_XSCALE_80321 # Support the XScale core 30makeoptions CPUFLAGS="-mcpu=xscale" 31 32# Architecture options 33options XSCALE_CACHE_READ_WRITE_ALLOCATE 34#options HZ=512 35 36# File systems 37 38file-system FFS # UFS 39#file-system LFS # log-structured file system 40file-system MFS # memory file system 41file-system NFS # Network file system 42#file-system ADOSFS # AmigaDOS-compatible file system 43#file-system EXT2FS # second extended file system (linux) 44file-system CD9660 # ISO 9660 + Rock Ridge file system 45#file-system MSDOSFS # MS-DOS file system 46#file-system FDESC # /dev/fd 47file-system FILECORE # Acorn filecore file system 48#file-system KERNFS # /kern 49#file-system NULLFS # loopback file system 50#file-system PORTAL # portal filesystem (still experimental) 51#file-system PROCFS # /proc 52#file-system UMAPFS # NULLFS + uid and gid remapping 53#file-system UNION # union file system 54file-system PTYFS # /dev/pts/N support 55#file-system TMPFS # experimental - Efficient memory file-system 56#file-system UDF # experimental - OSTA UDF CD/DVD file-system 57 58# File system options 59#options QUOTA # UFS quotas 60#options FFS_EI # FFS Endian Independant support 61#options NFSSERVER 62#options SOFTDEP 63#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 64options FFS_NO_SNAPSHOT # No FFS snapshot support 65 66# Networking options 67 68#options GATEWAY # packet forwarding 69options INET # IP + ICMP + TCP + UDP 70#options INET6 # IPV6 71#options IPSEC # IP security 72#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 73#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 74#options IPSEC_DEBUG # debug for IP security 75#options MROUTING # IP multicast routing 76#options NS # XNS 77#options NSIP # XNS tunneling over IP 78#options ISO,TPIP # OSI 79#options EON # OSI tunneling over IP 80#options CCITT,LLC,HDLC # X.25 81#options NETATALK # AppleTalk networking 82#options PFIL_HOOKS # pfil(9) packet filter hooks 83#options PPP_BSDCOMP # BSD-Compress compression support for PPP 84#options PPP_DEFLATE # Deflate compression support for PPP 85#options PPP_FILTER # Active filter support for PPP (requires bpf) 86#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 87 88options NFS_BOOT_BOOTP 89options NFS_BOOT_DHCP 90#options NFS_BOOT_BOOTPARAM 91 92# Compatibility options 93 94options COMPAT_16 # NetBSD 1.6 95options COMPAT_30 # NetBSD 3.0 compatibility. 96options COMPAT_20 # NetBSD 2.0 97#options COMPAT_43 # 4.3BSD compatibility. 98#options COMPAT_16 # NetBSD 1.6 compatibility. 99#options COMPAT_15 # NetBSD 1.5 compatibility. 100#options COMPAT_14 # NetBSD 1.4 compatibility. 101#options COMPAT_13 # NetBSD 1.3 compatibility. 102#options COMPAT_12 # NetBSD 1.2 compatibility. 103#options COMPAT_11 # NetBSD 1.1 compatibility. 104#options COMPAT_10 # NetBSD 1.0 compatibility. 105#options COMPAT_09 # NetBSD 0.9 compatibility. 106#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 107options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 108 109# Shared memory options 110 111#options SYSVMSG # System V-like message queues 112#options SYSVSEM # System V-like semaphores 113#options SEMMNI=10 # number of semaphore identifiers 114#options SEMMNS=60 # number of semaphores in system 115#options SEMUME=10 # max number of undo entries per process 116#options SEMMNU=30 # number of undo structures in system 117#options SYSVSHM # System V-like memory sharing 118#options SHMMAXPGS=1024 # 1024 pages is the default 119 120# Device options 121 122#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 123#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 124#options MEMORY_DISK_IS_ROOT # use memory disk as root 125 126# Console options. The default console is speed is 115200 baud. 127#options CONSPEED=9600 # Console speed 128 129# Miscellaneous kernel options 130options KTRACE # system call tracing, a la ktrace(1) 131options IRQSTATS # manage IRQ statistics 132#options LKM # loadable kernel modules 133#options KMEMSTATS # kernel memory statistics 134#options SCSIVERBOSE # Verbose SCSI errors 135options PCIVERBOSE # Verbose PCI descriptions 136options MIIVERBOSE # Verbose MII autoconfuration messages 137#options PCI_CONFIG_DUMP # verbosely dump PCI config space 138#options DDB_KEYCODE=0x40 139options USERCONF # userconf(4) support 140#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 141 142# Development and Debugging options 143 144options PERFCTRS # performance counters 145#options DIAGNOSTIC # internally consistency checks 146#options DEBUG 147#options PMAP_DEBUG # Enable pmap_debug_level code 148#options IPKDB # remote kernel debugging 149#options VERBOSE_INIT_ARM # verbose bootstraping messages 150options DDB # in-kernel debugger 151options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 152makeoptions DEBUG="-g" # compile full symbol table 153options SYMTAB_SPACE=280000 154 155##options PMAP_INCLUDE_PTE_SYNC 156##options LOCKDEBUG 157 158config netbsd root on ? type ? 159#config netbsd-wm0 root on wm0 type nfs 160#config netbsd-wd0 root on wd0 type ffs 161#config netbsd-sd0 root on sd0 type ffs 162 163# The main bus device 164mainbus0 at root 165 166# The boot cpu 167cpu0 at mainbus? 168 169# i80321 I/O Processor peripheral support 170iopxs* at mainbus? 171 172iopaau* at iopxs? # Application Accelerator Unit 173iopiic* at iopxs? # I2C Controller Unit(s) 174iic0 at iopiic? 175iic1 at iopiic? 176iopwdog* at iopxs? # Watchdog timer 177pci0 at iopxs? bus ? # PCI/PCI-X support 178 179# PCI bridges 180ppb* at pci? dev ? function ? 181pci* at ppb? bus ? 182 183# VGA 184#vga* at pci? dev ? function ? 185 186# IDE and related devices 187# PCI IDE controllers - see pciide(4) for supported hardware. 188# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 189# how to set up DMA modes for this chip. This may work, or may cause 190# a machine hang with some controllers. 191pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 192acardide* at pci? dev ? function ? # Acard IDE controllers 193aceride* at pci? dev ? function ? # Acer Lab IDE controllers 194artsata* at pci? dev ? function ? # Intel i31244 SATA controller 195cmdide* at pci? dev ? function ? # CMD tech IDE controllers 196cypide* at pci? dev ? function ? # Cypress IDE controllers 197hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 198optiide* at pci? dev ? function ? # Opti IDE controllers 199pdcide* at pci? dev ? function ? # Promise IDE controllers 200pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 201rccide* at pci? dev ? function ? # ServerWorks IDE controllers 202satalink* at pci? dev ? function ? # SiI SATALink controllers 203siside* at pci? dev ? function ? # SiS IDE controllers 204slide* at pci? dev ? function ? # Symphony Labs IDE controllers 205stpcide* at pci? dev ? function ? # STMicro STPC IDE controllers 206viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 207 208# ATA (IDE) bus support 209atabus* at ata? 210 211# IDE drives 212# Flags are used only with controllers that support DMA operations 213# and mode settings (e.g. some pciide controllers) 214# The lowest order four bits (rightmost digit) of the flags define the PIO 215# mode to use, the next set of four bits the DMA mode and the third set the 216# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 217# to use, and the last bit must be 1 for this setting to be used. 218# For DMA and UDMA, 0xf (1111) means 'disable'. 219# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 220# (0xc=1100, 0xa=1010, 0xf=1111) 221# 0x0000 means "use whatever the drive claims to support". 222wd* at atabus? drive ? flags 0x0000 223 224# ATA RAID configuration support, as found on some Promise controllers. 225pseudo-device ataraid 226ld* at ataraid? vendtype ? unit ? 227 228# ATAPI bus support 229atapibus* at atapi? 230 231# ATAPI devices 232# flags have the same meaning as for IDE drives. 233# XXX No DMA on IDE devices for now 234cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives 235sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 236st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 237uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 238 239# PCI network interfaces 240# an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) 241# ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11 242# atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11) 243# bce* at pci? dev ? function ? # Broadcom 4401 10/100 Ethernet 244# bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet 245# en* at pci? dev ? function ? # ENI/Adaptec ATM 246# ep* at pci? dev ? function ? # 3Com 3c59x 247# epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 248# esh* at pci? dev ? function ? # Essential HIPPI card 249# ex* at pci? dev ? function ? # 3Com 90x[BC] 250# fpa* at pci? dev ? function ? # DEC DEFPA FDDI 251# fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 252# gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 253#hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ 254# le* at pci? dev ? function ? # PCnet-PCI Ethernet 255# lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 256# mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet 257# ne* at pci? dev ? function ? # NE2000-compatible Ethernet 258# ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 259# pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 260# re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S 261rtk* at pci? dev ? function ? # Realtek 8129/8139 262# sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 263# sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 264# skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet 265# sk* at skc? # SysKonnect SK9821 Gigabit Ethernet 266# ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 267# stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 268# ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 269# tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 270# tlp* at pci? dev ? function ? # DECchip 21x4x and clones 271# vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 272# wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 273wm* at pci? dev ? function ? # Intel 8254x gigabit 274 275# MII/PHY support 276acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 277amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 278bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 279brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 280dmphy* at mii? phy ? # Davicom DM9101 PHYs 281exphy* at mii? phy ? # 3Com internal PHYs 282gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 283glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 284gphyter* at mii? phy ? # NS83861 Gig-E PHY 285icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 286igphy* at mii? phy ? # Intel IGP01E1000 287inphy* at mii? phy ? # Intel 82555 PHYs 288iophy* at mii? phy ? # Intel 82553 PHYs 289lxtphy* at mii? phy ? # Level One LXT-970 PHYs 290makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 291nsphy* at mii? phy ? # NS83840 PHYs 292nsphyter* at mii? phy ? # NS83843 PHYs 293pnaphy* at mii? phy ? # generic HomePNA PHYs 294qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 295sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 296tlphy* at mii? phy ? # ThunderLAN PHYs 297tqphy* at mii? phy ? # TDK Semiconductor PHYs 298ukphy* at mii? phy ? # generic unknown PHYs 299urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 300 301# USB Controller and Devices 302 303# PCI USB controllers 304# The EHCI is not ready for prime time. 305#ehci* at pci? dev ? function ? # Enhanced Host Controller 306ohci* at pci? dev ? function ? # Open Host Controller 307uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 308 309# CardBus USB controllers 310#ehci* at cardbus? function ? # Enhanced Host Controller 311#ohci* at cardbus? function ? # Open Host Controller 312 313# ISA USB controllers 314#slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS 315 316# USB bus support 317#usb* at ehci? 318usb* at ohci? 319usb* at uhci? 320#usb* at slhci? 321 322# USB Hubs 323# uhub* at usb? 324# uhub* at uhub? port ? configuration ? interface ? 325 326# USB HID device 327# uhidev* at uhub? port ? configuration ? interface ? 328 329# USB Mice 330# ums* at uhidev? reportid ? 331# wsmouse* at ums? mux 0 332 333# USB eGalax touch-panel 334# uep* at uhub? port ? 335# wsmouse* at uep? mux 0 336 337# USB Keyboards 338# ukbd* at uhidev? reportid ? 339# wskbd* at ukbd? console ? mux 1 340 341# USB serial adapter 342# ucycom* at uhidev? reportid ? 343 344# USB Generic HID devices 345# uhid* at uhidev? reportid ? 346 347# USB Printer 348# ulpt* at uhub? port ? configuration ? interface ? 349 350# USB Modem 351# umodem* at uhub? port ? configuration ? 352# ucom* at umodem? 353 354# USB Mass Storage 355# umass* at uhub? port ? configuration ? interface ? 356# scsibus* at umass? 357# wd* at umass? 358 359# USB audio 360# uaudio* at uhub? port ? configuration ? 361 362# USB MIDI 363# umidi* at uhub? port ? configuration ? 364 365# USB IrDA 366# USB-IrDA bridge spec 367# uirda* at uhub? port ? configuration ? interface ? 368# irframe* at uirda? 369 370# SigmaTel STIr4200 USB/IrDA Bridge 371# ustir* at uhub? port ? 372# irframe* at ustir? 373 374# USB Ethernet adapters 375# aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 376# axe* at uhub? port ? # ASIX AX88172 based adapters 377# cue* at uhub? port ? # CATC USB-EL1201A based adapters 378# kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 379# udav* at uhub? port ? # Davicom DM9601 based adapters 380# url* at uhub? port ? # Realtek RTL8150L based adapters 381 382# Prolific PL2301/PL2302 host-to-host adapter 383# upl* at uhub? port ? 384 385# Serial adapters 386# ubsa* at uhub? port ? # Belkin serial adapter 387# ucom* at ubsa? portno ? 388 389# uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 390# ucom* at uftdi? portno ? 391 392# umct* at uhub? port ? # MCT USB-RS232 serial adapter 393# ucom* at umct? portno ? 394 395# uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 396# ucom* at uplcom? portno ? 397 398# uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 399# ucom* at uvscom? portno ? 400 401# Diamond Multimedia Rio 500 402# urio* at uhub? port ? 403 404# USB Handspring Visor 405# uvisor* at uhub? port ? 406# ucom* at uvisor? 407 408# Kyocera AIR-EDGE PHONE 409#ukyopon* at uhub? port ? 410#ucom* at ukyopon? portno ? 411 412# USB scanners 413# uscanner* at uhub? port ? 414 415# USB scanners that use SCSI emulation, e.g., HP5300 416# usscanner* at uhub? port ? 417 418# Y@P firmware loader 419# uyap* at uhub? port ? 420 421# D-Link DSB-R100 USB radio 422# udsbr* at uhub? port ? 423# radio* at udsbr? 424 425# USB Generic driver 426# ugen* at uhub? port ? 427 428 429# IrDA and Consumer Ir devices 430 431# Toshiba Oboe 432# oboe* at pci? dev ? function ? 433# irframe* at oboe? 434 435# PCI IEEE1394 controllers 436#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 437 438# CardBus IEEE1394 controllers 439#fwohci* at cardbus? function ? # IEEE1394 Open Host Controller 440 441#fw* at fwbus? # IP over 1394 442 443# IEEE1394 nodes 444#fwnode* at fwbus? idhi ? idlo ? 445#sbpscsi* at fwnode? 446#scsibus* at sbpscsi? 447 448# Audio Devices 449 450# PCI audio devices 451auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio 452autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio 453auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio 454clcs* at pci? dev ? function ? # Cirrus Logic CS4280 455clct* at pci? dev ? function ? # Cirrus Logic CS4281 456cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 457eap* at pci? dev ? function ? # Ensoniq AudioPCI 458emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512 459esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio 460esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator 461eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 462fms* at pci? dev ? function ? # Forte Media FM801 463neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio 464sv* at pci? dev ? function ? # S3 SonicVibes 465yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio 466 467# OPL[23] FM synthesizers 468opl* at cmpci? flags 1 469opl* at eso? 470opl* at fms? 471opl* at sv? 472opl* at yds? 473 474# Audio support 475audio* at audiobus? 476 477# MPU 401 UARTs 478mpu* at cmpci? 479mpu* at eso? 480mpu* at fms? 481mpu* at yds? 482 483# MIDI support 484midi* at midibus? 485 486# On-board device support 487obio* at mainbus? 488#com1 at obio? addr 0x900003e8 xint 1 # on-board UART 489com0 at obio? addr 0x900002f8 xint 1 # on-board UART 490#com* at obio? addr 0x900003e8 xint 1 # on-board UART 491#com* at obio? addr 0x900003f8 xint 1 # on-board UART 492 493# Pseudo-Devices 494 495# disk/mass storage pseudo-devices 496pseudo-device md 1 # memory disk device (ramdisk) 497#pseudo-device vnd # disk-like interface to files 498#options VND_COMPRESSION # compressed vnd(4) 499pseudo-device fss 4 # file system snapshot device 500 501# network pseudo-devices 502pseudo-device bpfilter # Berkeley packet filter 503#pseudo-device carp # Common Address Redundancy Protocol 504pseudo-device loop # network loopback 505#pseudo-device kttcp # network loopback 506 507# miscellaneous pseudo-devices 508pseudo-device pty # pseudo-terminals 509pseudo-device rnd # /dev/random and in-kernel generator 510pseudo-device clockctl # user control of clock subsystem 511pseudo-device ksyms # /dev/ksyms 512 513# data mover pseudo-devices 514#pseudo-device swdmover # softare dmover(9) back-end 515#pseudo-device dmoverio # /dev/dmover dmover(9) interface 516 517# Veriexec 518#options VERIFIED_EXEC 519# 520# a pseudo device needed for veriexec 521#pseudo-device veriexec 1 522# 523# Uncomment the fingerprint methods below that are desired. Note that 524# removing fingerprint methods will have almost no impact on the kernel 525# code size. 526# 527#options VERIFIED_EXEC_FP_RMD160 528#options VERIFIED_EXEC_FP_SHA256 529#options VERIFIED_EXEC_FP_SHA384 530#options VERIFIED_EXEC_FP_SHA512 531#options VERIFIED_EXEC_FP_SHA1 532#options VERIFIED_EXEC_FP_MD5 533