GENERIC revision 1.10
1# $NetBSD: GENERIC,v 1.10 2005/05/31 22:23:53 tron 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 61options FFS_NO_SNAPSHOT # ffs snapshots 62 63# Networking options 64 65#options GATEWAY # packet forwarding 66options INET # IP + ICMP + TCP + UDP 67#options INET6 # IPV6 68#options IPSEC # IP security 69#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 70#options IPSEC_DEBUG # debug for IP security 71#options MROUTING # IP multicast routing 72#options NS # XNS 73#options NSIP # XNS tunneling over IP 74#options ISO,TPIP # OSI 75#options EON # OSI tunneling over IP 76#options CCITT,LLC,HDLC # X.25 77#options NETATALK # AppleTalk networking 78#options PFIL_HOOKS # pfil(9) packet filter hooks 79#options PPP_BSDCOMP # BSD-Compress compression support for PPP 80#options PPP_DEFLATE # Deflate compression support for PPP 81#options PPP_FILTER # Active filter support for PPP (requires bpf) 82#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 83 84options NFS_BOOT_BOOTP 85options NFS_BOOT_DHCP 86#options NFS_BOOT_BOOTPARAM 87 88# Compatibility options 89 90options COMPAT_16 # NetBSD 1.6 91options COMPAT_20 # NetBSD 2.0 92#options COMPAT_43 # 4.3BSD compatibility. 93#options COMPAT_16 # NetBSD 1.6 compatibility. 94#options COMPAT_15 # NetBSD 1.5 compatibility. 95#options COMPAT_14 # NetBSD 1.4 compatibility. 96#options COMPAT_13 # NetBSD 1.3 compatibility. 97#options COMPAT_12 # NetBSD 1.2 compatibility. 98#options COMPAT_11 # NetBSD 1.1 compatibility. 99#options COMPAT_10 # NetBSD 1.0 compatibility. 100#options COMPAT_09 # NetBSD 0.9 compatibility. 101#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 102options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 103 104# Shared memory options 105 106#options SYSVMSG # System V-like message queues 107#options SYSVSEM # System V-like semaphores 108#options SEMMNI=10 # number of semaphore identifiers 109#options SEMMNS=60 # number of semaphores in system 110#options SEMUME=10 # max number of undo entries per process 111#options SEMMNU=30 # number of undo structures in system 112#options SYSVSHM # System V-like memory sharing 113#options SHMMAXPGS=1024 # 1024 pages is the default 114 115# Device options 116 117#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 118#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 119#options MEMORY_DISK_IS_ROOT # use memory disk as root 120 121# Console options. The default console is speed is 115200 baud. 122#options CONSPEED=9600 # Console speed 123 124# Miscellaneous kernel options 125options KTRACE # system call tracing, a la ktrace(1) 126options IRQSTATS # manage IRQ statistics 127#options LKM # loadable kernel modules 128#options KMEMSTATS # kernel memory statistics 129#options SCSIVERBOSE # Verbose SCSI errors 130options PCIVERBOSE # Verbose PCI descriptions 131options MIIVERBOSE # Verbose MII autoconfuration messages 132#options PCI_CONFIG_DUMP # verbosely dump PCI config space 133#options DDB_KEYCODE=0x40 134options USERCONF # userconf(4) support 135#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 136 137# Development and Debugging options 138 139options PERFCTRS # performance counters 140options DIAGNOSTIC # internally consistency checks 141options DEBUG 142#options PMAP_DEBUG # Enable pmap_debug_level code 143#options IPKDB # remote kernel debugging 144#options VERBOSE_INIT_ARM # verbose bootstraping messages 145options DDB # in-kernel debugger 146options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 147makeoptions DEBUG="-g" # compile full symbol table 148options SYMTAB_SPACE=240000 149 150##options PMAP_INCLUDE_PTE_SYNC 151##options LOCKDEBUG 152 153##config netbsd root on ? type ? 154config netbsd root on rtk0 type nfs 155#config netbsd-wm0 root on wm0 type nfs 156#config netbsd-wd0 root on wd0 type ffs 157#config netbsd-sd0 root on sd0 type ffs 158 159# The main bus device 160mainbus0 at root 161 162# The boot cpu 163cpu0 at mainbus? 164 165# i80321 I/O Processor peripheral support 166iopxs* at mainbus? 167 168iopaau* at iopxs? # Application Accelerator Unit 169iopiic* at iopxs? # I2C Controller Unit(s) 170iic0 at iopiic? 171iic1 at iopiic? 172iopwdog* at iopxs? # Watchdog timer 173pci0 at iopxs? bus ? # PCI/PCI-X support 174 175# PCI bridges 176ppb* at pci? dev ? function ? 177pci* at ppb? bus ? 178 179# VGA 180#vga* at pci? dev ? function ? 181 182# IDE and related devices 183# PCI IDE controllers - see pciide(4) for supported hardware. 184# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 185# how to set up DMA modes for this chip. This may work, or may cause 186# a machine hang with some controllers. 187pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 188acardide* at pci? dev ? function ? # Acard IDE controllers 189aceride* at pci? dev ? function ? # Acer Lab IDE controllers 190artsata* at pci? dev ? function ? # Intel i31244 SATA controller 191cmdide* at pci? dev ? function ? # CMD tech IDE controllers 192cypide* at pci? dev ? function ? # Cypress IDE controllers 193hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 194optiide* at pci? dev ? function ? # Opti 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# Kyocera AIR-EDGE PHONE 402#ukyopon* at uhub? port ? 403#ucom* at ukyopon? portno ? 404 405# USB scanners 406# uscanner* at uhub? port ? 407 408# USB scanners that use SCSI emulation, e.g., HP5300 409# usscanner* at uhub? port ? 410 411# Y@P firmware loader 412# uyap* at uhub? port ? 413 414# D-Link DSB-R100 USB radio 415# udsbr* at uhub? port ? 416# radio* at udsbr? 417 418# USB Generic driver 419# ugen* at uhub? port ? 420 421 422# IrDA and Consumer Ir devices 423 424# Toshiba Oboe 425# oboe* at pci? dev ? function ? 426# irframe* at oboe? 427 428# PCI IEEE1394 controllers 429#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 430 431# CardBus IEEE1394 controllers 432#fwohci* at cardbus? dev ? function ? # IEEE1394 Open Host Controller 433 434#fw* at fwbus? # IP over 1394 435 436# IEEE1394 nodes 437#fwnode* at fwbus? idhi ? idlo ? 438#sbpscsi* at fwnode? 439#scsibus* at sbpscsi? 440 441# Audio Devices 442 443# PCI audio devices 444auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio 445autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio 446auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio 447clcs* at pci? dev ? function ? # Cirrus Logic CS4280 448clct* at pci? dev ? function ? # Cirrus Logic CS4281 449cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 450eap* at pci? dev ? function ? # Ensoniq AudioPCI 451emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512 452esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio 453esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator 454eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 455fms* at pci? dev ? function ? # Forte Media FM801 456neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio 457sv* at pci? dev ? function ? # S3 SonicVibes 458yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio 459 460# OPL[23] FM synthesizers 461opl* at cmpci? flags 1 462opl* at eso? 463opl* at fms? 464opl* at sv? 465opl* at yds? 466 467# Audio support 468audio* at audiobus? 469 470# MPU 401 UARTs 471mpu* at cmpci? 472mpu* at eso? 473mpu* at fms? 474mpu* at yds? 475 476# MIDI support 477midi* at midibus? 478 479# On-board device support 480obio* at mainbus? 481#com1 at obio? addr 0x900003e8 xint 1 # on-board UART 482com0 at obio? addr 0x900002f8 xint 1 # on-board UART 483#com* at obio? addr 0x900003e8 xint 1 # on-board UART 484#com* at obio? addr 0x900003f8 xint 1 # on-board UART 485 486# Pseudo-Devices 487 488# disk/mass storage pseudo-devices 489pseudo-device md 1 # memory disk device (ramdisk) 490#pseudo-device vnd 4 # disk-like interface to files 491pseudo-device fss 4 # file system snapshot device 492 493# network pseudo-devices 494pseudo-device bpfilter 4 # Berkeley packet filter 495pseudo-device loop # network loopback 496#pseudo-device kttcp # network loopback 497 498# miscellaneous pseudo-devices 499pseudo-device pty # pseudo-terminals 500pseudo-device rnd # /dev/random and in-kernel generator 501pseudo-device clockctl # user control of clock subsystem 502pseudo-device ksyms # /dev/ksyms 503 504# data mover pseudo-devices 505#pseudo-device swdmover # softare dmover(9) back-end 506#pseudo-device dmoverio # /dev/dmover dmover(9) interface 507