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