GENERIC revision 1.104
11.104Sjnemeth# $NetBSD: GENERIC,v 1.104 2014/08/24 07:59:22 jnemeth Exp $ 21.1Such# 31.13Sgmcgarry# GENERIC machine description file 41.63Suwe# 51.13Sgmcgarry# This machine description file is used to generate the default NetBSD 61.13Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.13Sgmcgarry# and device drivers, but should be useful for most applications. 81.1Such# 91.13Sgmcgarry# The machine description file can be customised for your specific 101.13Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.13Sgmcgarry# 121.13Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.13Sgmcgarry# man page. 141.13Sgmcgarry# 151.13Sgmcgarry# For further information on hardware support for this architecture, see 161.13Sgmcgarry# the intro(4) man page. For further information about kernel options 171.13Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.13Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.13Sgmcgarry# device. 201.1Such 211.20Such# 221.20Such# This kernel supports... 231.20Such# HP Jornada 680/690 241.63Suwe# HP 620LX/660LX 251.20Such# HITACHI HPW50PA 261.20Such# 271.20Such 281.13Sgmcgarryinclude "arch/hpcsh/conf/std.hpcsh" 291.24Satatat 301.24Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 311.1Such 321.1Suchmaxusers 32 # estimated number of users 331.1Such 341.90Stsutsuioptions HZ=64 # default clock rate 351.40Suwe 361.40Suwe# System options specific to hpcsh 371.40Suwe 381.40Suwe# CPU support. At least one is REQUIRED. 391.40Suweoptions SH3 401.40Suwe#options SH4 411.40Suwe 421.40Suwe# Example of how to set gcc optimization options (XXX: not tested) 431.40Suwe#makeoptions COPTS="-Os" # generic 441.40Suwe#makeoptions CPUFLAGS="-m3" # CPU specific 451.40Suwe 461.20Such# 471.20Such# PCLOCK is estimated by kernel. 481.20Such# PCLOCK CPU CLOCK 491.20Such# HP Jornada 680/690 22.22MHz 133MHz 501.63Suwe# HP 620LX 18.75MHz 75MHz 511.20Such# HITACHI HPW50PA 25MHz 100MHz 521.20Such# 531.40Suwe#options PCLOCK=... 541.1Such 551.40Suwe# in-kernel bootloader, see kloader(4) 561.74Suweoptions KLOADER 571.74Suwe#options KLOADER_KERNEL_PATH="\"/netbsd\"" 581.40Suwe#options KLOADER_DEBUG 591.40Suwe 601.47Suwe#options HPC_DEBUG_INTERRUPT_MONITOR 611.47Suwe#options KSTACK_DEBUG 621.40Suwe 631.1Such 641.1Such# Standard system options 651.40Suwe 661.33Suwe#options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT 671.33Suwe # (overrides tz info that hpcboot.exe passes) 681.1Such 691.40Suweoptions KTRACE # system call tracing via ktrace(1) 701.40Suwe 711.92Stsutsuioptions SYSVMSG # System V-like message queues 721.92Stsutsuioptions SYSVSEM # System V-like semaphores 731.92Stsutsuioptions SYSVSHM # System V-like memory sharing 741.40Suwe 751.93Stsutsui#options MODULAR # new style module(7) framework 761.104Sjnemeth#options MODULAR_DEFAULT_AUTOLOAD 771.40Suwe 781.27Slukemoptions USERCONF # userconf(4) support 791.40Suweoptions PIPE_SOCKETPAIR # smaller, but slower pipe(2) 801.41Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 811.40Suwe 821.40Suwe# Enable experimental buffer queue strategy for better responsiveness under 831.40Suwe# high disk I/O load. Likely stable but not yet the default. 841.49Stsutsui#options BUFQ_READPRIO 851.49Stsutsui#options BUFQ_PRIOCSCAN 861.40Suwe 871.40Suwe# Diagnostic/debugging support options 881.40Suwe#options DIAGNOSTIC # expensive kernel consistency checks 891.40Suwe#options DEBUG # expensive debugging checks/support 901.40Suwe#options KMEMSTATS # kernel memory statistics (vmstat -m) 911.40Suwe#options DDB # in-kernel debugger 921.101Sszptvlfn#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 931.40Suwe#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 941.40Suwe#options KGDB # remote debugger 951.40Suwe#options KGDB_DEVRATE=19200 961.67Suwe#options KGDB_DEVNAME="\"scif\"" # HP Jornada 971.67Suwe#options KGDB_DEVNAME="\"hd64461uart\"" # HITACHI PERSONA (SH3) 981.67Suwe#options KGDB_DEVNAME="\"hd64465uart\"" # HITACHI PERSONA (SH4) 991.40Suwe#makeoptions DEBUG="-g" # compile full symbol table 1001.26Stsutsui 1011.26Stsutsui# Compatibility options 1021.103Sdhollandoptions COMPAT_15 # NetBSD 1.5, 1031.103Sdhollandoptions COMPAT_16 # NetBSD 1.6, 1041.103Sdhollandoptions COMPAT_20 # NetBSD 2.0, 1051.103Sdhollandoptions COMPAT_30 # NetBSD 3.0, 1061.103Sdhollandoptions COMPAT_40 # NetBSD 4.0, 1071.103Sdhollandoptions COMPAT_50 # NetBSD 5.0, 1081.103Sdhollandoptions COMPAT_60 # NetBSD 6.0, and 1091.103Sdhollandoptions COMPAT_70 # NetBSD 7.0 binary compatibility. 1101.26Stsutsui#options BSDDISKLABEL_EI # endian independent disklabel support 1111.47Suweoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1121.1Such 1131.1Such# Executable format options 1141.1Suchoptions EXEC_COFF # 32-bit COFF executables 1151.1Such 1161.1Such# File systems 1171.1Suchfile-system FFS # UFS 1181.89Stsutsuifile-system MFS # memory file system (requires FFS) 1191.40Suwe#file-system EXT2FS # second extended file system (linux) 1201.1Suchfile-system MSDOSFS # MS-DOS file system 1211.1Suchfile-system NFS # Sun NFS-compatible filesystem client 1221.40Suwe#file-system NULLFS # loopback file system 1231.40Suwe#file-system UMAPFS # NULLFS + uid and gid remapping 1241.40Suwe#file-system UNION # union file system 1251.40Suwe#file-system OVERLAY # overlay file system 1261.40Suwe#file-system FDESC # /dev/fd 1271.22Suchfile-system KERNFS # /kern 1281.22Suchfile-system PROCFS # /proc 1291.40Suwe#file-system CODA # Coda File System; also needs vcoda (below) 1301.40Suwe#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 1311.55Schristosfile-system PTYFS # /dev/pts/N support 1321.72Sjmmv#file-system TMPFS # Efficient memory file-system 1331.64Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1341.1Such 1351.1Such# File system options 1361.40Suwe#options FFS_EI # FFS Endian Independent support 1371.61Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 1381.95Sdhollandoptions WAPBL # File system journaling support 1391.40Suwe#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1401.40Suwe # immutable) behave as system flags. 1411.1Such 1421.1Such# Networking options 1431.1Suchoptions INET # IP + ICMP + TCP + UDP 1441.9Suchoptions INET6 # IPV6 1451.9Such 1461.38Suchoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1471.38Suchoptions PPP_DEFLATE # Deflate compression support for PPP 1481.38Suchoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1491.38Such 1501.57Suwe#options IPFILTER_LOG # ipmon(8) log support 1511.70Schristos#options IPFILTER_LOOKUP # ippool(8) support 1521.57Suwe#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1531.57Suwe 1541.37Sabs#options ALTQ # Manipulate network interfaces' output queues 1551.37Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1561.37Sabs#options ALTQ_CBQ # Class-Based Queueing 1571.37Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1581.37Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1591.37Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1601.37Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1611.37Sabs#options ALTQ_LOCALQ # Local queueing discipline 1621.37Sabs#options ALTQ_PRIQ # Priority Queueing 1631.37Sabs#options ALTQ_RED # Random Early Detection 1641.37Sabs#options ALTQ_RIO # RED with IN/OUT 1651.37Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1661.37Sabs 1671.40Suwe# These options enable verbose messages for several subsystems. 1681.40Suwe# Warning, these may compile large string tables into the kernel! 1691.40Suweoptions MIIVERBOSE # verbose PHY autoconfig messages 1701.40Suwe#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 1711.40Suwe 1721.1Suchoptions NFS_BOOT_DHCP 1731.1Such 1741.40Suwe# 1751.40Suwe# wscons options 1761.40Suwe# 1771.40Suwe# builtin terminal emulations 1781.1Suchoptions WSEMUL_VT100 1791.40Suwe# allocate a number of virtual screens at autoconfiguration time 1801.1Suchoptions WSDISPLAY_DEFAULTSCREENS=4 1811.56Suwe 1821.56Suwe# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 1831.56Suweoptions WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 1841.56Suwe#options WS_DEFAULT_FG=WSCOL_WHITE 1851.56Suwe#options WS_DEFAULT_BG=WSCOL_BLACK 1861.56Suwe#options WS_DEFAULT_COLATTR="(0)" 1871.56Suwe#options WS_DEFAULT_MONOATTR="(0)" 1881.1Suchoptions WS_KERNEL_FG=WSCOL_BROWN 1891.1Suchoptions WS_KERNEL_BG=WSCOL_BLUE 1901.56Suwe#options WS_KERNEL_COLATTR="" 1911.56Suwe#options WS_KERNEL_MONOATTR="" 1921.56Suwe 1931.38Such# compatibility to other console drivers 1941.38Suchoptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 1951.38Suchoptions WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 1961.97Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1971.38Suchoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1981.1Such 1991.40Suweoptions FONT_VT220L8x10 # the console font 2001.40Suwe 2011.40Suwe 2021.40Suwe# Kernel root file system and dump configuration. 2031.40Suweconfig netbsd root on ? type ? 2041.40Suwe 2051.1Such# 2061.1Such# Device configuration 2071.1Such# 2081.1Suchmainbus0 at root 2091.1Such 2101.39Such# temporally power management 2111.39Suchhpcapm0 at mainbus0 # power management 2121.39Suchapmdev0 at hpcapm0 # APM 2131.39Suchbtnmgr0 at mainbus0 2141.39Suchwskbd* at btnmgr0 mux 1 2151.39Such 2161.22Suchcpu* at mainbus? 2171.22Suchshb* at mainbus? 2181.71Suwertc* at shb? 2191.59Skiyoharaadc* at shb? # analog->digital converter 2201.22Suchpfckbd* at mainbus? 2211.1Such 2221.1Such# 2231.1Such# Workstation Console attachments 2241.1Such# 2251.3Suchhpcfb* at hd64461video? 2261.1Suchwsdisplay* at hpcfb? 2271.22Such 2281.1Suchhpckbd* at pfckbd? 2291.38Suchwskbd0 at hpckbd? mux 1 2301.1Such 2311.1Such# 2321.63Suwe# HP Jornada (620LX/660LX, 680/690) 2331.1Such# 2341.63Suwescif0 at shb? # serial port/console 2351.11Slukemoptions SCIFCN_SPEED=19200 2361.63Suwe# don't need to define SCIFCONSOLE, you can select from the bootloader. 2371.30Suwe 2381.63Suwej6x0pwr* at adc? # battery, on/off, etc 2391.30Suwe 2401.63Suwej6x0lcd* at shb? # LCD power, brightness, contrast 2411.32Suwe 2421.63Suwej6x0tp* at adc? # touch panel 2431.30Suwewsmouse* at j6x0tp? mux 0 # - as a pointing device 2441.30Suwewskbd1 at j6x0tp? mux 1 # - "hard icons" as keys 2451.30Suwe# Do not convert hard icons to key presses while serving mouse input. 2461.38Suchoptions J6X0TP_WSMOUSE_EXCLUSIVE 2471.30Suwe# Customization for the mini-keymap of hard icons. 2481.40Suwe#options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home" 2491.40Suwe#options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior" 2501.40Suwe#options J6X0TP_PGDN_ICON_KEYSYM="KS_Next" 2511.40Suwe#options J6X0TP_SWITCH_ICON_KEYSYM="KS_End" 2521.1Such 2531.18Such# 2541.18Such# HITACHI PERSONA (HPW-50PAD, HPQ-650PA) 2551.18Such# 2561.20Suchcom0 at hd64461if? 2571.20Such 2581.75Skiyoharapsh3pwr* at adc? # PERSONA SH3 battery, on/off, etc 2591.75Skiyohara 2601.63Suwepsh3lcd* at shb? # LCD power, brightness, contrast 2611.58Skiyohara 2621.48Skiyoharapsh3tp* at adc? # PERSONA SH3 touch panel 2631.48Skiyoharawsmouse* at psh3tp? mux 0 2641.48Skiyohara 2651.63Suwe# 2661.63Suwe# Common HD64461 devices 2671.63Suwe# 2681.59Skiyoharahd64461if* at shb? 2691.63Suwe 2701.59Skiyoharahd64461pcmcia* at hd64461if? 2711.63Suwe#options HD64461PCMCIA_DEBUG 2721.59Skiyohara#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 2731.63Suwe 2741.59Skiyoharahd64461video* at hd64461if? 2751.63Suwe#options HD64461VIDEO_DEBUG 2761.63Suwe#options HD64461VIDEO_HWACCEL # XXX: too slow to bother 2771.63Suwe 2781.59Skiyohara 2791.1Such# 2801.1Such# machine independent part 2811.1Such# 2821.40Suwe 2831.1Such# PCMCIA bus support 2841.40Suwe#pcmcia* at hd64461pcmcia? controller ? socket ? 2851.1Suchpcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 2861.1Suchpcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 2871.1Such 2881.40Suwe# PCMCIA IDE controllers 2891.40Suwe#wdc* at pcmcia? function ? 2901.40Suwewdc0 at pcmcia1 function ? # CF slot 2911.40Suwewdc1 at pcmcia0 function ? # PC Card slot 2921.40Suwe 2931.40Suwe# ATA (IDE) bus support 2941.40Suwe#atabus* at ata? 2951.40Suweatabus0 at wdc0 channel ? # CF slot 2961.40Suweatabus1 at wdc1 channel ? # PC Card slot 2971.40Suwe 2981.40Suwe# IDE drives 2991.40Suwewd* at atabus? drive ? flags 0x0000 3001.40Suwe 3011.1Such# PCMCIA network interfaces 3021.31Suwembe* at pcmcia0 function ? # MB8696x based Ethernet 3031.1Suchne* at pcmcia0 function ? # NE2000-compatible Ethernet 3041.31Suwewi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 3051.22Such 3061.40Suwe# MII/PHY support 3071.42Suwelxtphy* at mii? phy ? # Level One LXT-970 PHYs 3081.40Suwensphyter* at mii? phy ? # NS83843 PHYs 3091.5Suchukphy* at mii? phy ? # generic unknown PHYs 3101.1Such 3111.38Such# PCMCIA Serial Devices 3121.38Suchcom* at pcmcia? function ? # Modems and serial cards 3131.38Such 3141.78Skiyohara# Bluetooth Controller and Device support 3151.78Skiyohara 3161.78Skiyohara# Bluetooth PCMCIA Controllers 3171.78Skiyoharabt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 3181.78Skiyoharabtbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 3191.78Skiyohara 3201.78Skiyohara# Bluetooth Device Hub 3211.78Skiyoharabthub* at bcsp? 3221.78Skiyoharabthub* at bt3c? 3231.78Skiyoharabthub* at btbc? 3241.78Skiyoharabthub* at btuart? 3251.78Skiyohara 3261.78Skiyohara# Bluetooth HID support 3271.78Skiyohara#bthidev* at bthub? 3281.78Skiyohara 3291.78Skiyohara# Bluetooth Mouse 3301.78Skiyohara#btms* at bthidev? reportid ? 3311.78Skiyohara#wsmouse* at btms? mux 0 3321.78Skiyohara 3331.78Skiyohara# Bluetooth Keyboard 3341.78Skiyohara#btkbd* at bthidev? reportid ? 3351.78Skiyohara#wskbd* at btkbd? console ? mux 1 3361.78Skiyohara 3371.91Splunky# Bluetooth Apple Magic Mouse 3381.91Splunky#btmagic* at bthub? 3391.91Splunky#wsmouse* at btmagic? mux 0 3401.91Splunky 3411.78Skiyohara# Bluetooth Audio support 3421.78Skiyohara#btsco* at bthub? 3431.78Skiyohara 3441.40Suwe 3451.40Suwe# Pseudo-Devices 3461.40Suwe 3471.40Suwe# disk/mass storage pseudo-devices 3481.66Scube#pseudo-device vnd # disk-like interface to files 3491.51Shubertf#options VND_COMPRESSION # compressed vnd(4) 3501.88Spookapseudo-device fss # file system snapshot device 3511.1Such 3521.1Such# network pseudo-devices 3531.38Suchpseudo-device loop # network loopback 3541.66Scubepseudo-device ppp # serial-line IP ports 3551.65Srpaulopseudo-device bpfilter # Berkeley packet filter 3561.68Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3571.40Suwe#pseudo-device ipfilter # IP filter, NAT 3581.40Suwe#pseudo-device pf # PF packet filter 3591.40Suwe#pseudo-device pflog # PF log if 3601.1Such 3611.81Stls# 3621.81Stls# accept filters 3631.81Stlspseudo-device accf_data # "dataready" accept filter 3641.81Stlspseudo-device accf_http # "httpready" accept filter 3651.81Stls 3661.1Such# miscellaneous pseudo-devices 3671.1Suchpseudo-device pty # pseudo-terminals 3681.25Slukempseudo-device clockctl # user control of clock subsystem 3691.40Suwe#pseudo-device irframetty # IrDA frame line discipline 3701.31Suwepseudo-device ksyms # kernel symbol table interface 3711.78Skiyoharapseudo-device bcsp # BlueCore Serial Protocol 3721.78Skiyoharapseudo-device btuart # Bluetooth HCI UART (H4) 3731.1Such 3741.40Suwe# a pseudo device needed for Coda # also needs CODA (above) 3751.99Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 3761.40Suwe 3771.40Suwe# a pseudo device needed for SMBFS 3781.40Suwe#pseudo-device nsmb # experimental - SMB requester 3791.40Suwe 3801.40Suwe# wscons pseudo-devices 3811.40Suwepseudo-device wsmux # mouse & keyboard multiplexor 3821.40Suwe#pseudo-device wsfont # dynamic font loading support 3831.40Suwe#pseudo-device hpf1275a # HP F1275A external keyboard 3841.40Suwe#wskbd* at hpf1275a? mux 1 3851.62Selad 3861.62Selad# Veriexec 3871.62Selad# 3881.62Selad# a pseudo device needed for veriexec 3891.99Schristos#pseudo-device veriexec 3901.62Selad# 3911.62Selad# Uncomment the fingerprint methods below that are desired. Note that 3921.62Selad# removing fingerprint methods will have almost no impact on the kernel 3931.62Selad# code size. 3941.62Selad# 3951.62Selad#options VERIFIED_EXEC_FP_RMD160 3961.62Selad#options VERIFIED_EXEC_FP_SHA256 3971.62Selad#options VERIFIED_EXEC_FP_SHA384 3981.62Selad#options VERIFIED_EXEC_FP_SHA512 3991.62Selad#options VERIFIED_EXEC_FP_SHA1 4001.62Selad#options VERIFIED_EXEC_FP_MD5 401