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