GENERIC revision 1.3
1# $NetBSD: GENERIC,v 1.3 2004/11/10 17:54:05 christos 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 195rccide* at pci? dev ? function ? # ServerWorks IDE controllers 196satalink* at pci? dev ? function ? # SiI SATALink controllers 197siside* at pci? dev ? function ? # SiS IDE controllers 198slide* at pci? dev ? function ? # Symphony Labs IDE controllers 199stpcide* at pci? dev ? function ? # STMicro STPC IDE controllers 200viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 201 202# ATA (IDE) bus support 203atabus* at ata? 204 205# IDE drives 206# Flags are used only with controllers that support DMA operations 207# and mode settings (e.g. some pciide controllers) 208# The lowest order four bits (rightmost digit) of the flags define the PIO 209# mode to use, the next set of four bits the DMA mode and the third set the 210# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 211# to use, and the last bit must be 1 for this setting to be used. 212# For DMA and UDMA, 0xf (1111) means 'disable'. 213# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 214# (0xc=1100, 0xa=1010, 0xf=1111) 215# 0x0000 means "use whatever the drive claims to support". 216wd* at atabus? drive ? flags 0x0000 217 218# ATA RAID configuration support, as found on some Promise controllers. 219pseudo-device ataraid 220ld* at ataraid? vendtype ? unit ? 221 222# ATAPI bus support 223atapibus* at atapi? 224 225# ATAPI devices 226# flags have the same meaning as for IDE drives. 227# XXX No DMA on IDE devices for now 228cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives 229sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 230st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 231uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 232 233# PCI network interfaces 234# an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) 235# ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11 236# atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11) 237# bce* at pci? dev ? function ? # Broadcom 4401 10/100 Ethernet 238# bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet 239# en* at pci? dev ? function ? # ENI/Adaptec ATM 240# ep* at pci? dev ? function ? # 3Com 3c59x 241# epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 242# esh* at pci? dev ? function ? # Essential HIPPI card 243# ex* at pci? dev ? function ? # 3Com 90x[BC] 244# fpa* at pci? dev ? function ? # DEC DEFPA FDDI 245# fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 246# gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 247#hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ 248# le* at pci? dev ? function ? # PCnet-PCI Ethernet 249# lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 250# mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet 251# ne* at pci? dev ? function ? # NE2000-compatible Ethernet 252# ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 253# pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 254# re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S 255rtk* at pci? dev ? function ? # Realtek 8129/8139 256# sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 257# sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 258# skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet 259# sk* at skc? # SysKonnect SK9821 Gigabit Ethernet 260# ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 261# stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 262# ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 263# tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 264# tlp* at pci? dev ? function ? # DECchip 21x4x and clones 265# vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 266# wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 267wm* at pci? dev ? function ? # Intel 8254x gigabit 268 269# MII/PHY support 270acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 271amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 272bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 273brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 274dmphy* at mii? phy ? # Davicom DM9101 PHYs 275exphy* at mii? phy ? # 3Com internal PHYs 276gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 277glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 278gphyter* at mii? phy ? # NS83861 Gig-E PHY 279icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 280igphy* at mii? phy ? # Intel IGP01E1000 281inphy* at mii? phy ? # Intel 82555 PHYs 282iophy* at mii? phy ? # Intel 82553 PHYs 283lxtphy* at mii? phy ? # Level One LXT-970 PHYs 284makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 285nsphy* at mii? phy ? # NS83840 PHYs 286nsphyter* at mii? phy ? # NS83843 PHYs 287pnaphy* at mii? phy ? # generic HomePNA PHYs 288qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 289sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 290tlphy* at mii? phy ? # ThunderLAN PHYs 291tqphy* at mii? phy ? # TDK Semiconductor PHYs 292ukphy* at mii? phy ? # generic unknown PHYs 293urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 294 295# USB Controller and Devices 296 297# PCI USB controllers 298# The EHCI is not ready for prime time. 299#ehci* at pci? dev ? function ? # Enhanced Host Controller 300ohci* at pci? dev ? function ? # Open Host Controller 301uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 302 303# CardBus USB controllers 304#ehci* at cardbus? dev ? function ? # Enhanced Host Controller 305#ohci* at cardbus? dev ? function ? # Open Host Controller 306 307# ISA USB controllers 308#slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS 309 310# USB bus support 311#usb* at ehci? 312usb* at ohci? 313usb* at uhci? 314#usb* at slhci? 315 316# USB Hubs 317# uhub* at usb? 318# uhub* at uhub? port ? configuration ? interface ? 319 320# USB HID device 321# uhidev* at uhub? port ? configuration ? interface ? 322 323# USB Mice 324# ums* at uhidev? reportid ? 325# wsmouse* at ums? mux 0 326 327# USB eGalax touch-panel 328# uep* at uhub? port ? 329# wsmouse* at uep? mux 0 330 331# USB Keyboards 332# ukbd* at uhidev? reportid ? 333# wskbd* at ukbd? console ? mux 1 334 335# USB Generic HID devices 336# uhid* at uhidev? reportid ? 337 338# USB Printer 339# ulpt* at uhub? port ? configuration ? interface ? 340 341# USB Modem 342# umodem* at uhub? port ? configuration ? 343# ucom* at umodem? 344 345# USB Mass Storage 346# umass* at uhub? port ? configuration ? interface ? 347# scsibus* at umass? 348# wd* at umass? 349 350# USB audio 351# uaudio* at uhub? port ? configuration ? 352 353# USB MIDI 354# umidi* at uhub? port ? configuration ? 355 356# USB IrDA 357# USB-IrDA bridge spec 358# uirda* at uhub? port ? configuration ? interface ? 359# irframe* at uirda? 360 361# SigmaTel STIr4200 USB/IrDA Bridge 362# ustir* at uhub? port ? 363# irframe* at ustir? 364 365# USB Ethernet adapters 366# aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 367# axe* at uhub? port ? # ASIX AX88172 based adapters 368# cue* at uhub? port ? # CATC USB-EL1201A based adapters 369# kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 370# udav* at uhub? port ? # Davicom DM9601 based adapters 371# url* at uhub? port ? # Realtek RTL8150L based adapters 372 373# Prolific PL2301/PL2302 host-to-host adapter 374# upl* at uhub? port ? 375 376# Serial adapters 377# ubsa* at uhub? port ? # Belkin serial adapter 378# ucom* at ubsa? portno ? 379 380# uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 381# ucom* at uftdi? portno ? 382 383# umct* at uhub? port ? # MCT USB-RS232 serial adapter 384# ucom* at umct? portno ? 385 386# uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 387# ucom* at uplcom? portno ? 388 389# uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 390# ucom* at uvscom? portno ? 391 392# Diamond Multimedia Rio 500 393# urio* at uhub? port ? 394 395# USB Handspring Visor 396# uvisor* at uhub? port ? 397# ucom* at uvisor? 398 399# USB scanners 400# uscanner* at uhub? port ? 401 402# USB scanners that use SCSI emulation, e.g., HP5300 403# usscanner* at uhub? port ? 404 405# Y@P firmware loader 406# uyap* at uhub? port ? 407 408# D-Link DSB-R100 USB radio 409# udsbr* at uhub? port ? 410# radio* at udsbr? 411 412# USB Generic driver 413# ugen* at uhub? port ? 414 415 416# IrDA and Consumer Ir devices 417 418# Toshiba Oboe 419# oboe* at pci? dev ? function ? 420# irframe* at oboe? 421 422# PCI IEEE1394 controllers 423#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 424 425# CardBus IEEE1394 controllers 426#fwohci* at cardbus? dev ? function ? # IEEE1394 Open Host Controller 427 428#fw* at fwbus? # IP over 1394 429 430# IEEE1394 nodes 431#fwnode* at fwbus? idhi ? idlo ? 432#sbpscsi* at fwnode? 433#scsibus* at sbpscsi? 434 435# Audio Devices 436 437# PCI audio devices 438auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio 439autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio 440auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio 441clcs* at pci? dev ? function ? # Cirrus Logic CS4280 442clct* at pci? dev ? function ? # Cirrus Logic CS4281 443cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 444eap* at pci? dev ? function ? # Ensoniq AudioPCI 445emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512 446esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio 447esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator 448eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 449fms* at pci? dev ? function ? # Forte Media FM801 450neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio 451sv* at pci? dev ? function ? # S3 SonicVibes 452yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio 453 454# OPL[23] FM synthesizers 455opl* at cmpci? flags 1 456opl* at eso? 457opl* at fms? 458opl* at sv? 459opl* at yds? 460 461# Audio support 462audio* at audiobus? 463 464# MPU 401 UARTs 465mpu* at cmpci? 466mpu* at eso? 467mpu* at fms? 468mpu* at yds? 469 470# MIDI support 471midi* at midibus? 472 473# On-board device support 474obio* at mainbus? 475#com1 at obio? addr 0x900003e8 xint 1 # on-board UART 476com0 at obio? addr 0x900002f8 xint 1 # on-board UART 477#com* at obio? addr 0x900003e8 xint 1 # on-board UART 478#com* at obio? addr 0x900003f8 xint 1 # on-board UART 479 480# Pseudo-Devices 481 482# disk/mass storage pseudo-devices 483pseudo-device md 1 # memory disk device (ramdisk) 484#pseudo-device vnd 4 # disk-like interface to files 485 486# network pseudo-devices 487pseudo-device bpfilter 4 # Berkeley packet filter 488pseudo-device loop # network loopback 489#pseudo-device kttcp # network loopback 490 491# miscellaneous pseudo-devices 492pseudo-device pty # pseudo-terminals 493pseudo-device rnd # /dev/random and in-kernel generator 494pseudo-device clockctl # user control of clock subsystem 495pseudo-device ksyms # /dev/ksyms 496 497# data mover pseudo-devices 498#pseudo-device swdmover # softare dmover(9) back-end 499#pseudo-device dmoverio # /dev/dmover dmover(9) interface 500