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