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