GENERIC revision 1.111
11.111Smaxv# $NetBSD: GENERIC,v 1.111 2018/08/01 20:04:11 maxv 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.110Ssevan# Alternate buffer queue strategies for better responsiveness under high 831.110Ssevan# disk I/O load. 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 DDB # in-kernel debugger 911.101Sszptvlfn#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 921.40Suwe#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 931.40Suwe#options KGDB # remote debugger 941.40Suwe#options KGDB_DEVRATE=19200 951.67Suwe#options KGDB_DEVNAME="\"scif\"" # HP Jornada 961.67Suwe#options KGDB_DEVNAME="\"hd64461uart\"" # HITACHI PERSONA (SH3) 971.67Suwe#options KGDB_DEVNAME="\"hd64465uart\"" # HITACHI PERSONA (SH4) 981.40Suwe#makeoptions DEBUG="-g" # compile full symbol table 991.26Stsutsui 1001.26Stsutsui# Compatibility options 1011.109Smrginclude "conf/compat_netbsd15.config" 1021.26Stsutsui#options BSDDISKLABEL_EI # endian independent disklabel support 1031.1Such 1041.1Such# Executable format options 1051.1Suchoptions EXEC_COFF # 32-bit COFF executables 1061.1Such 1071.1Such# File systems 1081.1Suchfile-system FFS # UFS 1091.89Stsutsuifile-system MFS # memory file system (requires FFS) 1101.40Suwe#file-system EXT2FS # second extended file system (linux) 1111.1Suchfile-system MSDOSFS # MS-DOS file system 1121.1Suchfile-system NFS # Sun NFS-compatible filesystem client 1131.40Suwe#file-system NULLFS # loopback file system 1141.40Suwe#file-system UMAPFS # NULLFS + uid and gid remapping 1151.40Suwe#file-system UNION # union file system 1161.40Suwe#file-system OVERLAY # overlay file system 1171.40Suwe#file-system FDESC # /dev/fd 1181.22Suchfile-system KERNFS # /kern 1191.22Suchfile-system PROCFS # /proc 1201.40Suwe#file-system CODA # Coda File System; also needs vcoda (below) 1211.40Suwe#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 1221.55Schristosfile-system PTYFS # /dev/pts/N support 1231.72Sjmmv#file-system TMPFS # Efficient memory file-system 1241.64Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1251.1Such 1261.1Such# File system options 1271.40Suwe#options FFS_EI # FFS Endian Independent support 1281.61Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 1291.105Smanu#options UFS_EXTATTR # Extended attribute support for UFS1 1301.95Sdhollandoptions WAPBL # File system journaling support 1311.40Suwe#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1321.40Suwe # immutable) behave as system flags. 1331.1Such 1341.1Such# Networking options 1351.1Suchoptions INET # IP + ICMP + TCP + UDP 1361.9Suchoptions INET6 # IPV6 1371.9Such 1381.38Suchoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1391.38Suchoptions PPP_DEFLATE # Deflate compression support for PPP 1401.38Suchoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1411.38Such 1421.37Sabs#options ALTQ # Manipulate network interfaces' output queues 1431.37Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1441.37Sabs#options ALTQ_CBQ # Class-Based Queueing 1451.37Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1461.37Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1471.37Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1481.37Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1491.37Sabs#options ALTQ_LOCALQ # Local queueing discipline 1501.37Sabs#options ALTQ_PRIQ # Priority Queueing 1511.37Sabs#options ALTQ_RED # Random Early Detection 1521.37Sabs#options ALTQ_RIO # RED with IN/OUT 1531.37Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1541.37Sabs 1551.40Suwe# These options enable verbose messages for several subsystems. 1561.40Suwe# Warning, these may compile large string tables into the kernel! 1571.40Suweoptions MIIVERBOSE # verbose PHY autoconfig messages 1581.40Suwe#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 1591.40Suwe 1601.1Suchoptions NFS_BOOT_DHCP 1611.1Such 1621.40Suwe# 1631.40Suwe# wscons options 1641.40Suwe# 1651.40Suwe# builtin terminal emulations 1661.1Suchoptions WSEMUL_VT100 1671.40Suwe# allocate a number of virtual screens at autoconfiguration time 1681.1Suchoptions WSDISPLAY_DEFAULTSCREENS=4 1691.56Suwe 1701.56Suwe# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 1711.56Suweoptions WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 1721.56Suwe#options WS_DEFAULT_FG=WSCOL_WHITE 1731.56Suwe#options WS_DEFAULT_BG=WSCOL_BLACK 1741.56Suwe#options WS_DEFAULT_COLATTR="(0)" 1751.56Suwe#options WS_DEFAULT_MONOATTR="(0)" 1761.1Suchoptions WS_KERNEL_FG=WSCOL_BROWN 1771.1Suchoptions WS_KERNEL_BG=WSCOL_BLUE 1781.56Suwe#options WS_KERNEL_COLATTR="" 1791.56Suwe#options WS_KERNEL_MONOATTR="" 1801.56Suwe 1811.38Such# compatibility to other console drivers 1821.38Suchoptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 1831.38Suchoptions WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 1841.97Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1851.38Suchoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1861.1Such 1871.40Suweoptions FONT_VT220L8x10 # the console font 1881.40Suwe 1891.40Suwe 1901.40Suwe# Kernel root file system and dump configuration. 1911.40Suweconfig netbsd root on ? type ? 1921.40Suwe 1931.1Such# 1941.1Such# Device configuration 1951.1Such# 1961.1Suchmainbus0 at root 1971.1Such 1981.39Such# temporally power management 1991.39Suchhpcapm0 at mainbus0 # power management 2001.39Suchapmdev0 at hpcapm0 # APM 2011.39Suchbtnmgr0 at mainbus0 2021.39Suchwskbd* at btnmgr0 mux 1 2031.39Such 2041.22Suchcpu* at mainbus? 2051.22Suchshb* at mainbus? 2061.71Suwertc* at shb? 2071.59Skiyoharaadc* at shb? # analog->digital converter 2081.22Suchpfckbd* at mainbus? 2091.1Such 2101.1Such# 2111.1Such# Workstation Console attachments 2121.1Such# 2131.3Suchhpcfb* at hd64461video? 2141.1Suchwsdisplay* at hpcfb? 2151.22Such 2161.1Suchhpckbd* at pfckbd? 2171.38Suchwskbd0 at hpckbd? mux 1 2181.1Such 2191.1Such# 2201.63Suwe# HP Jornada (620LX/660LX, 680/690) 2211.1Such# 2221.63Suwescif0 at shb? # serial port/console 2231.11Slukemoptions SCIFCN_SPEED=19200 2241.63Suwe# don't need to define SCIFCONSOLE, you can select from the bootloader. 2251.30Suwe 2261.63Suwej6x0pwr* at adc? # battery, on/off, etc 2271.30Suwe 2281.63Suwej6x0lcd* at shb? # LCD power, brightness, contrast 2291.32Suwe 2301.63Suwej6x0tp* at adc? # touch panel 2311.30Suwewsmouse* at j6x0tp? mux 0 # - as a pointing device 2321.30Suwewskbd1 at j6x0tp? mux 1 # - "hard icons" as keys 2331.30Suwe# Do not convert hard icons to key presses while serving mouse input. 2341.38Suchoptions J6X0TP_WSMOUSE_EXCLUSIVE 2351.30Suwe# Customization for the mini-keymap of hard icons. 2361.40Suwe#options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home" 2371.40Suwe#options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior" 2381.40Suwe#options J6X0TP_PGDN_ICON_KEYSYM="KS_Next" 2391.40Suwe#options J6X0TP_SWITCH_ICON_KEYSYM="KS_End" 2401.1Such 2411.18Such# 2421.18Such# HITACHI PERSONA (HPW-50PAD, HPQ-650PA) 2431.18Such# 2441.20Suchcom0 at hd64461if? 2451.20Such 2461.75Skiyoharapsh3pwr* at adc? # PERSONA SH3 battery, on/off, etc 2471.75Skiyohara 2481.63Suwepsh3lcd* at shb? # LCD power, brightness, contrast 2491.58Skiyohara 2501.48Skiyoharapsh3tp* at adc? # PERSONA SH3 touch panel 2511.48Skiyoharawsmouse* at psh3tp? mux 0 2521.48Skiyohara 2531.63Suwe# 2541.63Suwe# Common HD64461 devices 2551.63Suwe# 2561.59Skiyoharahd64461if* at shb? 2571.63Suwe 2581.59Skiyoharahd64461pcmcia* at hd64461if? 2591.63Suwe#options HD64461PCMCIA_DEBUG 2601.59Skiyohara#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 2611.63Suwe 2621.59Skiyoharahd64461video* at hd64461if? 2631.63Suwe#options HD64461VIDEO_DEBUG 2641.63Suwe#options HD64461VIDEO_HWACCEL # XXX: too slow to bother 2651.63Suwe 2661.59Skiyohara 2671.1Such# 2681.1Such# machine independent part 2691.1Such# 2701.40Suwe 2711.1Such# PCMCIA bus support 2721.40Suwe#pcmcia* at hd64461pcmcia? controller ? socket ? 2731.1Suchpcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 2741.1Suchpcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 2751.1Such 2761.40Suwe# PCMCIA IDE controllers 2771.40Suwe#wdc* at pcmcia? function ? 2781.40Suwewdc0 at pcmcia1 function ? # CF slot 2791.40Suwewdc1 at pcmcia0 function ? # PC Card slot 2801.40Suwe 2811.40Suwe# ATA (IDE) bus support 2821.40Suwe#atabus* at ata? 2831.40Suweatabus0 at wdc0 channel ? # CF slot 2841.40Suweatabus1 at wdc1 channel ? # PC Card slot 2851.40Suwe 2861.40Suwe# IDE drives 2871.40Suwewd* at atabus? drive ? flags 0x0000 2881.40Suwe 2891.1Such# PCMCIA network interfaces 2901.31Suwembe* at pcmcia0 function ? # MB8696x based Ethernet 2911.1Suchne* at pcmcia0 function ? # NE2000-compatible Ethernet 2921.31Suwewi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 2931.22Such 2941.40Suwe# MII/PHY support 2951.42Suwelxtphy* at mii? phy ? # Level One LXT-970 PHYs 2961.40Suwensphyter* at mii? phy ? # NS83843 PHYs 2971.5Suchukphy* at mii? phy ? # generic unknown PHYs 2981.1Such 2991.38Such# PCMCIA Serial Devices 3001.38Suchcom* at pcmcia? function ? # Modems and serial cards 3011.38Such 3021.78Skiyohara# Bluetooth Controller and Device support 3031.78Skiyohara 3041.78Skiyohara# Bluetooth PCMCIA Controllers 3051.78Skiyoharabt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 3061.78Skiyoharabtbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 3071.78Skiyohara 3081.78Skiyohara# Bluetooth Device Hub 3091.78Skiyoharabthub* at bcsp? 3101.78Skiyoharabthub* at bt3c? 3111.78Skiyoharabthub* at btbc? 3121.78Skiyoharabthub* at btuart? 3131.78Skiyohara 3141.78Skiyohara# Bluetooth HID support 3151.78Skiyohara#bthidev* at bthub? 3161.78Skiyohara 3171.78Skiyohara# Bluetooth Mouse 3181.78Skiyohara#btms* at bthidev? reportid ? 3191.78Skiyohara#wsmouse* at btms? mux 0 3201.78Skiyohara 3211.78Skiyohara# Bluetooth Keyboard 3221.78Skiyohara#btkbd* at bthidev? reportid ? 3231.78Skiyohara#wskbd* at btkbd? console ? mux 1 3241.78Skiyohara 3251.91Splunky# Bluetooth Apple Magic Mouse 3261.91Splunky#btmagic* at bthub? 3271.91Splunky#wsmouse* at btmagic? mux 0 3281.91Splunky 3291.78Skiyohara# Bluetooth Audio support 3301.78Skiyohara#btsco* at bthub? 3311.78Skiyohara 3321.40Suwe 3331.40Suwe# Pseudo-Devices 3341.40Suwe 3351.40Suwe# disk/mass storage pseudo-devices 3361.66Scube#pseudo-device vnd # disk-like interface to files 3371.51Shubertf#options VND_COMPRESSION # compressed vnd(4) 3381.88Spookapseudo-device fss # file system snapshot device 3391.1Such 3401.1Such# network pseudo-devices 3411.38Suchpseudo-device loop # network loopback 3421.66Scubepseudo-device ppp # serial-line IP ports 3431.65Srpaulopseudo-device bpfilter # Berkeley packet filter 3441.68Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3451.111Smaxv#pseudo-device npf # NPF packet filter 3461.1Such 3471.81Stls# 3481.81Stls# accept filters 3491.81Stlspseudo-device accf_data # "dataready" accept filter 3501.81Stlspseudo-device accf_http # "httpready" accept filter 3511.81Stls 3521.1Such# miscellaneous pseudo-devices 3531.1Suchpseudo-device pty # pseudo-terminals 3541.25Slukempseudo-device clockctl # user control of clock subsystem 3551.40Suwe#pseudo-device irframetty # IrDA frame line discipline 3561.31Suwepseudo-device ksyms # kernel symbol table interface 3571.78Skiyoharapseudo-device bcsp # BlueCore Serial Protocol 3581.78Skiyoharapseudo-device btuart # Bluetooth HCI UART (H4) 3591.1Such 3601.40Suwe# a pseudo device needed for Coda # also needs CODA (above) 3611.99Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 3621.40Suwe 3631.40Suwe# a pseudo device needed for SMBFS 3641.40Suwe#pseudo-device nsmb # experimental - SMB requester 3651.40Suwe 3661.40Suwe# wscons pseudo-devices 3671.40Suwepseudo-device wsmux # mouse & keyboard multiplexor 3681.40Suwe#pseudo-device wsfont # dynamic font loading support 3691.40Suwe#pseudo-device hpf1275a # HP F1275A external keyboard 3701.40Suwe#wskbd* at hpf1275a? mux 1 3711.62Selad 3721.62Selad# Veriexec 3731.62Selad# 3741.62Selad# a pseudo device needed for veriexec 3751.99Schristos#pseudo-device veriexec 3761.62Selad# 3771.62Selad# Uncomment the fingerprint methods below that are desired. Note that 3781.62Selad# removing fingerprint methods will have almost no impact on the kernel 3791.62Selad# code size. 3801.62Selad# 3811.62Selad#options VERIFIED_EXEC_FP_SHA256 3821.62Selad#options VERIFIED_EXEC_FP_SHA384 3831.62Selad#options VERIFIED_EXEC_FP_SHA512 384