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