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