1# $NetBSD: TS7200,v 1.32 2008/05/30 20:10:01 tsutsui Exp $ 2# 3# GENERIC -- Generic kernel 4# 5 6include "arch/evbarm/conf/std.tsarm" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9options MSGBUFSIZE=65536 10#options KSTACK_CHECK_MAGIC 11 12# estimated number of users 13maxusers 32 14 15# Standard system options 16 17options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 18options NTP # NTP phase/frequency locked loop 19 20# CPU options 21 22options CPU_ARM9 # Support the ARM9TDMI core 23 24# File systems 25 26file-system FFS # UFS 27#file-system LFS # log-structured file system 28file-system MFS # memory file system 29file-system NFS # Network file system 30#file-system ADOSFS # AmigaDOS-compatible file system 31file-system EXT2FS # second extended file system (linux) 32#file-system CD9660 # ISO 9660 + Rock Ridge file system 33file-system MSDOSFS # MS-DOS file system 34#file-system FDESC # /dev/fd 35#file-system FILECORE # Acorn filecore file system 36file-system KERNFS # /kern 37file-system NULLFS # loopback file system 38#file-system PORTAL # portal filesystem (still experimental) 39file-system PROCFS # /proc 40#file-system UMAPFS # NULLFS + uid and gid remapping 41file-system UNION # union file system 42file-system PTYFS # /dev/pts/N support 43 44# File system options 45#options QUOTA # UFS quotas 46#options FFS_EI # FFS Endian Independant support 47options NFSSERVER 48options SOFTDEP 49#options FFS_NO_SNAPSHOT # No FFS snapshot support 50 51# Networking options 52 53#options GATEWAY # packet forwarding 54options INET # IP + ICMP + TCP + UDP 55options INET6 # IPV6 56#options IPSEC # IP security 57#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 58#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 59#options IPSEC_DEBUG # debug for IP security 60#options MROUTING # IP multicast routing 61#options ISO,TPIP # OSI 62#options EON # OSI tunneling over IP 63#options NETATALK # AppleTalk networking 64#options PFIL_HOOKS # pfil(9) packet filter hooks 65#options PPP_BSDCOMP # BSD-Compress compression support for PPP 66#options PPP_DEFLATE # Deflate compression support for PPP 67#options PPP_FILTER # Active filter support for PPP (requires bpf) 68#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 69 70options NFS_BOOT_BOOTP 71options NFS_BOOT_DHCP 72#options NFS_BOOT_BOOTPARAM 73 74# Compatibility options 75 76#options COMPAT_LINUX 77#options COMPAT_43 # 4.3BSD compatibility. 78options COMPAT_40 # NetBSD 4.0 compatibility. 79options COMPAT_30 # NetBSD 3.0 compatibility. 80options COMPAT_20 # NetBSD 2.0 compatibility. 81#options COMPAT_16 # NetBSD 1.6 compatibility. 82#options COMPAT_15 # NetBSD 1.5 compatibility. 83#options COMPAT_14 # NetBSD 1.4 compatibility. 84#options COMPAT_13 # NetBSD 1.3 compatibility. 85#options COMPAT_12 # NetBSD 1.2 compatibility. 86#options COMPAT_11 # NetBSD 1.1 compatibility. 87#options COMPAT_10 # NetBSD 1.0 compatibility. 88#options COMPAT_09 # NetBSD 0.9 compatibility. 89#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 90 91# Shared memory options 92 93options SYSVMSG # System V-like message queues 94options SYSVSEM # System V-like semaphores 95options SEMMNI=10 # number of semaphore identifiers 96options SEMMNS=60 # number of semaphores in system 97options SEMUME=10 # max number of undo entries per process 98options SEMMNU=30 # number of undo structures in system 99options SYSVSHM # System V-like memory sharing 100options SHMMAXPGS=1024 # 1024 pages is the default 101 102# Device options 103 104#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 105#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 106#options MEMORY_DISK_IS_ROOT # use memory disk as root 107 108# Console options. The default console is speed is 115200 baud. 109#options CONSPEED=9600 # Console speed 110 111# Miscellaneous kernel options 112options KTRACE # system call tracing, a la ktrace(1) 113options IRQSTATS # manage IRQ statistics 114#options LKM # loadable kernel modules 115#options KMEMSTATS # kernel memory statistics 116#options SCSIVERBOSE # Verbose SCSI errors 117#options PCIVERBOSE # Verbose PCI descriptions 118#options MIIVERBOSE # Verbose MII autoconfuration messages 119#options PCI_CONFIG_DUMP # verbosely dump PCI config space 120#options DDB_KEYCODE=0x40 121#options USERCONF # userconf(4) support 122#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 123 124# Development and Debugging options 125 126#options PERFCTRS # performance counters 127options DIAGNOSTIC # internally consistency checks 128#options DEBUG 129#options PMAP_DEBUG # Enable pmap_debug_level code 130#options VERBOSE_INIT_ARM # verbose bootstraping messages 131options DDB # in-kernel debugger 132options DDB_ONPANIC=1 133options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 134#makeoptions DEBUG="-g" # compile full symbol table 135options SYMTAB_SPACE=450000 136 137##options PMAP_INCLUDE_PTE_SYNC 138##options LOCKDEBUG 139 140config netbsd root on ? type ? 141config netbsd-epe0 root on epe0 type nfs 142config netbsd-wd0 root on wd0 type ffs 143config netbsd-sd0 root on sd0 type ffs 144 145# The main bus device 146mainbus0 at root 147 148# The boot cpu 149cpu0 at mainbus? 150 151# Cirrus Logic EP93xx System-on-chip 152epsoc0 at mainbus? 153# On-chip timers 154epclk0 at epsoc? addr 0x80810000 size 0x90 intr 35 155# On-chip serial UARTS 156epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52 157epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54 158# On-chip USB 1.1 159ohci* at epsoc? addr 0x80020000 size 0x1000 intr 56 160# On-chip 10/100 Ethernet 161epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39 162# On-board TS-7200 CPLD 163tspld0 at mainbus? 164# PC/104 bus 165isa0 at tspld? 166# CompactFlash interface 167wdc0 at tspld? 168# TS-5620 battery-backed real-time clock 169tsrtc* at tspld? 170 171# HD44780 LCD on LCD header 172#tslcd* at tspld? 173#wsdisplay* at tslcd? console ? 174 175# 4x4 Matrix Keypad on DIO header 176#tskp* at tspld? 177#wskbd* at tskp? console ? mux 1 178 179# TS-SER[1,2,4] multiport serial PC/104 cards 180com0 at isa? port 0x3f8 irq 6 # Standard PC serial ports 181com1 at isa? port 0x2f8 irq 6 182com2 at isa? port 0x3e8 irq 6 183com3 at isa? port 0x2e8 irq 6 184 185wdc1 at isa? port 0x1f0 irq 7 flags 0x00 186wdc2 at isa? port 0x170 irq 7 flags 0x00 187 188tscs0 at isa? port 0x300 iomem ? irq ? drq ? # TS-ETH10 PC/104 ethernet 189tscs1 at isa? port 0x310 iomem ? irq ? drq ? 190tscs2 at isa? port 0x320 iomem ? irq ? drq ? 191tscs3 at isa? port 0x330 iomem ? irq ? drq ? 192 193tsdio0 at isa? port 0x100 # TS-DIO24 general-purpose I/O 194tsdio1 at isa? port 0x108 195tsdio2 at isa? port 0x110 196tsdio3 at isa? port 0x118 197 198# PCMCIA bus support 199pcmcia* at pcic? controller ? socket ? 200 201options PCIC_ISA_INTR_ALLOC_MASK=0xe0 202# ISA PCMCIA controllers 203pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 204pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000 205pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000 206 207# ATA (IDE) bus support 208atabus* at ata? 209 210# IDE drives 211# Flags are used only with controllers that support DMA operations 212# and mode settings (e.g. some pciide controllers) 213# The lowest order four bits (rightmost digit) of the flags define the PIO 214# mode to use, the next set of four bits the DMA mode and the third set the 215# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 216# to use, and the last bit must be 1 for this setting to be used. 217# For DMA and UDMA, 0xf (1111) means 'disable'. 218# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 219# (0xc=1100, 0xa=1010, 0xf=1111) 220# 0x0000 means "use whatever the drive claims to support". 221wd* at atabus? drive ? flags 0x00ff 222 223# ATAPI bus support 224#atapibus* at atapi? 225 226# ATAPI devices 227# flags have the same meaning as for IDE drives. 228# XXX No DMA on IDE devices for now 229#cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives 230#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 231#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 232#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 233 234# MII/PHY support 235#acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 236#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 237#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 238#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 239#dmphy* at mii? phy ? # Davicom DM9101 PHYs 240#exphy* at mii? phy ? # 3Com internal PHYs 241#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 242#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 243#gphyter* at mii? phy ? # NS83861 Gig-E PHY 244#icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 245#igphy* at mii? phy ? # Intel IGP01E1000 246#inphy* at mii? phy ? # Intel 82555 PHYs 247#iophy* at mii? phy ? # Intel 82553 PHYs 248#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 249#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 250#nsphy* at mii? phy ? # NS83840 PHYs 251#nsphyter* at mii? phy ? # NS83843 PHYs 252#pnaphy* at mii? phy ? # generic HomePNA PHYs 253#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 254#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 255#tlphy* at mii? phy ? # ThunderLAN PHYs 256#tqphy* at mii? phy ? # TDK Semiconductor PHYs 257ukphy* at mii? phy ? # generic unknown PHYs 258#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 259 260# USB Controller and Devices 261 262# USB bus support 263#usb* at ehci? 264usb* at ohci? 265#usb* at uhci? 266#usb* at slhci? 267 268# USB Hubs 269uhub* at usb? 270uhub* at uhub? port ? 271 272# USB HID device 273uhidev* at uhub? port ? configuration ? interface ? 274 275# USB Mice 276# ums* at uhidev? reportid ? 277# wsmouse* at ums? mux 0 278 279# USB eGalax touch-panel 280# uep* at uhub? port ? 281# wsmouse* at uep? mux 0 282 283# USB Keyboards 284ukbd* at uhidev? reportid ? 285wskbd* at ukbd? console ? mux 1 286 287# USB serial adapter 288ucycom* at uhidev? reportid ? 289 290# USB Generic HID devices 291uhid* at uhidev? reportid ? 292 293# USB Printer 294ulpt* at uhub? port ? configuration ? interface ? 295 296# USB Modem 297umodem* at uhub? port ? configuration ? 298ucom* at umodem? 299 300# USB Mass Storage 301umass* at uhub? port ? configuration ? interface ? 302scsibus* at umass? 303# SCSI devices 304sd* at scsibus? target ? lun ? # SCSI disk drives 305#st* at scsibus? target ? lun ? # SCSI tape drives 306#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 307#ch* at scsibus? target ? lun ? # SCSI autochangers 308#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 309#ss* at scsibus? target ? lun ? # SCSI scanners 310#uk* at scsibus? target ? lun ? # SCSI unknown 311 312# wd* at umass? 313 314# USB audio 315uaudio* at uhub? port ? configuration ? 316 317# USB MIDI 318umidi* at uhub? port ? configuration ? 319 320# USB IrDA 321# USB-IrDA bridge spec 322uirda* at uhub? port ? configuration ? interface ? 323irframe* at uirda? 324 325# SigmaTel STIr4200 USB/IrDA Bridge 326ustir* at uhub? port ? 327irframe* at ustir? 328 329# USB Ethernet adapters 330aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 331axe* at uhub? port ? # ASIX AX88172 based adapters 332cue* at uhub? port ? # CATC USB-EL1201A based adapters 333kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 334udav* at uhub? port ? # Davicom DM9601 based adapters 335url* at uhub? port ? # Realtek RTL8150L based adapters 336 337# Prolific PL2301/PL2302 host-to-host adapter 338upl* at uhub? port ? 339 340# Serial adapters 341ubsa* at uhub? port ? # Belkin serial adapter 342ucom* at ubsa? portno ? 343 344uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 345ucom* at uftdi? portno ? 346 347umct* at uhub? port ? # MCT USB-RS232 serial adapter 348ucom* at umct? portno ? 349 350uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 351ucom* at uplcom? portno ? 352 353uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 354ucom* at uvscom? portno ? 355atu* at uhub? port ? # Atmel AT76C50XX 802.11b adapter 356 357# Diamond Multimedia Rio 500 358# urio* at uhub? port ? 359 360# USB Handspring Visor 361# uvisor* at uhub? port ? 362# ucom* at uvisor? 363 364# Kyocera AIR-EDGE PHONE 365#ukyopon* at uhub? port ? 366#ucom* at ukyopon? portno ? 367 368# USB scanners 369# uscanner* at uhub? port ? 370 371# USB scanners that use SCSI emulation, e.g., HP5300 372# usscanner* at uhub? port ? 373 374# Y@P firmware loader 375# uyap* at uhub? port ? 376 377# D-Link DSB-R100 USB radio 378# udsbr* at uhub? port ? 379# radio* at udsbr? 380 381# USB Generic driver 382ugen* at uhub? port ? 383 384# IrDA and Consumer Ir devices 385 386# Toshiba Oboe 387# oboe* at pci? dev ? function ? 388# irframe* at oboe? 389 390# CardBus IEEE1394 controllers 391#fwohci* at cardbus? function ? # IEEE1394 Open Host Controller 392 393#fw* at fwbus? # IP over 1394 394 395# IEEE1394 nodes 396#fwnode* at fwbus? idhi ? idlo ? 397#sbpscsi* at fwnode? 398#scsibus* at sbpscsi? 399 400# Audio Devices 401 402# OPL[23] FM synthesizers 403#opl* at cmpci? flags 1 404#opl* at eso? 405#opl* at fms? 406#opl* at sv? 407#opl* at yds? 408 409# Audio support 410audio* at audiobus? 411 412# MPU 401 UARTs 413#mpu* at cmpci? 414#mpu* at eso? 415#mpu* at fms? 416#mpu* at yds? 417 418# MIDI support 419#midi* at midibus? 420 421# Pseudo-Devices 422 423# disk/mass storage pseudo-devices 424#pseudo-device md 1 # memory disk device (ramdisk) 425pseudo-device vnd # disk-like interface to files 426#pseudo-device fss 4 # file system snapshot device 427 428# network pseudo-devices 429pseudo-device bpfilter # Berkeley packet filter 430pseudo-device loop # network loopback 431pseudo-device kttcp # network loopback 432 433# miscellaneous pseudo-devices 434pseudo-device pty # pseudo-terminals 435pseudo-device rnd # /dev/random and in-kernel generator 436#options RND_COM 437pseudo-device clockctl # user control of clock subsystem 438pseudo-device ksyms # /dev/ksyms 439 440# data mover pseudo-devices 441#pseudo-device swdmover # softare dmover(9) back-end 442#pseudo-device dmoverio # /dev/dmover dmover(9) interface 443 444# 445# wscons options 446# 447# builtin terminal emulations 448#options WSEMUL_SUN # sun terminal emulation 449options WSEMUL_VT100 # VT100 / VT220 emulation 450# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 451#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 452#options WS_DEFAULT_FG=WSCOL_WHITE 453#options WS_DEFAULT_BG=WSCOL_BLACK 454#options WS_DEFAULT_COLATTR="(0)" 455#options WS_DEFAULT_MONOATTR="(0)" 456#options WS_KERNEL_FG=WSCOL_GREEN 457#options WS_KERNEL_BG=WSCOL_BLACK 458#options WS_KERNEL_COLATTR="" 459#options WS_KERNEL_MONOATTR="" 460# customization of console border color 461#options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8) 462#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 463# compatibility to other console drivers 464#options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 465#options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 466#options WSDISPLAY_COMPAT_USL # VT handling 467#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 468# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 469#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 470# allocate a number of virtual screens at autoconfiguration time 471#options WSDISPLAY_DEFAULTSCREENS=4 472# use a large software cursor that doesn't blink 473#options PCDISPLAY_SOFTCURSOR 474# modify the screen type of the console; defaults to "80x25" 475#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 476# work around a hardware bug that loaded fonts don't work; found on ATI cards 477#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 478# console scrolling support. 479#options WSDISPLAY_SCROLLSUPPORT 480# enable VGA raster mode capable of displaying multilingual text on console 481#options VGA_RASTERCONSOLE 482 483# wscons pseudo-devices 484pseudo-device wsmux # mouse & keyboard multiplexor 485#pseudo-device wsfont 486 487