HDL_G revision 1.31
1# $NetBSD: HDL_G,v 1.31 2012/09/11 19:43:09 msaitoh Exp $ 2# 3# HDL_G -- I-O DATA HDL-G Kernel 4# 5 6include "arch/evbarm/conf/std.hdl_g" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10maxusers 32 # estimated number of users 11 12# CPU options 13 14# For XScale systems 15options CPU_XSCALE_80321 # Support the XScale core 16makeoptions CPUFLAGS="-mcpu=xscale" 17 18# Architecture options 19options XSCALE_CACHE_READ_WRITE_ALLOCATE 20 21# Standard system options 22 23options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 24#options HZ=512 # clock interrupt generates every 1/HZ sec 25#options NTP # NTP phase/frequency locked loop 26 27# File systems 28 29file-system FFS # UFS 30file-system EXT2FS # second extended file system (linux) 31#file-system LFS # log-structured file system 32file-system MFS # memory file system 33file-system NFS # Network file system 34file-system CD9660 # ISO 9660 + Rock Ridge file system 35#file-system CODA # Coda File System; also needs vcoda (below) 36file-system FDESC # /dev/fd 37file-system KERNFS # /kern 38file-system MSDOSFS # MS-DOS file system 39file-system NTFS # Windows/NT file system (experimental) 40file-system NULLFS # loopback file system 41#file-system OVERLAY # overlay file system 42file-system PROCFS # /proc 43file-system PTYFS # /dev/pts/N support 44#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 45file-system SMBFS # experimental - CIFS; also needs nsmb (below) 46file-system TMPFS # Efficient memory file-system 47#file-system UDF # experimental - OSTA UDF CD/DVD file-system 48file-system UMAPFS # NULLFS + uid and gid remapping 49file-system UNION # union file system 50 51# File system options 52#options QUOTA # legacy UFS quotas 53#options QUOTA2 # new, in-filesystem UFS quotas 54#options FFS_EI # FFS Endian Independent support 55options NFSSERVER 56options WAPBL # File system journaling support 57#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 58#options FFS_NO_SNAPSHOT # No FFS snapshot support 59#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 60 # immutable) behave as system flags. 61 62# Networking options 63 64#options GATEWAY # packet forwarding 65options INET # IP + ICMP + TCP + UDP 66options INET6 # IPV6 67#options IPSEC # IP security 68#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 69#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 70#options IPSEC_DEBUG # debug for IP security 71#options MROUTING # IP multicast routing 72#options PIM # Protocol Independent Multicast 73#options ISO,TPIP # OSI 74#options EON # OSI tunneling over IP 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) 80options PFIL_HOOKS # pfil(9) packet filter hooks 81options IPFILTER_LOG # ipmon(8) log support 82options IPFILTER_LOOKUP # ippool(8) support 83options IPFILTER_COMPAT # Compat for IP-Filter 84#options IPFILTER_DEFAULT_BLOCK # block all packets by default 85#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 86#options TCP_SIGNATURE 87 88#options NFS_BOOT_BOOTP 89options NFS_BOOT_DHCP 90options NFS_BOOT_BOOTPARAM 91 92# Compatibility options 93 94options COMPAT_09 # NetBSD 0.9 compatibility. 95options COMPAT_10 # NetBSD 1.0 compatibility. 96options COMPAT_11 # NetBSD 1.1 compatibility. 97options COMPAT_12 # NetBSD 1.2 compatibility. 98options COMPAT_13 # NetBSD 1.3 compatibility. 99options COMPAT_14 # NetBSD 1.4 compatibility. 100options COMPAT_15 # NetBSD 1.5 compatibility. 101options COMPAT_16 # NetBSD 1.6 compatibility. 102options COMPAT_20 # NetBSD 2.0 compatibility. 103options COMPAT_30 # NetBSD 3.0 compatibility. 104options COMPAT_40 # NetBSD 4.0 compatibility. 105options COMPAT_50 # NetBSD 5.0 compatibility. 106options COMPAT_43 # 4.3BSD compatibility. 107#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 108 109options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 110options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 111 112# Shared memory options 113 114options SYSVMSG # System V-like message queues 115options SYSVSEM # System V-like semaphores 116options SYSVSHM # System V-like memory sharing 117 118# Device options 119 120# Miscellaneous kernel options 121options KTRACE # system call tracing via ktrace(1) 122options IRQSTATS # manage IRQ statistics 123#options KMEMSTATS # kernel memory statistics 124#options SCSIVERBOSE # Verbose SCSI errors 125options PCIVERBOSE # Verbose PCI descriptions 126options MIIVERBOSE # Verbose MII autoconfuration messages 127options USBVERBOSE # verbose USB device autoconfig messages 128#options PCI_CONFIG_DUMP # verbosely dump PCI config space 129options USERCONF # userconf(4) support 130#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 131#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 132 133# Development and Debugging options 134 135#options PERFCTRS # performance counters 136#options DIAGNOSTIC # internally consistency checks 137#options DEBUG 138#options PMAP_DEBUG # Enable pmap_debug_level code 139#options VERBOSE_INIT_ARM # verbose bootstraping messages 140options DDB # in-kernel debugger 141#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 142#makeoptions DEBUG="-g" # compile full symbol table 143options SYMTAB_SPACE=750000 144 145#config netbsd root on ? type ? 146config netbsd root on wd0a type ? 147#config netbsd root on wd0e type ? 148 149# The main bus device 150mainbus0 at root 151 152# The boot CPU 153cpu0 at mainbus? 154 155# On-board device support 156obio* at mainbus? 157com0 at obio? addr 0xfe800000 xint 3 # on-board TI 165C50 UART 158btn0 at obio? addr 0xfe8d0002 xint 3 # buttons 159 160# i80321 I/O Processor peripheral support 161iopxs* at mainbus? 162 163iopiic* at iopxs? # I2C Controller Unit(s) 164iic0 at iopiic? 165iic1 at iopiic? 166pci0 at iopxs? bus ? # PCI/PCI-X support 167 168# PCI-PCI bridges 169ppb* at pci? dev ? function ? 170pci* at ppb? bus ? 171 172# RICOH RS5C372A Real-Time Clock 173rs5c372rtc* at iic0 addr 0x32 174 175# 176# Storage devices 177# 178 179# SCSI Controllers and Devices 180 181# SCSI bus support 182scsibus* at scsi? 183 184# SCSI devices 185sd* at scsibus? target ? lun ? # SCSI disk drives 186st* at scsibus? target ? lun ? # SCSI tape drives 187cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 188ch* at scsibus? target ? lun ? # SCSI autochangers 189ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 190ss* at scsibus? target ? lun ? # SCSI scanners 191uk* at scsibus? target ? lun ? # SCSI unknown 192 193# PCI IDE/S-ATA controllers and devices 194pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 195acardide* at pci? dev ? function ? # Acard IDE controllers 196 197# ATA (IDE) bus support 198atabus* at ata? channel ? 199 200# IDE drives 201# Flags are used only with controllers that support DMA operations 202# and mode settings (e.g. some pciide controllers) 203# The lowest order four bits (rightmost digit) of the flags define the PIO 204# mode to use, the next set of four bits the DMA mode and the third set the 205# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 206# to use, and the last bit must be 1 for this setting to be used. 207# For DMA and UDMA, 0xf (1111) means 'disable'. 208# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 209# (0xc=1100, 0xa=1010, 0xf=1111) 210# 0x0000 means "use whatever the drive claims to support". 211wd* at atabus? drive ? flags 0x0000 212 213# ATAPI bus support 214atapibus* at atapi? 215 216# ATAPI devices 217# flags have the same meaning as for IDE drives. 218cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 219sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 220st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 221uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 222 223# 224# Networking devices 225# 226 227# PCI network devices 228wm* at pci? dev ? function ? # Intel i82541PI Gig-E 229 230# MII/PHY support 231acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 232amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 233bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 234brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 235ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs 236dmphy* at mii? phy ? # Davicom DM9101 PHYs 237exphy* at mii? phy ? # 3Com internal PHYs 238gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 239glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 240gphyter* at mii? phy ? # NS83861 Gig-E PHY 241icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 242igphy* at mii? phy ? # Intel IGP01E1000 243inphy* at mii? phy ? # Intel 82555 PHYs 244iophy* at mii? phy ? # Intel 82553 PHYs 245lxtphy* at mii? phy ? # Level One LXT-970 PHYs 246makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 247nsphy* at mii? phy ? # NS83840 PHYs 248nsphyter* at mii? phy ? # NS83843 PHYs 249pnaphy* at mii? phy ? # generic HomePNA PHYs 250qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 251rgephy* at mii? phy ? # Realtek 8169S/8110 internal PHYs 252sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 253tlphy* at mii? phy ? # ThunderLAN PHYs 254tqphy* at mii? phy ? # TDK Semiconductor PHYs 255ukphy* at mii? phy ? # generic unknown PHYs 256urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 257 258 259# USB Controller and Devices 260 261# PCI USB controllers 262ehci* at pci? dev ? function ? # Enhanced Host Controller 263ohci* at pci? dev ? function ? # Open Host Controller 264 265# USB bus support 266usb* at ehci? 267usb* at ohci? 268 269# USB Hubs 270uhub* at usb? 271uhub* at uhub? port ? 272 273# USB HID device 274uhidev* at uhub? port ? configuration ? interface ? 275 276# USB Mice 277ums* at uhidev? reportid ? 278wsmouse* at ums? mux 0 279 280# USB Keyboards 281ukbd* at uhidev? reportid ? 282wskbd* at ukbd? console ? mux 1 283 284# USB serial adapter 285ucycom* at uhidev? reportid ? 286 287# USB Generic HID devices 288uhid* at uhidev? reportid ? 289 290# USB Printer 291ulpt* at uhub? port ? configuration ? interface ? 292 293# USB Modem 294umodem* at uhub? port ? configuration ? 295ucom* at umodem? 296 297# Option N.V. Wireless WAN modems 298uhso* at uhub? port ? configuration ? 299 300# USB Mass Storage 301umass* at uhub? port ? configuration ? interface ? 302wd* at umass? 303 304# USB audio 305uaudio* at uhub? port ? configuration ? 306 307# USB MIDI 308umidi* at uhub? port ? configuration ? 309 310# USB IrDA 311# USB-IrDA bridge spec 312uirda* at uhub? port ? configuration ? interface ? 313irframe* at uirda? 314 315# SigmaTel STIr4200 USB/IrDA Bridge 316ustir* at uhub? port ? 317irframe* at ustir? 318 319# USB Ethernet adapters 320aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 321axe* at uhub? port ? # ASIX AX88172 based adapters 322cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 323cue* at uhub? port ? # CATC USB-EL1201A based adapters 324kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 325udav* at uhub? port ? # Davicom DM9601 based adapters 326url* at uhub? port ? # Realtek RTL8150L based adapters 327 328# USB 802.11b adapters 329atu* at uhub? port ? # Atmel AT76C50XX based adapters 330ural* at uhub? port ? # Ralink Technology RT2500USB 802.11a/b/g 331 332# Prolific PL2301/PL2302 host-to-host adapter 333upl* at uhub? port ? 334 335# Serial adapters 336ubsa* at uhub? port ? # Belkin serial adapter 337ucom* at ubsa? portno ? 338 339uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 340ucom* at uftdi? portno ? 341 342umct* at uhub? port ? # MCT USB-RS232 serial adapter 343ucom* at umct? portno ? 344 345uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 346ucom* at uplcom? portno ? 347 348uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 349ucom* at uvscom? portno ? 350 351# Diamond Multimedia Rio 500 352urio* at uhub? port ? 353 354# USB Handspring Visor 355uvisor* at uhub? port ? 356ucom* at uvisor? 357 358# Kyocera AIR-EDGE PHONE 359ukyopon* at uhub? port ? 360ucom* at ukyopon? portno ? 361 362# USB scanners 363uscanner* at uhub? port ? 364 365# USB scanners that use SCSI emulation, e.g., HP5300 366usscanner* at uhub? port ? 367 368# Y@P firmware loader 369uyap* at uhub? port ? 370 371# D-Link DSB-R100 USB radio 372udsbr* at uhub? port ? 373radio* at udsbr? 374 375# USB Generic driver 376ugen* at uhub? port ? 377 378 379# Audio Devices 380 381# Audio support 382audio* at audiobus? 383 384# MIDI support 385midi* at midibus? 386 387 388# Pseudo-Devices 389 390# disk/mass storage pseudo-devices 391#pseudo-device ccd 4 # concatenated/striped disk devices 392#pseudo-device cgd 4 # cryptographic disk devices 393#pseudo-device raid 8 # RAIDframe disk driver 394#options RAID_AUTOCONFIG # auto-configuration of RAID components 395# Options to enable various other RAIDframe RAID types. 396#options RF_INCLUDE_EVENODD=1 397#options RF_INCLUDE_RAID5_RS=1 398#options RF_INCLUDE_PARITYLOGGING=1 399#options RF_INCLUDE_CHAINDECLUSTER=1 400#options RF_INCLUDE_INTERDECLUSTER=1 401#options RF_INCLUDE_PARITY_DECLUSTERING=1 402#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 403#pseudo-device fss # file system snapshot device 404#pseudo-device putter # for puffs and pud 405 406#pseudo-device md # memory disk device (ramdisk) 407pseudo-device vnd 4 # disk-like interface to files 408options VND_COMPRESSION # compressed vnd(4) 409 410# network pseudo-devices 411pseudo-device bpfilter # Berkeley packet filter 412pseudo-device ipfilter # IP filter (firewall) and NAT 413pseudo-device loop # network loopback 414pseudo-device ppp # Point-to-Point Protocol 415pseudo-device pppoe # PPP over Ethernet (RFC 2516) 416#pseudo-device sl # Serial Line IP 417#pseudo-device strip # Starmode Radio IP (Metricom) 418#pseudo-device irframetty # IrDA frame line discipline 419pseudo-device tap # virtual Ethernet 420pseudo-device tun # network tunneling over tty 421pseudo-device gre # generic L3 over IP tunnel 422pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 423pseudo-device faith # IPv[46] tcp relay translation i/f 424pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 425pseudo-device vlan # IEEE 802.1q encapsulation 426pseudo-device bridge # simple inter-network bridging 427options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 428pseudo-device pf # PF packet filter 429pseudo-device pflog # PF log if 430#pseudo-device kttcp 431 432# miscellaneous pseudo-devices 433pseudo-device pty # pseudo-terminals 434pseudo-device sequencer # MIDI sequencer 435pseudo-device clockctl # user control of clock subsystem 436pseudo-device ksyms # /dev/ksyms 437 438# a pseudo device needed for Coda # also needs CODA (above) 439#pseudo-device vcoda 4 # coda minicache <-> venus comm. 440 441# a pseudo device needed for SMBFS 442pseudo-device nsmb # experimental - SMB requester 443 444# a pseudo device needed for verified exec 445#pseudo-device veriexec 1 446 447# data mover pseudo-devices 448pseudo-device swdmover # software dmover(9) back-end 449pseudo-device dmoverio # /dev/dmover dmover(9) interface 450