1# $NetBSD: GENERIC,v 1.101 2014/03/24 14:15:38 szptvlfn Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21# 22# This kernel supports... 23# HP Jornada 680/690 24# HP 620LX/660LX 25# HITACHI HPW50PA 26# 27 28include "arch/hpcsh/conf/std.hpcsh" 29 30options INCLUDE_CONFIG_FILE # embed config file in kernel binary 31 32maxusers 32 # estimated number of users 33 34options HZ=64 # default clock rate 35 36# System options specific to hpcsh 37 38# CPU support. At least one is REQUIRED. 39options SH3 40#options SH4 41 42# Example of how to set gcc optimization options (XXX: not tested) 43#makeoptions COPTS="-Os" # generic 44#makeoptions CPUFLAGS="-m3" # CPU specific 45 46# 47# PCLOCK is estimated by kernel. 48# PCLOCK CPU CLOCK 49# HP Jornada 680/690 22.22MHz 133MHz 50# HP 620LX 18.75MHz 75MHz 51# HITACHI HPW50PA 25MHz 100MHz 52# 53#options PCLOCK=... 54 55# in-kernel bootloader, see kloader(4) 56options KLOADER 57#options KLOADER_KERNEL_PATH="\"/netbsd\"" 58#options KLOADER_DEBUG 59 60#options HPC_DEBUG_INTERRUPT_MONITOR 61#options KSTACK_DEBUG 62 63 64# Standard system options 65 66#options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT 67 # (overrides tz info that hpcboot.exe passes) 68 69options KTRACE # system call tracing via ktrace(1) 70 71options SYSVMSG # System V-like message queues 72options SYSVSEM # System V-like semaphores 73options SYSVSHM # System V-like memory sharing 74 75#options MODULAR # new style module(7) framework 76 77options USERCONF # userconf(4) support 78options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 79options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 80 81# Enable experimental buffer queue strategy for better responsiveness under 82# high disk I/O load. Likely stable but not yet the default. 83#options BUFQ_READPRIO 84#options BUFQ_PRIOCSCAN 85 86# Diagnostic/debugging support options 87#options DIAGNOSTIC # expensive kernel consistency checks 88#options DEBUG # expensive debugging checks/support 89#options KMEMSTATS # kernel memory statistics (vmstat -m) 90#options DDB # in-kernel debugger 91#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 92#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 93#options KGDB # remote debugger 94#options KGDB_DEVRATE=19200 95#options KGDB_DEVNAME="\"scif\"" # HP Jornada 96#options KGDB_DEVNAME="\"hd64461uart\"" # HITACHI PERSONA (SH3) 97#options KGDB_DEVNAME="\"hd64465uart\"" # HITACHI PERSONA (SH4) 98#makeoptions DEBUG="-g" # compile full symbol table 99 100# Compatibility options 101options COMPAT_15 # NetBSD 1.5 102options COMPAT_16 # NetBSD 1.6 103options COMPAT_20 # NetBSD 2.0 104options COMPAT_30 # NetBSD 3.0 compatibility. 105options COMPAT_40 # NetBSD 4.0 compatibility. 106options COMPAT_50 # NetBSD 5.0 compatibility. 107options COMPAT_60 # NetBSD 6.0 compatibility. 108#options BSDDISKLABEL_EI # endian independent disklabel support 109options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 110 111# Executable format options 112options EXEC_COFF # 32-bit COFF executables 113 114# File systems 115file-system FFS # UFS 116file-system MFS # memory file system (requires FFS) 117#file-system EXT2FS # second extended file system (linux) 118file-system MSDOSFS # MS-DOS file system 119file-system NFS # Sun NFS-compatible filesystem client 120#file-system NULLFS # loopback file system 121#file-system UMAPFS # NULLFS + uid and gid remapping 122#file-system UNION # union file system 123#file-system OVERLAY # overlay file system 124#file-system FDESC # /dev/fd 125file-system KERNFS # /kern 126file-system PROCFS # /proc 127#file-system CODA # Coda File System; also needs vcoda (below) 128#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 129file-system PTYFS # /dev/pts/N support 130#file-system TMPFS # Efficient memory file-system 131#file-system UDF # experimental - OSTA UDF CD/DVD file-system 132 133# File system options 134#options FFS_EI # FFS Endian Independent support 135options FFS_NO_SNAPSHOT # No FFS snapshot support 136options WAPBL # File system journaling support 137#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 138 # immutable) behave as system flags. 139 140# Networking options 141options INET # IP + ICMP + TCP + UDP 142options INET6 # IPV6 143 144options PPP_BSDCOMP # BSD-Compress compression support for PPP 145options PPP_DEFLATE # Deflate compression support for PPP 146options PPP_FILTER # Active filter support for PPP (requires bpf) 147 148#options IPFILTER_LOG # ipmon(8) log support 149#options IPFILTER_LOOKUP # ippool(8) support 150#options IPFILTER_DEFAULT_BLOCK # block all packets by default 151 152#options ALTQ # Manipulate network interfaces' output queues 153#options ALTQ_BLUE # Stochastic Fair Blue 154#options ALTQ_CBQ # Class-Based Queueing 155#options ALTQ_CDNR # Diffserv Traffic Conditioner 156#options ALTQ_FIFOQ # First-In First-Out Queue 157#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 158#options ALTQ_HFSC # Hierarchical Fair Service Curve 159#options ALTQ_LOCALQ # Local queueing discipline 160#options ALTQ_PRIQ # Priority Queueing 161#options ALTQ_RED # Random Early Detection 162#options ALTQ_RIO # RED with IN/OUT 163#options ALTQ_WFQ # Weighted Fair Queueing 164 165# These options enable verbose messages for several subsystems. 166# Warning, these may compile large string tables into the kernel! 167options MIIVERBOSE # verbose PHY autoconfig messages 168#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 169 170options NFS_BOOT_DHCP 171 172# 173# wscons options 174# 175# builtin terminal emulations 176options WSEMUL_VT100 177# allocate a number of virtual screens at autoconfiguration time 178options WSDISPLAY_DEFAULTSCREENS=4 179 180# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 181options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 182#options WS_DEFAULT_FG=WSCOL_WHITE 183#options WS_DEFAULT_BG=WSCOL_BLACK 184#options WS_DEFAULT_COLATTR="(0)" 185#options WS_DEFAULT_MONOATTR="(0)" 186options WS_KERNEL_FG=WSCOL_BROWN 187options WS_KERNEL_BG=WSCOL_BLUE 188#options WS_KERNEL_COLATTR="" 189#options WS_KERNEL_MONOATTR="" 190 191# compatibility to other console drivers 192options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 193options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 194options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 195options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 196 197options FONT_VT220L8x10 # the console font 198 199 200# Kernel root file system and dump configuration. 201config netbsd root on ? type ? 202 203# 204# Device configuration 205# 206mainbus0 at root 207 208# temporally power management 209hpcapm0 at mainbus0 # power management 210apmdev0 at hpcapm0 # APM 211btnmgr0 at mainbus0 212wskbd* at btnmgr0 mux 1 213 214cpu* at mainbus? 215shb* at mainbus? 216rtc* at shb? 217adc* at shb? # analog->digital converter 218pfckbd* at mainbus? 219 220# 221# Workstation Console attachments 222# 223hpcfb* at hd64461video? 224wsdisplay* at hpcfb? 225 226hpckbd* at pfckbd? 227wskbd0 at hpckbd? mux 1 228 229# 230# HP Jornada (620LX/660LX, 680/690) 231# 232scif0 at shb? # serial port/console 233options SCIFCN_SPEED=19200 234# don't need to define SCIFCONSOLE, you can select from the bootloader. 235 236j6x0pwr* at adc? # battery, on/off, etc 237 238j6x0lcd* at shb? # LCD power, brightness, contrast 239 240j6x0tp* at adc? # touch panel 241wsmouse* at j6x0tp? mux 0 # - as a pointing device 242wskbd1 at j6x0tp? mux 1 # - "hard icons" as keys 243# Do not convert hard icons to key presses while serving mouse input. 244options J6X0TP_WSMOUSE_EXCLUSIVE 245# Customization for the mini-keymap of hard icons. 246#options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home" 247#options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior" 248#options J6X0TP_PGDN_ICON_KEYSYM="KS_Next" 249#options J6X0TP_SWITCH_ICON_KEYSYM="KS_End" 250 251# 252# HITACHI PERSONA (HPW-50PAD, HPQ-650PA) 253# 254com0 at hd64461if? 255 256psh3pwr* at adc? # PERSONA SH3 battery, on/off, etc 257 258psh3lcd* at shb? # LCD power, brightness, contrast 259 260psh3tp* at adc? # PERSONA SH3 touch panel 261wsmouse* at psh3tp? mux 0 262 263# 264# Common HD64461 devices 265# 266hd64461if* at shb? 267 268hd64461pcmcia* at hd64461if? 269#options HD64461PCMCIA_DEBUG 270#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 271 272hd64461video* at hd64461if? 273#options HD64461VIDEO_DEBUG 274#options HD64461VIDEO_HWACCEL # XXX: too slow to bother 275 276 277# 278# machine independent part 279# 280 281# PCMCIA bus support 282#pcmcia* at hd64461pcmcia? controller ? socket ? 283pcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 284pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 285 286# PCMCIA IDE controllers 287#wdc* at pcmcia? function ? 288wdc0 at pcmcia1 function ? # CF slot 289wdc1 at pcmcia0 function ? # PC Card slot 290 291# ATA (IDE) bus support 292#atabus* at ata? 293atabus0 at wdc0 channel ? # CF slot 294atabus1 at wdc1 channel ? # PC Card slot 295 296# IDE drives 297wd* at atabus? drive ? flags 0x0000 298 299# PCMCIA network interfaces 300mbe* at pcmcia0 function ? # MB8696x based Ethernet 301ne* at pcmcia0 function ? # NE2000-compatible Ethernet 302wi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 303 304# MII/PHY support 305lxtphy* at mii? phy ? # Level One LXT-970 PHYs 306nsphyter* at mii? phy ? # NS83843 PHYs 307ukphy* at mii? phy ? # generic unknown PHYs 308 309# PCMCIA Serial Devices 310com* at pcmcia? function ? # Modems and serial cards 311 312# Bluetooth Controller and Device support 313 314# Bluetooth PCMCIA Controllers 315bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 316btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 317 318# Bluetooth Device Hub 319bthub* at bcsp? 320bthub* at bt3c? 321bthub* at btbc? 322bthub* at btuart? 323 324# Bluetooth HID support 325#bthidev* at bthub? 326 327# Bluetooth Mouse 328#btms* at bthidev? reportid ? 329#wsmouse* at btms? mux 0 330 331# Bluetooth Keyboard 332#btkbd* at bthidev? reportid ? 333#wskbd* at btkbd? console ? mux 1 334 335# Bluetooth Apple Magic Mouse 336#btmagic* at bthub? 337#wsmouse* at btmagic? mux 0 338 339# Bluetooth Audio support 340#btsco* at bthub? 341 342 343# Pseudo-Devices 344 345# disk/mass storage pseudo-devices 346#pseudo-device vnd # disk-like interface to files 347#options VND_COMPRESSION # compressed vnd(4) 348pseudo-device fss # file system snapshot device 349 350# network pseudo-devices 351pseudo-device loop # network loopback 352pseudo-device ppp # serial-line IP ports 353pseudo-device bpfilter # Berkeley packet filter 354#pseudo-device carp # Common Address Redundancy Protocol 355#pseudo-device ipfilter # IP filter, NAT 356#pseudo-device pf # PF packet filter 357#pseudo-device pflog # PF log if 358 359# 360# accept filters 361pseudo-device accf_data # "dataready" accept filter 362pseudo-device accf_http # "httpready" accept filter 363 364# miscellaneous pseudo-devices 365pseudo-device pty # pseudo-terminals 366pseudo-device clockctl # user control of clock subsystem 367#pseudo-device irframetty # IrDA frame line discipline 368pseudo-device ksyms # kernel symbol table interface 369pseudo-device bcsp # BlueCore Serial Protocol 370pseudo-device btuart # Bluetooth HCI UART (H4) 371 372# a pseudo device needed for Coda # also needs CODA (above) 373#pseudo-device vcoda # coda minicache <-> venus comm. 374 375# a pseudo device needed for SMBFS 376#pseudo-device nsmb # experimental - SMB requester 377 378# wscons pseudo-devices 379pseudo-device wsmux # mouse & keyboard multiplexor 380#pseudo-device wsfont # dynamic font loading support 381#pseudo-device hpf1275a # HP F1275A external keyboard 382#wskbd* at hpf1275a? mux 1 383 384# Veriexec 385# 386# a pseudo device needed for veriexec 387#pseudo-device veriexec 388# 389# Uncomment the fingerprint methods below that are desired. Note that 390# removing fingerprint methods will have almost no impact on the kernel 391# code size. 392# 393#options VERIFIED_EXEC_FP_RMD160 394#options VERIFIED_EXEC_FP_SHA256 395#options VERIFIED_EXEC_FP_SHA384 396#options VERIFIED_EXEC_FP_SHA512 397#options VERIFIED_EXEC_FP_SHA1 398#options VERIFIED_EXEC_FP_MD5 399