WZERO3 revision 1.9
1# $NetBSD: WZERO3,v 1.9 2010/06/26 00:25:02 tsutsui Exp $ 2# 3# WZERO3 -- Sharp Windows Mobile 5 based PDA 4# 5 6include "arch/hpcarm/conf/std.pxa2x0" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10#ident "GENERIC-$Revision: 1.9 $" 11 12# estimated number of users 13maxusers 32 14 15# Standard system options 16 17#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 18 # (default timezone is passed from hpcboot) 19#options NTP # NTP phase/frequency locked loop 20 21# CPU options 22 23# For XScale systems 24options CPU_XSCALE_PXA270 # Support the XScale PXA27x core 25makeoptions CPUFLAGS="-mcpu=xscale" 26 27# Architecture options 28options XSCALE_CACHE_READ_WRITE_ALLOCATE 29options PXAGPIO_HAS_GPION_INTRS 30 31# File systems 32 33file-system FFS # UFS 34#file-system LFS # log-structured file system 35#file-system MFS # memory file system 36file-system NFS # Network file system 37#file-system ADOSFS # AmigaDOS-compatible file system 38file-system EXT2FS # second extended file system (linux) 39file-system CD9660 # ISO 9660 + Rock Ridge file system 40file-system MSDOSFS # MS-DOS file system 41file-system FDESC # /dev/fd 42file-system KERNFS # /kern 43file-system NULLFS # loopback file system 44#file-system OVERLAY # overlay filesystem 45file-system PROCFS # /proc 46#file-system UMAPFS # NULLFS + uid and gid remapping 47file-system UNION # union file system 48file-system PTYFS # /dev/pts/N support 49file-system TMPFS # Efficient memory file-system 50#file-system UDF # experimental - OSTA UDF CD/DVD file-system 51 52# File system options 53#options QUOTA # UFS quotas 54#options FFS_EI # FFS Endian Independant support 55options WAPBL # File system journaling support - Experimental 56#options FFS_NO_SNAPSHOT # No FFS snapshot support 57#options NFSSERVER 58 59# Networking options 60 61#options GATEWAY # packet forwarding 62options INET # IP + ICMP + TCP + UDP 63options INET6 # IPV6 64#options IPSEC # IP security 65#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 66#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 67#options IPSEC_DEBUG # debug for IP security 68#options MROUTING # IP multicast routing 69#options PIM # Protocol Independent Multicast 70#options ISO,TPIP # OSI 71#options EON # OSI tunneling over IP 72#options NETATALK # AppleTalk networking 73#options PFIL_HOOKS # pfil(9) packet filter hooks 74#options PPP_BSDCOMP # BSD-Compress compression support for PPP 75#options PPP_DEFLATE # Deflate compression support for PPP 76#options PPP_FILTER # Active filter support for PPP (requires bpf) 77#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 78 79# Compatibility options 80 81#options COMPAT_43 # 4.3BSD compatibility. 82options COMPAT_50 # NetBSD 5.0 compatibility. 83options COMPAT_40 # NetBSD 4.0 compatibility. 84options COMPAT_30 # NetBSD 3.0 compatibility. 85options COMPAT_20 # NetBSD 2.0 compatibility. 86#options COMPAT_16 # NetBSD 1.6 compatibility. 87#options COMPAT_15 # NetBSD 1.5 compatibility. 88#options COMPAT_14 # NetBSD 1.4 compatibility. 89#options COMPAT_13 # NetBSD 1.3 compatibility. 90#options COMPAT_12 # NetBSD 1.2 compatibility. 91#options COMPAT_11 # NetBSD 1.1 compatibility. 92#options COMPAT_10 # NetBSD 1.0 compatibility. 93#options COMPAT_09 # NetBSD 0.9 compatibility. 94#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 95options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 96 97# Shared memory options 98 99options SYSVMSG # System V-like message queues 100options SYSVSEM # System V-like semaphores 101options SYSVSHM # System V-like memory sharing 102 103 104# Miscellaneous kernel options 105options KTRACE # system call tracing, a la ktrace(1) 106#options IRQSTATS # manage IRQ statistics 107#options KMEMSTATS # kernel memory statistics 108#options SCSIVERBOSE # Verbose SCSI errors 109options USERCONF # userconf(4) support 110#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 111#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 112options NFS_BOOT_DHCP 113 114# 115# wscons options 116# 117# builtin terminal emulations 118options WSEMUL_VT100 119# allocate a number of virtual screens at autoconfiguration time 120#options WSDISPLAY_DEFAULTSCREENS=2 121# The X server requires theses two options 122options WSDISPLAY_COMPAT_USL 123options WSDISPLAY_COMPAT_RAWKBD 124# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 125#options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 126#options WS_DEFAULT_FG=WSCOL_WHITE 127#options WS_DEFAULT_BG=WSCOL_BLACK 128#options WS_DEFAULT_COLATTR="(0)" 129#options WS_DEFAULT_MONOATTR="(0)" 130options WS_KERNEL_FG=WSCOL_GREEN 131#options WS_KERNEL_BG=WSCOL_BLACK 132#options WS_KERNEL_COLATTR="" 133#options WS_KERNEL_MONOATTR="" 134 135# Development and Debugging options 136 137#options VERBOSE_INIT_ARM 138#options BOOT_DUMP # Enable memorydump at boot 139options DIAGNOSTIC # internal consistency checks 140#options DEBUG # expensive debugging checks/support 141#options PMAP_DEBUG # Enable pmap_debug_level code 142options DDB # in-kernel debugger 143#options DDB_HISTORY_SIZE=512 # Enable history editing in DDB 144#makeoptions DEBUG="-g" # compile full symbol table 145 146config netbsd root on ? type ? 147 148# The main bus device 149mainbus0 at root 150 151# The boot CPU 152cpu0 at mainbus? 153 154# integrated peripherals 155pxaip0 at mainbus? 156 157pxaintc0 at pxaip? addr 0x40d00000 # interrupt controller 158pxagpio0 at pxaip? addr 0x40e00000 # GPIO 159pxartc0 at pxaip? addr 0x40900000 # RTC 160 161# DMAC support 162pxadmac0 at pxaip? addr 0x40000000 intr 25 163options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 164#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 165 166# Serial 167# integrated 16550 UARTs 168options COM_PXA2X0 169com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 170#options CONSPEED=115200 171 172# OS Timer 173saost* at pxaip? addr 0x40a00000 size 0x20 174 175# Physical console 176lcd* at pxaip? 177wsdisplay* at lcd? console ? 178 179# for touchpad, keypad 180wzero3ssp0 at pxaip? 181 182# touchpad 183wzero3tp0 at pxaip? 184wsmouse* at wzero3tp? mux 0 185 186# keyboard 187wzero3kbd0 at pxaip? 188hpckbd* at wzero3kbd? 189wskbd0 at hpckbd? mux 1 190 191# keypad 192wzero3keypad0 at pxaip? 193wskbd1 at wzero3keypad? mux 1 194 195# integrated MMC/SD contoller 196pxamci0 at pxaip? addr 0x41100000 size 0x48 197sdmmc* at pxamci? 198ld* at sdmmc? # MMC/SD/SDHC card 199 200# USB Controller and Devices 201wzero3usb* at pxaip? 202ohci0 at pxaip? addr 0x4c000000 intr 3 # USB Host Controller 203 204# USB bus support 205usb* at ohci? 206 207# USB Hubs 208uhub* at usb? 209uhub* at uhub? port ? 210 211# USB HID device 212uhidev* at uhub? port ? configuration ? interface ? 213 214# USB Mice 215ums* at uhidev? reportid ? 216wsmouse* at ums? mux 0 217 218# USB Keyboards 219ukbd* at uhidev? reportid ? 220wskbd* at ukbd? console ? mux 1 221 222# USB Generic HID devices 223uhid* at uhidev? reportid ? 224 225# USB Mass Storage 226umass* at uhub? port ? configuration ? interface ? 227wd* at umass? 228 229# USB Ethernet adapters 230aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 231axe* at uhub? port ? # ASIX AX88172 based adapters 232cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 233cue* at uhub? port ? # CATC USB-EL1201A based adapters 234kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 235udav* at uhub? port ? # Davicom DM9601 based adapters 236url* at uhub? port ? # Realtek RTL8150L based adapters 237 238rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 239ukphy* at mii? phy ? # generic unknown PHYs 240urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 241 242# USB 802.11 adapters 243atu* at uhub? port ? # Atmel AT76C50XX based adapters 244#ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 245rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 246zyd* at uhub? port ? # Zydas ZD1211 247 248# SCSI bus support 249scsibus* at scsi? 250 251# SCSI devices 252sd* at scsibus? target ? lun ? # SCSI disk drives 253cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 254uk* at scsibus? target ? lun ? # SCSI unknown 255 256# USB Generic driver 257ugen* at uhub? port ? 258# On ugen bulk endpoints, perform read-ahead and write-behind. 259#options UGEN_BULK_RA_WB 260 261 262# Pseudo-devices 263pseudo-device loop # network loopback 264pseudo-device bpfilter # packet filter 265pseudo-device sl # CSLIP 266pseudo-device ppp # PPP 267pseudo-device tun # network tunneling over tty 268#pseudo-device gre # generic L3 over IP tunnel 269#pseudo-device ipfilter # ip filter 270#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 271#pseudo-device faith # IPv[46] tcp relay translation i/f 272#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 273#pseudo-device strip # STarmode Radio IP (Metricon Ricochet) 274 275#pseudo-device vlan # IEEE 802.1q encapsulation 276pseudo-device pty # pseudo-terminals 277pseudo-device vnd # disk-like interface to files 278#pseudo-device ccd 2 # concatenated disk devices 279#pseudo-device cgd 2 # cryptographic disk devices 280#pseudo-device raid 4 # RAIDframe disk driver 281#options RAID_AUTOCONFIG # auto-configuration of RAID components 282#pseudo-device fss # file system snapshot device 283 284pseudo-device biconsdev 1 # build-in console device 285 286pseudo-device md 1 # Ramdisk driver 287pseudo-device rnd # /dev/random and in-kernel generator 288pseudo-device clockctl # user control of clock subsystem 289pseudo-device ksyms # /dev/ksyms 290#pseudo-device bcsp # BlueCore Serial Protocol 291#pseudo-device btuart # Bluetooth HCI UART (H4) 292 293# wscons pseudo-devices 294pseudo-device wsmux # mouse & keyboard multiplexor 295pseudo-device wsfont 296