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