GENERIC revision 1.73
11.73Suwe# $NetBSD: GENERIC,v 1.73 2007/06/01 14:30:32 uwe 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.20Suchoptions KLOADER_KERNEL_PATH="\"/netbsd\"" 561.40Suwe#options KLOADER_DEBUG 571.40Suwe 581.47Suwe#options HPC_DEBUG_INTERRUPT_MONITOR 591.47Suwe#options KSTACK_DEBUG 601.40Suwe 611.1Such 621.1Such# Standard system options 631.40Suwe 641.33Suwe#options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT 651.33Suwe # (overrides tz info that hpcboot.exe passes) 661.1Such 671.40Suweoptions KTRACE # system call tracing via ktrace(1) 681.40Suwe#options SYSTRACE # system call vetting via systrace(1) 691.40Suwe 701.40Suwe#options SYSVMSG # System V-like message queues 711.40Suwe#options SYSVSEM # System V-like semaphores 721.40Suwe#options SEMMNI=10 # number of semaphore identifiers 731.40Suwe#options SEMMNS=60 # number of semaphores in system 741.40Suwe#options SEMUME=10 # max number of undo entries per process 751.40Suwe#options SEMMNU=30 # number of undo structures in system 761.40Suwe#options SYSVSHM # System V-like memory sharing 771.40Suwe#options SHMMAXPGS=2048 # 2048 pages is the default 781.40Suwe#options P1003_1B_SEMAPHORE # p1003.1b semaphore support 791.40Suwe 801.40Suwe#options LKM # loadable kernel modules 811.40Suwe 821.27Slukemoptions USERCONF # userconf(4) support 831.40Suweoptions PIPE_SOCKETPAIR # smaller, but slower pipe(2) 841.41Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 851.40Suwe 861.40Suwe# Enable experimental buffer queue strategy for better responsiveness under 871.40Suwe# high disk I/O load. Likely stable but not yet the default. 881.49Stsutsui#options BUFQ_READPRIO 891.49Stsutsui#options BUFQ_PRIOCSCAN 901.40Suwe 911.40Suwe# Diagnostic/debugging support options 921.40Suwe#options DIAGNOSTIC # expensive kernel consistency checks 931.40Suwe#options DEBUG # expensive debugging checks/support 941.40Suwe#options KMEMSTATS # kernel memory statistics (vmstat -m) 951.40Suwe#options DDB # in-kernel debugger 961.40Suwe#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 971.40Suwe#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 981.40Suwe#options KGDB # remote debugger 991.40Suwe#options KGDB_DEVRATE=19200 1001.67Suwe#options KGDB_DEVNAME="\"scif\"" # HP Jornada 1011.67Suwe#options KGDB_DEVNAME="\"hd64461uart\"" # HITACHI PERSONA (SH3) 1021.67Suwe#options KGDB_DEVNAME="\"hd64465uart\"" # HITACHI PERSONA (SH4) 1031.40Suwe#makeoptions DEBUG="-g" # compile full symbol table 1041.26Stsutsui 1051.26Stsutsui# Compatibility options 1061.40Suweoptions COMPAT_15 # NetBSD 1.5 1071.40Suweoptions COMPAT_16 # NetBSD 1.6 1081.40Suweoptions COMPAT_20 # NetBSD 2.0 1091.54Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 1101.73Suweoptions COMPAT_40 # NetBSD 4.0 compatibility. 1111.26Stsutsui#options BSDDISKLABEL_EI # endian independent disklabel support 1121.47Suweoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1131.1Such 1141.1Such# Executable format options 1151.1Suchoptions EXEC_COFF # 32-bit COFF executables 1161.1Suchoptions EXEC_ELF32 # 32-bit ELF executables 1171.1Such 1181.1Such# File systems 1191.1Suchfile-system FFS # UFS 1201.40Suwe#file-system MFS # memory file system (requires FFS) 1211.40Suwe#file-system EXT2FS # second extended file system (linux) 1221.1Suchfile-system MSDOSFS # MS-DOS file system 1231.1Suchfile-system NFS # Sun NFS-compatible filesystem client 1241.40Suwe#file-system NULLFS # loopback file system 1251.40Suwe#file-system UMAPFS # NULLFS + uid and gid remapping 1261.40Suwe#file-system UNION # union file system 1271.40Suwe#file-system OVERLAY # overlay file system 1281.40Suwe#file-system PORTAL # portal filesystem (still experimental) 1291.40Suwe#file-system FDESC # /dev/fd 1301.22Suchfile-system KERNFS # /kern 1311.22Suchfile-system PROCFS # /proc 1321.40Suwe#file-system CODA # Coda File System; also needs vcoda (below) 1331.40Suwe#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 1341.55Schristosfile-system PTYFS # /dev/pts/N support 1351.72Sjmmv#file-system TMPFS # Efficient memory file-system 1361.64Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1371.1Such 1381.1Such# File system options 1391.40Suwe#options FFS_EI # FFS Endian Independent support 1401.61Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 1411.40Suwe#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1421.40Suwe # immutable) behave as system flags. 1431.1Such 1441.1Such# Networking options 1451.1Suchoptions INET # IP + ICMP + TCP + UDP 1461.9Suchoptions INET6 # IPV6 1471.9Such 1481.38Suchoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1491.38Suchoptions PPP_DEFLATE # Deflate compression support for PPP 1501.38Suchoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1511.38Such 1521.57Suwe#options PFIL_HOOKS # pfil(9) packet filter hooks 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.38Suchoptions WSDISPLAY_COMPAT_USL # 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.63Suwepsh3lcd* at shb? # LCD power, brightness, contrast 2621.58Skiyohara 2631.48Skiyoharapsh3tp* at adc? # PERSONA SH3 touch panel 2641.48Skiyoharawsmouse* at psh3tp? mux 0 2651.48Skiyohara 2661.63Suwe# 2671.63Suwe# Common HD64461 devices 2681.63Suwe# 2691.59Skiyoharahd64461if* at shb? 2701.63Suwe 2711.59Skiyoharahd64461pcmcia* at hd64461if? 2721.63Suwe#options HD64461PCMCIA_DEBUG 2731.59Skiyohara#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 2741.63Suwe 2751.59Skiyoharahd64461video* at hd64461if? 2761.63Suwe#options HD64461VIDEO_DEBUG 2771.63Suwe#options HD64461VIDEO_HWACCEL # XXX: too slow to bother 2781.63Suwe 2791.59Skiyohara 2801.1Such# 2811.1Such# machine independent part 2821.1Such# 2831.40Suwe 2841.1Such# PCMCIA bus support 2851.40Suwe#pcmcia* at hd64461pcmcia? controller ? socket ? 2861.1Suchpcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 2871.1Suchpcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 2881.1Such 2891.40Suwe# PCMCIA IDE controllers 2901.40Suwe#wdc* at pcmcia? function ? 2911.40Suwewdc0 at pcmcia1 function ? # CF slot 2921.40Suwewdc1 at pcmcia0 function ? # PC Card slot 2931.40Suwe 2941.40Suwe# ATA (IDE) bus support 2951.40Suwe#atabus* at ata? 2961.40Suweatabus0 at wdc0 channel ? # CF slot 2971.40Suweatabus1 at wdc1 channel ? # PC Card slot 2981.40Suwe 2991.40Suwe# IDE drives 3001.40Suwewd* at atabus? drive ? flags 0x0000 3011.40Suwe 3021.1Such# PCMCIA network interfaces 3031.31Suwembe* at pcmcia0 function ? # MB8696x based Ethernet 3041.1Suchne* at pcmcia0 function ? # NE2000-compatible Ethernet 3051.31Suwewi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 3061.22Such 3071.40Suwe# MII/PHY support 3081.42Suwelxtphy* at mii? phy ? # Level One LXT-970 PHYs 3091.40Suwensphyter* at mii? phy ? # NS83843 PHYs 3101.5Suchukphy* at mii? phy ? # generic unknown PHYs 3111.1Such 3121.38Such# PCMCIA Serial Devices 3131.38Suchcom* at pcmcia? function ? # Modems and serial cards 3141.38Such 3151.40Suwe 3161.40Suwe# Pseudo-Devices 3171.40Suwe 3181.40Suwe# disk/mass storage pseudo-devices 3191.66Scube#pseudo-device vnd # disk-like interface to files 3201.51Shubertf#options VND_COMPRESSION # compressed vnd(4) 3211.44Shannkenpseudo-device fss 4 # file system snapshot device 3221.1Such 3231.1Such# network pseudo-devices 3241.38Suchpseudo-device loop # network loopback 3251.66Scubepseudo-device ppp # serial-line IP ports 3261.65Srpaulopseudo-device bpfilter # Berkeley packet filter 3271.68Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3281.40Suwe#pseudo-device ipfilter # IP filter, NAT 3291.40Suwe#pseudo-device pf # PF packet filter 3301.40Suwe#pseudo-device pflog # PF log if 3311.1Such 3321.1Such# miscellaneous pseudo-devices 3331.1Suchpseudo-device pty # pseudo-terminals 3341.6Skanaokapseudo-device rnd # /dev/random and in-kernel generator 3351.25Slukempseudo-device clockctl # user control of clock subsystem 3361.40Suwe#pseudo-device irframetty # IrDA frame line discipline 3371.31Suwepseudo-device ksyms # kernel symbol table interface 3381.1Such 3391.40Suwe# a pseudo device needed for Coda # also needs CODA (above) 3401.40Suwe#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3411.40Suwe 3421.40Suwe# a pseudo device needed for SMBFS 3431.40Suwe#pseudo-device nsmb # experimental - SMB requester 3441.40Suwe 3451.40Suwe# wscons pseudo-devices 3461.40Suwepseudo-device wsmux # mouse & keyboard multiplexor 3471.40Suwe#pseudo-device wsfont # dynamic font loading support 3481.40Suwe#pseudo-device hpf1275a # HP F1275A external keyboard 3491.40Suwe#wskbd* at hpf1275a? mux 1 3501.62Selad 3511.62Selad# Veriexec 3521.62Selad# 3531.62Selad# a pseudo device needed for veriexec 3541.62Selad#pseudo-device veriexec 1 3551.62Selad# 3561.62Selad# Uncomment the fingerprint methods below that are desired. Note that 3571.62Selad# removing fingerprint methods will have almost no impact on the kernel 3581.62Selad# code size. 3591.62Selad# 3601.62Selad#options VERIFIED_EXEC_FP_RMD160 3611.62Selad#options VERIFIED_EXEC_FP_SHA256 3621.62Selad#options VERIFIED_EXEC_FP_SHA384 3631.62Selad#options VERIFIED_EXEC_FP_SHA512 3641.62Selad#options VERIFIED_EXEC_FP_SHA1 3651.62Selad#options VERIFIED_EXEC_FP_MD5 366