TS7200 revision 1.35
1# $NetBSD: TS7200,v 1.35 2008/11/24 11:41:10 ad 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 WAPBL # File system journaling support - Experimental 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 KMEMSTATS # kernel memory statistics 115#options SCSIVERBOSE # Verbose SCSI errors 116#options PCIVERBOSE # Verbose PCI descriptions 117#options MIIVERBOSE # Verbose MII autoconfuration messages 118#options PCI_CONFIG_DUMP # verbosely dump PCI config space 119#options DDB_KEYCODE=0x40 120#options USERCONF # userconf(4) support 121#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 122 123# Development and Debugging options 124 125#options PERFCTRS # performance counters 126options DIAGNOSTIC # internally consistency checks 127#options DEBUG 128#options PMAP_DEBUG # Enable pmap_debug_level code 129#options VERBOSE_INIT_ARM # verbose bootstraping messages 130options DDB # in-kernel debugger 131options DDB_ONPANIC=1 132options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 133#makeoptions DEBUG="-g" # compile full symbol table 134options SYMTAB_SPACE=450000 135 136##options PMAP_INCLUDE_PTE_SYNC 137##options LOCKDEBUG 138 139config netbsd root on ? type ? 140config netbsd-epe0 root on epe0 type nfs 141config netbsd-wd0 root on wd0 type ffs 142config netbsd-sd0 root on sd0 type ffs 143 144# The main bus device 145mainbus0 at root 146 147# The boot cpu 148cpu0 at mainbus? 149 150# Cirrus Logic EP93xx System-on-chip 151epsoc0 at mainbus? 152# On-chip timers 153epclk0 at epsoc? addr 0x80810000 size 0x90 intr 35 154# On-chip serial UARTS 155epcom0 at epsoc? addr 0x808c0000 size 0x1000 intr 52 156epcom1 at epsoc? addr 0x808d0000 size 0x1000 intr 54 157# On-chip USB 1.1 158ohci* at epsoc? addr 0x80020000 size 0x1000 intr 56 159# On-chip 10/100 Ethernet 160epe0 at epsoc? addr 0x80010000 size 0x10000 intr 39 161# On-board TS-7200 CPLD 162tspld0 at mainbus? 163# PC/104 bus 164isa0 at tspld? 165# CompactFlash interface 166wdc0 at tspld? 167# TS-5620 battery-backed real-time clock 168tsrtc* at tspld? 169 170# HD44780 LCD on LCD header 171#tslcd* at tspld? 172#wsdisplay* at tslcd? console ? 173 174# 4x4 Matrix Keypad on DIO header 175#tskp* at tspld? 176#wskbd* at tskp? console ? mux 1 177 178# TS-SER[1,2,4] multiport serial PC/104 cards 179com0 at isa? port 0x3f8 irq 6 # Standard PC serial ports 180com1 at isa? port 0x2f8 irq 6 181com2 at isa? port 0x3e8 irq 6 182com3 at isa? port 0x2e8 irq 6 183 184wdc1 at isa? port 0x1f0 irq 7 flags 0x00 185wdc2 at isa? port 0x170 irq 7 flags 0x00 186 187tscs0 at isa? port 0x300 iomem ? irq ? drq ? # TS-ETH10 PC/104 ethernet 188tscs1 at isa? port 0x310 iomem ? irq ? drq ? 189tscs2 at isa? port 0x320 iomem ? irq ? drq ? 190tscs3 at isa? port 0x330 iomem ? irq ? drq ? 191 192tsdio0 at isa? port 0x100 # TS-DIO24 general-purpose I/O 193tsdio1 at isa? port 0x108 194tsdio2 at isa? port 0x110 195tsdio3 at isa? port 0x118 196 197# PCMCIA bus support 198pcmcia* at pcic? controller ? socket ? 199 200options PCIC_ISA_INTR_ALLOC_MASK=0xe0 201# ISA PCMCIA controllers 202pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 203pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000 204pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000 205 206# ATA (IDE) bus support 207atabus* at ata? 208 209# IDE drives 210# Flags are used only with controllers that support DMA operations 211# and mode settings (e.g. some pciide controllers) 212# The lowest order four bits (rightmost digit) of the flags define the PIO 213# mode to use, the next set of four bits the DMA mode and the third set the 214# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 215# to use, and the last bit must be 1 for this setting to be used. 216# For DMA and UDMA, 0xf (1111) means 'disable'. 217# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 218# (0xc=1100, 0xa=1010, 0xf=1111) 219# 0x0000 means "use whatever the drive claims to support". 220wd* at atabus? drive ? flags 0x00ff 221 222# ATAPI bus support 223#atapibus* at atapi? 224 225# ATAPI devices 226# flags have the same meaning as for IDE drives. 227# XXX No DMA on IDE devices for now 228#cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives 229#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 230#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 231#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 232 233# MII/PHY support 234#acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs 235#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 236#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 237#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 238#dmphy* at mii? phy ? # Davicom DM9101 PHYs 239#exphy* at mii? phy ? # 3Com internal PHYs 240#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 241#glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 242#gphyter* at mii? phy ? # NS83861 Gig-E PHY 243#icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 244#igphy* at mii? phy ? # Intel IGP01E1000 245#inphy* at mii? phy ? # Intel 82555 PHYs 246#iophy* at mii? phy ? # Intel 82553 PHYs 247#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 248#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 249#nsphy* at mii? phy ? # NS83840 PHYs 250#nsphyter* at mii? phy ? # NS83843 PHYs 251#pnaphy* at mii? phy ? # generic HomePNA PHYs 252#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 253#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 254#tlphy* at mii? phy ? # ThunderLAN PHYs 255#tqphy* at mii? phy ? # TDK Semiconductor PHYs 256ukphy* at mii? phy ? # generic unknown PHYs 257#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 258 259# USB Controller and Devices 260 261# USB bus support 262#usb* at ehci? 263usb* at ohci? 264#usb* at uhci? 265#usb* at slhci? 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 275# ums* at uhidev? reportid ? 276# wsmouse* at ums? mux 0 277 278# USB eGalax touch-panel 279# uep* at uhub? port ? 280# wsmouse* at uep? mux 0 281 282# USB Keyboards 283ukbd* at uhidev? reportid ? 284wskbd* at ukbd? console ? mux 1 285 286# USB serial adapter 287ucycom* at uhidev? reportid ? 288 289# USB Generic HID devices 290uhid* at uhidev? reportid ? 291 292# USB Printer 293ulpt* at uhub? port ? configuration ? interface ? 294 295# USB Modem 296umodem* at uhub? port ? configuration ? 297ucom* at umodem? 298 299# USB Mass Storage 300umass* at uhub? port ? configuration ? interface ? 301scsibus* at umass? 302# SCSI devices 303sd* at scsibus? target ? lun ? # SCSI disk drives 304#st* at scsibus? target ? lun ? # SCSI tape drives 305#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 306#ch* at scsibus? target ? lun ? # SCSI autochangers 307#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 308#ss* at scsibus? target ? lun ? # SCSI scanners 309#uk* at scsibus? target ? lun ? # SCSI unknown 310 311# wd* at umass? 312 313# USB audio 314uaudio* at uhub? port ? configuration ? 315 316# USB MIDI 317umidi* at uhub? port ? configuration ? 318 319# USB IrDA 320# USB-IrDA bridge spec 321uirda* at uhub? port ? configuration ? interface ? 322irframe* at uirda? 323 324# SigmaTel STIr4200 USB/IrDA Bridge 325ustir* at uhub? port ? 326irframe* at ustir? 327 328# USB Ethernet adapters 329aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 330axe* at uhub? port ? # ASIX AX88172 based adapters 331cue* at uhub? port ? # CATC USB-EL1201A based adapters 332kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 333udav* at uhub? port ? # Davicom DM9601 based adapters 334url* at uhub? port ? # Realtek RTL8150L based adapters 335 336# Prolific PL2301/PL2302 host-to-host adapter 337upl* at uhub? port ? 338 339# Serial adapters 340ubsa* at uhub? port ? # Belkin serial adapter 341ucom* at ubsa? portno ? 342 343uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 344ucom* at uftdi? portno ? 345 346umct* at uhub? port ? # MCT USB-RS232 serial adapter 347ucom* at umct? portno ? 348 349uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 350ucom* at uplcom? portno ? 351 352uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 353ucom* at uvscom? portno ? 354atu* at uhub? port ? # Atmel AT76C50XX 802.11b adapter 355 356# Diamond Multimedia Rio 500 357# urio* at uhub? port ? 358 359# USB Handspring Visor 360# uvisor* at uhub? port ? 361# ucom* at uvisor? 362 363# Kyocera AIR-EDGE PHONE 364#ukyopon* at uhub? port ? 365#ucom* at ukyopon? portno ? 366 367# USB scanners 368# uscanner* at uhub? port ? 369 370# USB scanners that use SCSI emulation, e.g., HP5300 371# usscanner* at uhub? port ? 372 373# Y@P firmware loader 374# uyap* at uhub? port ? 375 376# D-Link DSB-R100 USB radio 377# udsbr* at uhub? port ? 378# radio* at udsbr? 379 380# USB Generic driver 381ugen* at uhub? port ? 382 383# IrDA and Consumer Ir devices 384 385# Toshiba Oboe 386# oboe* at pci? dev ? function ? 387# irframe* at oboe? 388 389# CardBus IEEE1394 controllers 390#fwohci* at cardbus? function ? # IEEE1394 Open Host Controller 391 392#fw* at fwbus? # IP over 1394 393 394# IEEE1394 nodes 395#fwnode* at fwbus? idhi ? idlo ? 396#sbpscsi* at fwnode? 397#scsibus* at sbpscsi? 398 399# Audio Devices 400 401# OPL[23] FM synthesizers 402#opl* at cmpci? flags 1 403#opl* at eso? 404#opl* at fms? 405#opl* at sv? 406#opl* at yds? 407 408# Audio support 409audio* at audiobus? 410 411# MPU 401 UARTs 412#mpu* at cmpci? 413#mpu* at eso? 414#mpu* at fms? 415#mpu* at yds? 416 417# MIDI support 418#midi* at midibus? 419 420# Pseudo-Devices 421 422# disk/mass storage pseudo-devices 423#pseudo-device md 1 # memory disk device (ramdisk) 424pseudo-device vnd # disk-like interface to files 425#pseudo-device fss 4 # file system snapshot device 426 427# network pseudo-devices 428pseudo-device bpfilter # Berkeley packet filter 429pseudo-device loop # network loopback 430pseudo-device kttcp # network loopback 431 432# miscellaneous pseudo-devices 433pseudo-device pty # pseudo-terminals 434pseudo-device rnd # /dev/random and in-kernel generator 435#options RND_COM 436pseudo-device clockctl # user control of clock subsystem 437pseudo-device ksyms # /dev/ksyms 438 439# data mover pseudo-devices 440#pseudo-device swdmover # softare dmover(9) back-end 441#pseudo-device dmoverio # /dev/dmover dmover(9) interface 442 443# 444# wscons options 445# 446# builtin terminal emulations 447#options WSEMUL_SUN # sun terminal emulation 448options WSEMUL_VT100 # VT100 / VT220 emulation 449# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 450#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 451#options WS_DEFAULT_FG=WSCOL_WHITE 452#options WS_DEFAULT_BG=WSCOL_BLACK 453#options WS_DEFAULT_COLATTR="(0)" 454#options WS_DEFAULT_MONOATTR="(0)" 455#options WS_KERNEL_FG=WSCOL_GREEN 456#options WS_KERNEL_BG=WSCOL_BLACK 457#options WS_KERNEL_COLATTR="" 458#options WS_KERNEL_MONOATTR="" 459# customization of console border color 460#options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8) 461#options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color 462# compatibility to other console drivers 463#options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 464#options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 465#options WSDISPLAY_COMPAT_USL # VT handling 466#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 467# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 468#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 469# allocate a number of virtual screens at autoconfiguration time 470#options WSDISPLAY_DEFAULTSCREENS=4 471# use a large software cursor that doesn't blink 472#options PCDISPLAY_SOFTCURSOR 473# modify the screen type of the console; defaults to "80x25" 474#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 475# work around a hardware bug that loaded fonts don't work; found on ATI cards 476#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 477# console scrolling support. 478#options WSDISPLAY_SCROLLSUPPORT 479# enable VGA raster mode capable of displaying multilingual text on console 480#options VGA_RASTERCONSOLE 481 482# wscons pseudo-devices 483pseudo-device wsmux # mouse & keyboard multiplexor 484#pseudo-device wsfont 485 486