GENERIC revision 1.105
11.105Smanu# $NetBSD: GENERIC,v 1.105 2014/11/12 10:47:22 manu 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.105Smanu#options UFS_EXTATTR # Extended attribute support for UFS1 1391.105Smanu#options UFS_EXTATTR_AUTOSTART 1401.105Smanu#options UFS_EXTATTR_AUTOCREATE=1024 1411.95Sdhollandoptions WAPBL # File system journaling support 1421.40Suwe#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1431.40Suwe # immutable) behave as system flags. 1441.1Such 1451.1Such# Networking options 1461.1Suchoptions INET # IP + ICMP + TCP + UDP 1471.9Suchoptions INET6 # IPV6 1481.9Such 1491.38Suchoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1501.38Suchoptions PPP_DEFLATE # Deflate compression support for PPP 1511.38Suchoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1521.38Such 1531.57Suwe#options IPFILTER_LOG # ipmon(8) log support 1541.70Schristos#options IPFILTER_LOOKUP # ippool(8) support 1551.57Suwe#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1561.57Suwe 1571.37Sabs#options ALTQ # Manipulate network interfaces' output queues 1581.37Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1591.37Sabs#options ALTQ_CBQ # Class-Based Queueing 1601.37Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1611.37Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1621.37Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1631.37Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1641.37Sabs#options ALTQ_LOCALQ # Local queueing discipline 1651.37Sabs#options ALTQ_PRIQ # Priority Queueing 1661.37Sabs#options ALTQ_RED # Random Early Detection 1671.37Sabs#options ALTQ_RIO # RED with IN/OUT 1681.37Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1691.37Sabs 1701.40Suwe# These options enable verbose messages for several subsystems. 1711.40Suwe# Warning, these may compile large string tables into the kernel! 1721.40Suweoptions MIIVERBOSE # verbose PHY autoconfig messages 1731.40Suwe#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 1741.40Suwe 1751.1Suchoptions NFS_BOOT_DHCP 1761.1Such 1771.40Suwe# 1781.40Suwe# wscons options 1791.40Suwe# 1801.40Suwe# builtin terminal emulations 1811.1Suchoptions WSEMUL_VT100 1821.40Suwe# allocate a number of virtual screens at autoconfiguration time 1831.1Suchoptions WSDISPLAY_DEFAULTSCREENS=4 1841.56Suwe 1851.56Suwe# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 1861.56Suweoptions WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 1871.56Suwe#options WS_DEFAULT_FG=WSCOL_WHITE 1881.56Suwe#options WS_DEFAULT_BG=WSCOL_BLACK 1891.56Suwe#options WS_DEFAULT_COLATTR="(0)" 1901.56Suwe#options WS_DEFAULT_MONOATTR="(0)" 1911.1Suchoptions WS_KERNEL_FG=WSCOL_BROWN 1921.1Suchoptions WS_KERNEL_BG=WSCOL_BLUE 1931.56Suwe#options WS_KERNEL_COLATTR="" 1941.56Suwe#options WS_KERNEL_MONOATTR="" 1951.56Suwe 1961.38Such# compatibility to other console drivers 1971.38Suchoptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 1981.38Suchoptions WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 1991.97Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 2001.38Suchoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 2011.1Such 2021.40Suweoptions FONT_VT220L8x10 # the console font 2031.40Suwe 2041.40Suwe 2051.40Suwe# Kernel root file system and dump configuration. 2061.40Suweconfig netbsd root on ? type ? 2071.40Suwe 2081.1Such# 2091.1Such# Device configuration 2101.1Such# 2111.1Suchmainbus0 at root 2121.1Such 2131.39Such# temporally power management 2141.39Suchhpcapm0 at mainbus0 # power management 2151.39Suchapmdev0 at hpcapm0 # APM 2161.39Suchbtnmgr0 at mainbus0 2171.39Suchwskbd* at btnmgr0 mux 1 2181.39Such 2191.22Suchcpu* at mainbus? 2201.22Suchshb* at mainbus? 2211.71Suwertc* at shb? 2221.59Skiyoharaadc* at shb? # analog->digital converter 2231.22Suchpfckbd* at mainbus? 2241.1Such 2251.1Such# 2261.1Such# Workstation Console attachments 2271.1Such# 2281.3Suchhpcfb* at hd64461video? 2291.1Suchwsdisplay* at hpcfb? 2301.22Such 2311.1Suchhpckbd* at pfckbd? 2321.38Suchwskbd0 at hpckbd? mux 1 2331.1Such 2341.1Such# 2351.63Suwe# HP Jornada (620LX/660LX, 680/690) 2361.1Such# 2371.63Suwescif0 at shb? # serial port/console 2381.11Slukemoptions SCIFCN_SPEED=19200 2391.63Suwe# don't need to define SCIFCONSOLE, you can select from the bootloader. 2401.30Suwe 2411.63Suwej6x0pwr* at adc? # battery, on/off, etc 2421.30Suwe 2431.63Suwej6x0lcd* at shb? # LCD power, brightness, contrast 2441.32Suwe 2451.63Suwej6x0tp* at adc? # touch panel 2461.30Suwewsmouse* at j6x0tp? mux 0 # - as a pointing device 2471.30Suwewskbd1 at j6x0tp? mux 1 # - "hard icons" as keys 2481.30Suwe# Do not convert hard icons to key presses while serving mouse input. 2491.38Suchoptions J6X0TP_WSMOUSE_EXCLUSIVE 2501.30Suwe# Customization for the mini-keymap of hard icons. 2511.40Suwe#options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home" 2521.40Suwe#options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior" 2531.40Suwe#options J6X0TP_PGDN_ICON_KEYSYM="KS_Next" 2541.40Suwe#options J6X0TP_SWITCH_ICON_KEYSYM="KS_End" 2551.1Such 2561.18Such# 2571.18Such# HITACHI PERSONA (HPW-50PAD, HPQ-650PA) 2581.18Such# 2591.20Suchcom0 at hd64461if? 2601.20Such 2611.75Skiyoharapsh3pwr* at adc? # PERSONA SH3 battery, on/off, etc 2621.75Skiyohara 2631.63Suwepsh3lcd* at shb? # LCD power, brightness, contrast 2641.58Skiyohara 2651.48Skiyoharapsh3tp* at adc? # PERSONA SH3 touch panel 2661.48Skiyoharawsmouse* at psh3tp? mux 0 2671.48Skiyohara 2681.63Suwe# 2691.63Suwe# Common HD64461 devices 2701.63Suwe# 2711.59Skiyoharahd64461if* at shb? 2721.63Suwe 2731.59Skiyoharahd64461pcmcia* at hd64461if? 2741.63Suwe#options HD64461PCMCIA_DEBUG 2751.59Skiyohara#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 2761.63Suwe 2771.59Skiyoharahd64461video* at hd64461if? 2781.63Suwe#options HD64461VIDEO_DEBUG 2791.63Suwe#options HD64461VIDEO_HWACCEL # XXX: too slow to bother 2801.63Suwe 2811.59Skiyohara 2821.1Such# 2831.1Such# machine independent part 2841.1Such# 2851.40Suwe 2861.1Such# PCMCIA bus support 2871.40Suwe#pcmcia* at hd64461pcmcia? controller ? socket ? 2881.1Suchpcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 2891.1Suchpcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 2901.1Such 2911.40Suwe# PCMCIA IDE controllers 2921.40Suwe#wdc* at pcmcia? function ? 2931.40Suwewdc0 at pcmcia1 function ? # CF slot 2941.40Suwewdc1 at pcmcia0 function ? # PC Card slot 2951.40Suwe 2961.40Suwe# ATA (IDE) bus support 2971.40Suwe#atabus* at ata? 2981.40Suweatabus0 at wdc0 channel ? # CF slot 2991.40Suweatabus1 at wdc1 channel ? # PC Card slot 3001.40Suwe 3011.40Suwe# IDE drives 3021.40Suwewd* at atabus? drive ? flags 0x0000 3031.40Suwe 3041.1Such# PCMCIA network interfaces 3051.31Suwembe* at pcmcia0 function ? # MB8696x based Ethernet 3061.1Suchne* at pcmcia0 function ? # NE2000-compatible Ethernet 3071.31Suwewi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 3081.22Such 3091.40Suwe# MII/PHY support 3101.42Suwelxtphy* at mii? phy ? # Level One LXT-970 PHYs 3111.40Suwensphyter* at mii? phy ? # NS83843 PHYs 3121.5Suchukphy* at mii? phy ? # generic unknown PHYs 3131.1Such 3141.38Such# PCMCIA Serial Devices 3151.38Suchcom* at pcmcia? function ? # Modems and serial cards 3161.38Such 3171.78Skiyohara# Bluetooth Controller and Device support 3181.78Skiyohara 3191.78Skiyohara# Bluetooth PCMCIA Controllers 3201.78Skiyoharabt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 3211.78Skiyoharabtbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 3221.78Skiyohara 3231.78Skiyohara# Bluetooth Device Hub 3241.78Skiyoharabthub* at bcsp? 3251.78Skiyoharabthub* at bt3c? 3261.78Skiyoharabthub* at btbc? 3271.78Skiyoharabthub* at btuart? 3281.78Skiyohara 3291.78Skiyohara# Bluetooth HID support 3301.78Skiyohara#bthidev* at bthub? 3311.78Skiyohara 3321.78Skiyohara# Bluetooth Mouse 3331.78Skiyohara#btms* at bthidev? reportid ? 3341.78Skiyohara#wsmouse* at btms? mux 0 3351.78Skiyohara 3361.78Skiyohara# Bluetooth Keyboard 3371.78Skiyohara#btkbd* at bthidev? reportid ? 3381.78Skiyohara#wskbd* at btkbd? console ? mux 1 3391.78Skiyohara 3401.91Splunky# Bluetooth Apple Magic Mouse 3411.91Splunky#btmagic* at bthub? 3421.91Splunky#wsmouse* at btmagic? mux 0 3431.91Splunky 3441.78Skiyohara# Bluetooth Audio support 3451.78Skiyohara#btsco* at bthub? 3461.78Skiyohara 3471.40Suwe 3481.40Suwe# Pseudo-Devices 3491.40Suwe 3501.40Suwe# disk/mass storage pseudo-devices 3511.66Scube#pseudo-device vnd # disk-like interface to files 3521.51Shubertf#options VND_COMPRESSION # compressed vnd(4) 3531.88Spookapseudo-device fss # file system snapshot device 3541.1Such 3551.1Such# network pseudo-devices 3561.38Suchpseudo-device loop # network loopback 3571.66Scubepseudo-device ppp # serial-line IP ports 3581.65Srpaulopseudo-device bpfilter # Berkeley packet filter 3591.68Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3601.40Suwe#pseudo-device ipfilter # IP filter, NAT 3611.40Suwe#pseudo-device pf # PF packet filter 3621.40Suwe#pseudo-device pflog # PF log if 3631.1Such 3641.81Stls# 3651.81Stls# accept filters 3661.81Stlspseudo-device accf_data # "dataready" accept filter 3671.81Stlspseudo-device accf_http # "httpready" accept filter 3681.81Stls 3691.1Such# miscellaneous pseudo-devices 3701.1Suchpseudo-device pty # pseudo-terminals 3711.25Slukempseudo-device clockctl # user control of clock subsystem 3721.40Suwe#pseudo-device irframetty # IrDA frame line discipline 3731.31Suwepseudo-device ksyms # kernel symbol table interface 3741.78Skiyoharapseudo-device bcsp # BlueCore Serial Protocol 3751.78Skiyoharapseudo-device btuart # Bluetooth HCI UART (H4) 3761.1Such 3771.40Suwe# a pseudo device needed for Coda # also needs CODA (above) 3781.99Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 3791.40Suwe 3801.40Suwe# a pseudo device needed for SMBFS 3811.40Suwe#pseudo-device nsmb # experimental - SMB requester 3821.40Suwe 3831.40Suwe# wscons pseudo-devices 3841.40Suwepseudo-device wsmux # mouse & keyboard multiplexor 3851.40Suwe#pseudo-device wsfont # dynamic font loading support 3861.40Suwe#pseudo-device hpf1275a # HP F1275A external keyboard 3871.40Suwe#wskbd* at hpf1275a? mux 1 3881.62Selad 3891.62Selad# Veriexec 3901.62Selad# 3911.62Selad# a pseudo device needed for veriexec 3921.99Schristos#pseudo-device veriexec 3931.62Selad# 3941.62Selad# Uncomment the fingerprint methods below that are desired. Note that 3951.62Selad# removing fingerprint methods will have almost no impact on the kernel 3961.62Selad# code size. 3971.62Selad# 3981.62Selad#options VERIFIED_EXEC_FP_RMD160 3991.62Selad#options VERIFIED_EXEC_FP_SHA256 4001.62Selad#options VERIFIED_EXEC_FP_SHA384 4011.62Selad#options VERIFIED_EXEC_FP_SHA512 4021.62Selad#options VERIFIED_EXEC_FP_SHA1 4031.62Selad#options VERIFIED_EXEC_FP_MD5 404