GENERIC revision 1.81
11.81Stls# $NetBSD: GENERIC,v 1.81 2008/08/10 15:31:21 tls 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.40Suwe 351.40Suwe# System options specific to hpcsh 361.40Suwe 371.40Suwe# CPU support. At least one is REQUIRED. 381.40Suweoptions SH3 391.40Suwe#options SH4 401.40Suwe 411.40Suwe# Example of how to set gcc optimization options (XXX: not tested) 421.40Suwe#makeoptions COPTS="-Os" # generic 431.40Suwe#makeoptions CPUFLAGS="-m3" # CPU specific 441.40Suwe 451.20Such# 461.20Such# PCLOCK is estimated by kernel. 471.20Such# PCLOCK CPU CLOCK 481.20Such# HP Jornada 680/690 22.22MHz 133MHz 491.63Suwe# HP 620LX 18.75MHz 75MHz 501.20Such# HITACHI HPW50PA 25MHz 100MHz 511.20Such# 521.40Suwe#options PCLOCK=... 531.1Such 541.40Suwe# in-kernel bootloader, see kloader(4) 551.74Suweoptions KLOADER 561.74Suwe#options KLOADER_KERNEL_PATH="\"/netbsd\"" 571.40Suwe#options KLOADER_DEBUG 581.40Suwe 591.47Suwe#options HPC_DEBUG_INTERRUPT_MONITOR 601.47Suwe#options KSTACK_DEBUG 611.40Suwe 621.1Such 631.1Such# Standard system options 641.40Suwe 651.33Suwe#options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT 661.33Suwe # (overrides tz info that hpcboot.exe passes) 671.1Such 681.40Suweoptions KTRACE # system call tracing via ktrace(1) 691.40Suwe 701.40Suwe#options SYSVMSG # System V-like message queues 711.40Suwe#options SYSVSEM # System V-like semaphores 721.40Suwe#options SYSVSHM # System V-like memory sharing 731.40Suwe#options P1003_1B_SEMAPHORE # p1003.1b semaphore support 741.40Suwe 751.40Suwe#options LKM # loadable kernel modules 761.40Suwe 771.27Slukemoptions USERCONF # userconf(4) support 781.40Suweoptions PIPE_SOCKETPAIR # smaller, but slower pipe(2) 791.41Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 801.40Suwe 811.40Suwe# Enable experimental buffer queue strategy for better responsiveness under 821.40Suwe# high disk I/O load. Likely stable but not yet the default. 831.49Stsutsui#options BUFQ_READPRIO 841.49Stsutsui#options BUFQ_PRIOCSCAN 851.40Suwe 861.40Suwe# Diagnostic/debugging support options 871.40Suwe#options DIAGNOSTIC # expensive kernel consistency checks 881.40Suwe#options DEBUG # expensive debugging checks/support 891.40Suwe#options KMEMSTATS # kernel memory statistics (vmstat -m) 901.40Suwe#options DDB # in-kernel debugger 911.40Suwe#options DDB_ONPANIC=1 # see also sysctl(8): `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.40Suweoptions COMPAT_15 # NetBSD 1.5 1021.40Suweoptions COMPAT_16 # NetBSD 1.6 1031.40Suweoptions COMPAT_20 # NetBSD 2.0 1041.54Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 1051.73Suweoptions COMPAT_40 # NetBSD 4.0 compatibility. 1061.26Stsutsui#options BSDDISKLABEL_EI # endian independent disklabel support 1071.47Suweoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1081.1Such 1091.1Such# Executable format options 1101.1Suchoptions EXEC_COFF # 32-bit COFF executables 1111.1Such 1121.1Such# File systems 1131.1Suchfile-system FFS # UFS 1141.40Suwe#file-system MFS # memory file system (requires FFS) 1151.40Suwe#file-system EXT2FS # second extended file system (linux) 1161.1Suchfile-system MSDOSFS # MS-DOS file system 1171.1Suchfile-system NFS # Sun NFS-compatible filesystem client 1181.40Suwe#file-system NULLFS # loopback file system 1191.40Suwe#file-system UMAPFS # NULLFS + uid and gid remapping 1201.40Suwe#file-system UNION # union file system 1211.40Suwe#file-system OVERLAY # overlay file system 1221.40Suwe#file-system PORTAL # portal filesystem (still experimental) 1231.40Suwe#file-system FDESC # /dev/fd 1241.22Suchfile-system KERNFS # /kern 1251.22Suchfile-system PROCFS # /proc 1261.40Suwe#file-system CODA # Coda File System; also needs vcoda (below) 1271.40Suwe#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 1281.55Schristosfile-system PTYFS # /dev/pts/N support 1291.72Sjmmv#file-system TMPFS # Efficient memory file-system 1301.64Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1311.1Such 1321.1Such# File system options 1331.40Suwe#options FFS_EI # FFS Endian Independent support 1341.61Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 1351.40Suwe#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1361.40Suwe # immutable) behave as system flags. 1371.1Such 1381.1Such# Networking options 1391.1Suchoptions INET # IP + ICMP + TCP + UDP 1401.9Suchoptions INET6 # IPV6 1411.9Such 1421.38Suchoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1431.38Suchoptions PPP_DEFLATE # Deflate compression support for PPP 1441.38Suchoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1451.38Such 1461.57Suwe#options PFIL_HOOKS # pfil(9) packet filter hooks 1471.57Suwe#options IPFILTER_LOG # ipmon(8) log support 1481.70Schristos#options IPFILTER_LOOKUP # ippool(8) support 1491.57Suwe#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1501.57Suwe 1511.37Sabs#options ALTQ # Manipulate network interfaces' output queues 1521.37Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1531.37Sabs#options ALTQ_CBQ # Class-Based Queueing 1541.37Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1551.37Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1561.37Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1571.37Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1581.37Sabs#options ALTQ_LOCALQ # Local queueing discipline 1591.37Sabs#options ALTQ_PRIQ # Priority Queueing 1601.37Sabs#options ALTQ_RED # Random Early Detection 1611.37Sabs#options ALTQ_RIO # RED with IN/OUT 1621.37Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1631.37Sabs 1641.40Suwe# These options enable verbose messages for several subsystems. 1651.40Suwe# Warning, these may compile large string tables into the kernel! 1661.40Suweoptions MIIVERBOSE # verbose PHY autoconfig messages 1671.40Suwe#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 1681.40Suwe 1691.1Suchoptions NFS_BOOT_DHCP 1701.1Such 1711.40Suwe# 1721.40Suwe# wscons options 1731.40Suwe# 1741.40Suwe# builtin terminal emulations 1751.1Suchoptions WSEMUL_VT100 1761.40Suwe# allocate a number of virtual screens at autoconfiguration time 1771.1Suchoptions WSDISPLAY_DEFAULTSCREENS=4 1781.56Suwe 1791.56Suwe# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 1801.56Suweoptions WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 1811.56Suwe#options WS_DEFAULT_FG=WSCOL_WHITE 1821.56Suwe#options WS_DEFAULT_BG=WSCOL_BLACK 1831.56Suwe#options WS_DEFAULT_COLATTR="(0)" 1841.56Suwe#options WS_DEFAULT_MONOATTR="(0)" 1851.1Suchoptions WS_KERNEL_FG=WSCOL_BROWN 1861.1Suchoptions WS_KERNEL_BG=WSCOL_BLUE 1871.56Suwe#options WS_KERNEL_COLATTR="" 1881.56Suwe#options WS_KERNEL_MONOATTR="" 1891.56Suwe 1901.38Such# compatibility to other console drivers 1911.38Suchoptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 1921.38Suchoptions WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 1931.38Suchoptions WSDISPLAY_COMPAT_USL # VT handling 1941.38Suchoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1951.1Such 1961.40Suweoptions FONT_VT220L8x10 # the console font 1971.40Suwe 1981.40Suwe 1991.40Suwe# Kernel root file system and dump configuration. 2001.40Suweconfig netbsd root on ? type ? 2011.40Suwe 2021.1Such# 2031.1Such# Device configuration 2041.1Such# 2051.1Suchmainbus0 at root 2061.1Such 2071.39Such# temporally power management 2081.39Suchhpcapm0 at mainbus0 # power management 2091.39Suchapmdev0 at hpcapm0 # APM 2101.39Suchbtnmgr0 at mainbus0 2111.39Suchwskbd* at btnmgr0 mux 1 2121.39Such 2131.22Suchcpu* at mainbus? 2141.22Suchshb* at mainbus? 2151.71Suwertc* at shb? 2161.59Skiyoharaadc* at shb? # analog->digital converter 2171.22Suchpfckbd* at mainbus? 2181.1Such 2191.1Such# 2201.1Such# Workstation Console attachments 2211.1Such# 2221.3Suchhpcfb* at hd64461video? 2231.1Suchwsdisplay* at hpcfb? 2241.22Such 2251.1Suchhpckbd* at pfckbd? 2261.38Suchwskbd0 at hpckbd? mux 1 2271.1Such 2281.1Such# 2291.63Suwe# HP Jornada (620LX/660LX, 680/690) 2301.1Such# 2311.63Suwescif0 at shb? # serial port/console 2321.11Slukemoptions SCIFCN_SPEED=19200 2331.63Suwe# don't need to define SCIFCONSOLE, you can select from the bootloader. 2341.30Suwe 2351.63Suwej6x0pwr* at adc? # battery, on/off, etc 2361.30Suwe 2371.63Suwej6x0lcd* at shb? # LCD power, brightness, contrast 2381.32Suwe 2391.63Suwej6x0tp* at adc? # touch panel 2401.30Suwewsmouse* at j6x0tp? mux 0 # - as a pointing device 2411.30Suwewskbd1 at j6x0tp? mux 1 # - "hard icons" as keys 2421.30Suwe# Do not convert hard icons to key presses while serving mouse input. 2431.38Suchoptions J6X0TP_WSMOUSE_EXCLUSIVE 2441.30Suwe# Customization for the mini-keymap of hard icons. 2451.40Suwe#options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home" 2461.40Suwe#options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior" 2471.40Suwe#options J6X0TP_PGDN_ICON_KEYSYM="KS_Next" 2481.40Suwe#options J6X0TP_SWITCH_ICON_KEYSYM="KS_End" 2491.1Such 2501.18Such# 2511.18Such# HITACHI PERSONA (HPW-50PAD, HPQ-650PA) 2521.18Such# 2531.20Suchcom0 at hd64461if? 2541.20Such 2551.75Skiyoharapsh3pwr* at adc? # PERSONA SH3 battery, on/off, etc 2561.75Skiyohara 2571.63Suwepsh3lcd* at shb? # LCD power, brightness, contrast 2581.58Skiyohara 2591.48Skiyoharapsh3tp* at adc? # PERSONA SH3 touch panel 2601.48Skiyoharawsmouse* at psh3tp? mux 0 2611.48Skiyohara 2621.63Suwe# 2631.63Suwe# Common HD64461 devices 2641.63Suwe# 2651.59Skiyoharahd64461if* at shb? 2661.63Suwe 2671.59Skiyoharahd64461pcmcia* at hd64461if? 2681.63Suwe#options HD64461PCMCIA_DEBUG 2691.59Skiyohara#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 2701.63Suwe 2711.59Skiyoharahd64461video* at hd64461if? 2721.63Suwe#options HD64461VIDEO_DEBUG 2731.63Suwe#options HD64461VIDEO_HWACCEL # XXX: too slow to bother 2741.63Suwe 2751.59Skiyohara 2761.1Such# 2771.1Such# machine independent part 2781.1Such# 2791.40Suwe 2801.1Such# PCMCIA bus support 2811.40Suwe#pcmcia* at hd64461pcmcia? controller ? socket ? 2821.1Suchpcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 2831.1Suchpcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 2841.1Such 2851.40Suwe# PCMCIA IDE controllers 2861.40Suwe#wdc* at pcmcia? function ? 2871.40Suwewdc0 at pcmcia1 function ? # CF slot 2881.40Suwewdc1 at pcmcia0 function ? # PC Card slot 2891.40Suwe 2901.40Suwe# ATA (IDE) bus support 2911.40Suwe#atabus* at ata? 2921.40Suweatabus0 at wdc0 channel ? # CF slot 2931.40Suweatabus1 at wdc1 channel ? # PC Card slot 2941.40Suwe 2951.40Suwe# IDE drives 2961.40Suwewd* at atabus? drive ? flags 0x0000 2971.40Suwe 2981.1Such# PCMCIA network interfaces 2991.31Suwembe* at pcmcia0 function ? # MB8696x based Ethernet 3001.1Suchne* at pcmcia0 function ? # NE2000-compatible Ethernet 3011.31Suwewi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 3021.22Such 3031.40Suwe# MII/PHY support 3041.42Suwelxtphy* at mii? phy ? # Level One LXT-970 PHYs 3051.40Suwensphyter* at mii? phy ? # NS83843 PHYs 3061.5Suchukphy* at mii? phy ? # generic unknown PHYs 3071.1Such 3081.38Such# PCMCIA Serial Devices 3091.38Suchcom* at pcmcia? function ? # Modems and serial cards 3101.38Such 3111.78Skiyohara# Bluetooth Controller and Device support 3121.78Skiyohara 3131.78Skiyohara# Bluetooth PCMCIA Controllers 3141.78Skiyoharabt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 3151.78Skiyoharabtbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 3161.78Skiyohara 3171.78Skiyohara# Bluetooth Device Hub 3181.78Skiyoharabthub* at bcsp? 3191.78Skiyoharabthub* at bt3c? 3201.78Skiyoharabthub* at btbc? 3211.78Skiyoharabthub* at btuart? 3221.78Skiyohara 3231.78Skiyohara# Bluetooth HID support 3241.78Skiyohara#bthidev* at bthub? 3251.78Skiyohara 3261.78Skiyohara# Bluetooth Mouse 3271.78Skiyohara#btms* at bthidev? reportid ? 3281.78Skiyohara#wsmouse* at btms? mux 0 3291.78Skiyohara 3301.78Skiyohara# Bluetooth Keyboard 3311.78Skiyohara#btkbd* at bthidev? reportid ? 3321.78Skiyohara#wskbd* at btkbd? console ? mux 1 3331.78Skiyohara 3341.78Skiyohara# Bluetooth Audio support 3351.78Skiyohara#btsco* at bthub? 3361.78Skiyohara 3371.40Suwe 3381.40Suwe# Pseudo-Devices 3391.40Suwe 3401.40Suwe# disk/mass storage pseudo-devices 3411.66Scube#pseudo-device vnd # disk-like interface to files 3421.51Shubertf#options VND_COMPRESSION # compressed vnd(4) 3431.44Shannkenpseudo-device fss 4 # file system snapshot device 3441.1Such 3451.1Such# network pseudo-devices 3461.38Suchpseudo-device loop # network loopback 3471.66Scubepseudo-device ppp # serial-line IP ports 3481.65Srpaulopseudo-device bpfilter # Berkeley packet filter 3491.68Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3501.40Suwe#pseudo-device ipfilter # IP filter, NAT 3511.40Suwe#pseudo-device pf # PF packet filter 3521.40Suwe#pseudo-device pflog # PF log if 3531.1Such 3541.81Stls# 3551.81Stls# accept filters 3561.81Stlspseudo-device accf_data # "dataready" accept filter 3571.81Stlspseudo-device accf_http # "httpready" accept filter 3581.81Stls 3591.1Such# miscellaneous pseudo-devices 3601.1Suchpseudo-device pty # pseudo-terminals 3611.6Skanaokapseudo-device rnd # /dev/random and in-kernel generator 3621.25Slukempseudo-device clockctl # user control of clock subsystem 3631.40Suwe#pseudo-device irframetty # IrDA frame line discipline 3641.31Suwepseudo-device ksyms # kernel symbol table interface 3651.78Skiyoharapseudo-device bcsp # BlueCore Serial Protocol 3661.78Skiyoharapseudo-device btuart # Bluetooth HCI UART (H4) 3671.1Such 3681.40Suwe# a pseudo device needed for Coda # also needs CODA (above) 3691.40Suwe#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3701.40Suwe 3711.40Suwe# a pseudo device needed for SMBFS 3721.40Suwe#pseudo-device nsmb # experimental - SMB requester 3731.40Suwe 3741.40Suwe# wscons pseudo-devices 3751.40Suwepseudo-device wsmux # mouse & keyboard multiplexor 3761.40Suwe#pseudo-device wsfont # dynamic font loading support 3771.40Suwe#pseudo-device hpf1275a # HP F1275A external keyboard 3781.40Suwe#wskbd* at hpf1275a? mux 1 3791.62Selad 3801.62Selad# Veriexec 3811.62Selad# 3821.62Selad# a pseudo device needed for veriexec 3831.62Selad#pseudo-device veriexec 1 3841.62Selad# 3851.62Selad# Uncomment the fingerprint methods below that are desired. Note that 3861.62Selad# removing fingerprint methods will have almost no impact on the kernel 3871.62Selad# code size. 3881.62Selad# 3891.62Selad#options VERIFIED_EXEC_FP_RMD160 3901.62Selad#options VERIFIED_EXEC_FP_SHA256 3911.62Selad#options VERIFIED_EXEC_FP_SHA384 3921.62Selad#options VERIFIED_EXEC_FP_SHA512 3931.62Selad#options VERIFIED_EXEC_FP_SHA1 3941.62Selad#options VERIFIED_EXEC_FP_MD5 395