GENERIC revision 1.74
11.74Suwe# $NetBSD: GENERIC,v 1.74 2007/06/03 19:46:23 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.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#options SYSTRACE # system call vetting via systrace(1) 701.40Suwe 711.40Suwe#options SYSVMSG # System V-like message queues 721.40Suwe#options SYSVSEM # System V-like semaphores 731.40Suwe#options SEMMNI=10 # number of semaphore identifiers 741.40Suwe#options SEMMNS=60 # number of semaphores in system 751.40Suwe#options SEMUME=10 # max number of undo entries per process 761.40Suwe#options SEMMNU=30 # number of undo structures in system 771.40Suwe#options SYSVSHM # System V-like memory sharing 781.40Suwe#options SHMMAXPGS=2048 # 2048 pages is the default 791.40Suwe#options P1003_1B_SEMAPHORE # p1003.1b semaphore support 801.40Suwe 811.40Suwe#options LKM # loadable kernel modules 821.40Suwe 831.27Slukemoptions USERCONF # userconf(4) support 841.40Suweoptions PIPE_SOCKETPAIR # smaller, but slower pipe(2) 851.41Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 861.40Suwe 871.40Suwe# Enable experimental buffer queue strategy for better responsiveness under 881.40Suwe# high disk I/O load. Likely stable but not yet the default. 891.49Stsutsui#options BUFQ_READPRIO 901.49Stsutsui#options BUFQ_PRIOCSCAN 911.40Suwe 921.40Suwe# Diagnostic/debugging support options 931.40Suwe#options DIAGNOSTIC # expensive kernel consistency checks 941.40Suwe#options DEBUG # expensive debugging checks/support 951.40Suwe#options KMEMSTATS # kernel memory statistics (vmstat -m) 961.40Suwe#options DDB # in-kernel debugger 971.40Suwe#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 981.40Suwe#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 991.40Suwe#options KGDB # remote debugger 1001.40Suwe#options KGDB_DEVRATE=19200 1011.67Suwe#options KGDB_DEVNAME="\"scif\"" # HP Jornada 1021.67Suwe#options KGDB_DEVNAME="\"hd64461uart\"" # HITACHI PERSONA (SH3) 1031.67Suwe#options KGDB_DEVNAME="\"hd64465uart\"" # HITACHI PERSONA (SH4) 1041.40Suwe#makeoptions DEBUG="-g" # compile full symbol table 1051.26Stsutsui 1061.26Stsutsui# Compatibility options 1071.40Suweoptions COMPAT_15 # NetBSD 1.5 1081.40Suweoptions COMPAT_16 # NetBSD 1.6 1091.40Suweoptions COMPAT_20 # NetBSD 2.0 1101.54Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 1111.73Suweoptions COMPAT_40 # NetBSD 4.0 compatibility. 1121.26Stsutsui#options BSDDISKLABEL_EI # endian independent disklabel support 1131.47Suweoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1141.1Such 1151.1Such# Executable format options 1161.1Suchoptions EXEC_COFF # 32-bit COFF executables 1171.1Suchoptions EXEC_ELF32 # 32-bit ELF executables 1181.1Such 1191.1Such# File systems 1201.1Suchfile-system FFS # UFS 1211.40Suwe#file-system MFS # memory file system (requires FFS) 1221.40Suwe#file-system EXT2FS # second extended file system (linux) 1231.1Suchfile-system MSDOSFS # MS-DOS file system 1241.1Suchfile-system NFS # Sun NFS-compatible filesystem client 1251.40Suwe#file-system NULLFS # loopback file system 1261.40Suwe#file-system UMAPFS # NULLFS + uid and gid remapping 1271.40Suwe#file-system UNION # union file system 1281.40Suwe#file-system OVERLAY # overlay file system 1291.40Suwe#file-system PORTAL # portal filesystem (still experimental) 1301.40Suwe#file-system FDESC # /dev/fd 1311.22Suchfile-system KERNFS # /kern 1321.22Suchfile-system PROCFS # /proc 1331.40Suwe#file-system CODA # Coda File System; also needs vcoda (below) 1341.40Suwe#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 1351.55Schristosfile-system PTYFS # /dev/pts/N support 1361.72Sjmmv#file-system TMPFS # Efficient memory file-system 1371.64Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1381.1Such 1391.1Such# File system options 1401.40Suwe#options FFS_EI # FFS Endian Independent support 1411.61Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot 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 PFIL_HOOKS # pfil(9) packet filter hooks 1541.57Suwe#options IPFILTER_LOG # ipmon(8) log support 1551.70Schristos#options IPFILTER_LOOKUP # ippool(8) support 1561.57Suwe#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1571.57Suwe 1581.37Sabs#options ALTQ # Manipulate network interfaces' output queues 1591.37Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1601.37Sabs#options ALTQ_CBQ # Class-Based Queueing 1611.37Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1621.37Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1631.37Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1641.37Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1651.37Sabs#options ALTQ_LOCALQ # Local queueing discipline 1661.37Sabs#options ALTQ_PRIQ # Priority Queueing 1671.37Sabs#options ALTQ_RED # Random Early Detection 1681.37Sabs#options ALTQ_RIO # RED with IN/OUT 1691.37Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1701.37Sabs 1711.40Suwe# These options enable verbose messages for several subsystems. 1721.40Suwe# Warning, these may compile large string tables into the kernel! 1731.40Suweoptions MIIVERBOSE # verbose PHY autoconfig messages 1741.40Suwe#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 1751.40Suwe 1761.1Suchoptions NFS_BOOT_DHCP 1771.1Such 1781.40Suwe# 1791.40Suwe# wscons options 1801.40Suwe# 1811.40Suwe# builtin terminal emulations 1821.1Suchoptions WSEMUL_VT100 1831.40Suwe# allocate a number of virtual screens at autoconfiguration time 1841.1Suchoptions WSDISPLAY_DEFAULTSCREENS=4 1851.56Suwe 1861.56Suwe# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 1871.56Suweoptions WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 1881.56Suwe#options WS_DEFAULT_FG=WSCOL_WHITE 1891.56Suwe#options WS_DEFAULT_BG=WSCOL_BLACK 1901.56Suwe#options WS_DEFAULT_COLATTR="(0)" 1911.56Suwe#options WS_DEFAULT_MONOATTR="(0)" 1921.1Suchoptions WS_KERNEL_FG=WSCOL_BROWN 1931.1Suchoptions WS_KERNEL_BG=WSCOL_BLUE 1941.56Suwe#options WS_KERNEL_COLATTR="" 1951.56Suwe#options WS_KERNEL_MONOATTR="" 1961.56Suwe 1971.38Such# compatibility to other console drivers 1981.38Suchoptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 1991.38Suchoptions WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 2001.38Suchoptions WSDISPLAY_COMPAT_USL # VT handling 2011.38Suchoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 2021.1Such 2031.40Suweoptions FONT_VT220L8x10 # the console font 2041.40Suwe 2051.40Suwe 2061.40Suwe# Kernel root file system and dump configuration. 2071.40Suweconfig netbsd root on ? type ? 2081.40Suwe 2091.1Such# 2101.1Such# Device configuration 2111.1Such# 2121.1Suchmainbus0 at root 2131.1Such 2141.39Such# temporally power management 2151.39Suchhpcapm0 at mainbus0 # power management 2161.39Suchapmdev0 at hpcapm0 # APM 2171.39Suchbtnmgr0 at mainbus0 2181.39Suchwskbd* at btnmgr0 mux 1 2191.39Such 2201.22Suchcpu* at mainbus? 2211.22Suchshb* at mainbus? 2221.71Suwertc* at shb? 2231.59Skiyoharaadc* at shb? # analog->digital converter 2241.22Suchpfckbd* at mainbus? 2251.1Such 2261.1Such# 2271.1Such# Workstation Console attachments 2281.1Such# 2291.3Suchhpcfb* at hd64461video? 2301.1Suchwsdisplay* at hpcfb? 2311.22Such 2321.1Suchhpckbd* at pfckbd? 2331.38Suchwskbd0 at hpckbd? mux 1 2341.1Such 2351.1Such# 2361.63Suwe# HP Jornada (620LX/660LX, 680/690) 2371.1Such# 2381.63Suwescif0 at shb? # serial port/console 2391.11Slukemoptions SCIFCN_SPEED=19200 2401.63Suwe# don't need to define SCIFCONSOLE, you can select from the bootloader. 2411.30Suwe 2421.63Suwej6x0pwr* at adc? # battery, on/off, etc 2431.30Suwe 2441.63Suwej6x0lcd* at shb? # LCD power, brightness, contrast 2451.32Suwe 2461.63Suwej6x0tp* at adc? # touch panel 2471.30Suwewsmouse* at j6x0tp? mux 0 # - as a pointing device 2481.30Suwewskbd1 at j6x0tp? mux 1 # - "hard icons" as keys 2491.30Suwe# Do not convert hard icons to key presses while serving mouse input. 2501.38Suchoptions J6X0TP_WSMOUSE_EXCLUSIVE 2511.30Suwe# Customization for the mini-keymap of hard icons. 2521.40Suwe#options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home" 2531.40Suwe#options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior" 2541.40Suwe#options J6X0TP_PGDN_ICON_KEYSYM="KS_Next" 2551.40Suwe#options J6X0TP_SWITCH_ICON_KEYSYM="KS_End" 2561.1Such 2571.18Such# 2581.18Such# HITACHI PERSONA (HPW-50PAD, HPQ-650PA) 2591.18Such# 2601.20Suchcom0 at hd64461if? 2611.20Such 2621.63Suwepsh3lcd* at shb? # LCD power, brightness, contrast 2631.58Skiyohara 2641.48Skiyoharapsh3tp* at adc? # PERSONA SH3 touch panel 2651.48Skiyoharawsmouse* at psh3tp? mux 0 2661.48Skiyohara 2671.63Suwe# 2681.63Suwe# Common HD64461 devices 2691.63Suwe# 2701.59Skiyoharahd64461if* at shb? 2711.63Suwe 2721.59Skiyoharahd64461pcmcia* at hd64461if? 2731.63Suwe#options HD64461PCMCIA_DEBUG 2741.59Skiyohara#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 2751.63Suwe 2761.59Skiyoharahd64461video* at hd64461if? 2771.63Suwe#options HD64461VIDEO_DEBUG 2781.63Suwe#options HD64461VIDEO_HWACCEL # XXX: too slow to bother 2791.63Suwe 2801.59Skiyohara 2811.1Such# 2821.1Such# machine independent part 2831.1Such# 2841.40Suwe 2851.1Such# PCMCIA bus support 2861.40Suwe#pcmcia* at hd64461pcmcia? controller ? socket ? 2871.1Suchpcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 2881.1Suchpcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 2891.1Such 2901.40Suwe# PCMCIA IDE controllers 2911.40Suwe#wdc* at pcmcia? function ? 2921.40Suwewdc0 at pcmcia1 function ? # CF slot 2931.40Suwewdc1 at pcmcia0 function ? # PC Card slot 2941.40Suwe 2951.40Suwe# ATA (IDE) bus support 2961.40Suwe#atabus* at ata? 2971.40Suweatabus0 at wdc0 channel ? # CF slot 2981.40Suweatabus1 at wdc1 channel ? # PC Card slot 2991.40Suwe 3001.40Suwe# IDE drives 3011.40Suwewd* at atabus? drive ? flags 0x0000 3021.40Suwe 3031.1Such# PCMCIA network interfaces 3041.31Suwembe* at pcmcia0 function ? # MB8696x based Ethernet 3051.1Suchne* at pcmcia0 function ? # NE2000-compatible Ethernet 3061.31Suwewi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 3071.22Such 3081.40Suwe# MII/PHY support 3091.42Suwelxtphy* at mii? phy ? # Level One LXT-970 PHYs 3101.40Suwensphyter* at mii? phy ? # NS83843 PHYs 3111.5Suchukphy* at mii? phy ? # generic unknown PHYs 3121.1Such 3131.38Such# PCMCIA Serial Devices 3141.38Suchcom* at pcmcia? function ? # Modems and serial cards 3151.38Such 3161.40Suwe 3171.40Suwe# Pseudo-Devices 3181.40Suwe 3191.40Suwe# disk/mass storage pseudo-devices 3201.66Scube#pseudo-device vnd # disk-like interface to files 3211.51Shubertf#options VND_COMPRESSION # compressed vnd(4) 3221.44Shannkenpseudo-device fss 4 # file system snapshot device 3231.1Such 3241.1Such# network pseudo-devices 3251.38Suchpseudo-device loop # network loopback 3261.66Scubepseudo-device ppp # serial-line IP ports 3271.65Srpaulopseudo-device bpfilter # Berkeley packet filter 3281.68Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3291.40Suwe#pseudo-device ipfilter # IP filter, NAT 3301.40Suwe#pseudo-device pf # PF packet filter 3311.40Suwe#pseudo-device pflog # PF log if 3321.1Such 3331.1Such# miscellaneous pseudo-devices 3341.1Suchpseudo-device pty # pseudo-terminals 3351.6Skanaokapseudo-device rnd # /dev/random and in-kernel generator 3361.25Slukempseudo-device clockctl # user control of clock subsystem 3371.40Suwe#pseudo-device irframetty # IrDA frame line discipline 3381.31Suwepseudo-device ksyms # kernel symbol table interface 3391.1Such 3401.40Suwe# a pseudo device needed for Coda # also needs CODA (above) 3411.40Suwe#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3421.40Suwe 3431.40Suwe# a pseudo device needed for SMBFS 3441.40Suwe#pseudo-device nsmb # experimental - SMB requester 3451.40Suwe 3461.40Suwe# wscons pseudo-devices 3471.40Suwepseudo-device wsmux # mouse & keyboard multiplexor 3481.40Suwe#pseudo-device wsfont # dynamic font loading support 3491.40Suwe#pseudo-device hpf1275a # HP F1275A external keyboard 3501.40Suwe#wskbd* at hpf1275a? mux 1 3511.62Selad 3521.62Selad# Veriexec 3531.62Selad# 3541.62Selad# a pseudo device needed for veriexec 3551.62Selad#pseudo-device veriexec 1 3561.62Selad# 3571.62Selad# Uncomment the fingerprint methods below that are desired. Note that 3581.62Selad# removing fingerprint methods will have almost no impact on the kernel 3591.62Selad# code size. 3601.62Selad# 3611.62Selad#options VERIFIED_EXEC_FP_RMD160 3621.62Selad#options VERIFIED_EXEC_FP_SHA256 3631.62Selad#options VERIFIED_EXEC_FP_SHA384 3641.62Selad#options VERIFIED_EXEC_FP_SHA512 3651.62Selad#options VERIFIED_EXEC_FP_SHA1 3661.62Selad#options VERIFIED_EXEC_FP_MD5 367