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