GENERIC revision 1.62
1# $NetBSD: GENERIC,v 1.62 2005/12/09 23:34:02 elad Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21# 22# This kernel supports... 23# HP Jornada 680/690 24# HP HP620LX 25# HITACHI HPW50PA 26# 27 28include "arch/hpcsh/conf/std.hpcsh" 29 30options INCLUDE_CONFIG_FILE # embed config file in kernel binary 31 32maxusers 32 # estimated number of users 33 34 35# System options specific to hpcsh 36 37# CPU support. At least one is REQUIRED. 38options SH3 39#options SH4 40 41# Example of how to set gcc optimization options (XXX: not tested) 42#makeoptions COPTS="-Os" # generic 43#makeoptions CPUFLAGS="-m3" # CPU specific 44 45# 46# PCLOCK is estimated by kernel. 47# PCLOCK CPU CLOCK 48# HP Jornada 680/690 22.22MHz 133MHz 49# HP HP620LX 18.75MHz 75MHz 50# HITACHI HPW50PA 25MHz 100MHz 51# 52#options PCLOCK=... 53 54# in-kernel bootloader, see kloader(4) 55options KLOADER_KERNEL_PATH="\"/netbsd\"" 56#options KLOADER_DEBUG 57 58#options HPC_DEBUG_INTERRUPT_MONITOR 59#options KSTACK_DEBUG 60 61 62# Standard system options 63 64#options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT 65 # (overrides tz info that hpcboot.exe passes) 66 67options KTRACE # system call tracing via ktrace(1) 68#options SYSTRACE # system call vetting via systrace(1) 69 70#options SYSVMSG # System V-like message queues 71#options SYSVSEM # System V-like semaphores 72#options SEMMNI=10 # number of semaphore identifiers 73#options SEMMNS=60 # number of semaphores in system 74#options SEMUME=10 # max number of undo entries per process 75#options SEMMNU=30 # number of undo structures in system 76#options SYSVSHM # System V-like memory sharing 77#options SHMMAXPGS=2048 # 2048 pages is the default 78#options P1003_1B_SEMAPHORE # p1003.1b semaphore support 79 80#options LKM # loadable kernel modules 81 82options USERCONF # userconf(4) support 83options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 84options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 85 86# Enable experimental buffer queue strategy for better responsiveness under 87# high disk I/O load. Likely stable but not yet the default. 88#options BUFQ_READPRIO 89#options BUFQ_PRIOCSCAN 90 91# Diagnostic/debugging support options 92#options DIAGNOSTIC # expensive kernel consistency checks 93#options DEBUG # expensive debugging checks/support 94#options KMEMSTATS # kernel memory statistics (vmstat -m) 95#options DDB # in-kernel debugger 96#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 97#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 98#options KGDB # remote debugger 99#options KGDB_DEVRATE=19200 100#options "KGDB_DEVNAME=\"scif\"" # HP Jornada 101#options "KGDB_DEVNAME=\"hd64461uart\"" # HITACHI PERSONA (SH3) 102#options "KGDB_DEVNAME=\"hd64465uart\"" # HITACHI PERSONA (SH4) 103#makeoptions DEBUG="-g" # compile full symbol table 104 105# Compatibility options 106options COMPAT_15 # NetBSD 1.5 107options COMPAT_16 # NetBSD 1.6 108options COMPAT_20 # NetBSD 2.0 109options COMPAT_30 # NetBSD 3.0 compatibility. 110#options BSDDISKLABEL_EI # endian independent disklabel support 111options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 112 113# Executable format options 114options EXEC_COFF # 32-bit COFF executables 115options EXEC_ELF32 # 32-bit ELF executables 116 117# File systems 118file-system FFS # UFS 119#file-system MFS # memory file system (requires FFS) 120#file-system EXT2FS # second extended file system (linux) 121file-system MSDOSFS # MS-DOS file system 122file-system NFS # Sun NFS-compatible filesystem client 123#file-system NULLFS # loopback file system 124#file-system UMAPFS # NULLFS + uid and gid remapping 125#file-system UNION # union file system 126#file-system OVERLAY # overlay file system 127#file-system PORTAL # portal filesystem (still experimental) 128#file-system FDESC # /dev/fd 129file-system KERNFS # /kern 130file-system PROCFS # /proc 131#file-system CODA # Coda File System; also needs vcoda (below) 132#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 133file-system PTYFS # /dev/pts/N support 134#file-system TMPFS # experimental - Efficient memory file-system 135 136# File system options 137#options FFS_EI # FFS Endian Independent support 138options FFS_NO_SNAPSHOT # No FFS snapshot support 139#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 140 # immutable) behave as system flags. 141 142# Networking options 143options INET # IP + ICMP + TCP + UDP 144options INET6 # IPV6 145 146options PPP_BSDCOMP # BSD-Compress compression support for PPP 147options PPP_DEFLATE # Deflate compression support for PPP 148options PPP_FILTER # Active filter support for PPP (requires bpf) 149 150#options PFIL_HOOKS # pfil(9) packet filter hooks 151#options IPFILTER_LOG # ipmon(8) log support 152#options IPFILTER_DEFAULT_BLOCK # block all packets by default 153 154#options ALTQ # Manipulate network interfaces' output queues 155#options ALTQ_BLUE # Stochastic Fair Blue 156#options ALTQ_CBQ # Class-Based Queueing 157#options ALTQ_CDNR # Diffserv Traffic Conditioner 158#options ALTQ_FIFOQ # First-In First-Out Queue 159#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 160#options ALTQ_HFSC # Hierarchical Fair Service Curve 161#options ALTQ_LOCALQ # Local queueing discipline 162#options ALTQ_PRIQ # Priority Queueing 163#options ALTQ_RED # Random Early Detection 164#options ALTQ_RIO # RED with IN/OUT 165#options ALTQ_WFQ # Weighted Fair Queueing 166 167# These options enable verbose messages for several subsystems. 168# Warning, these may compile large string tables into the kernel! 169options MIIVERBOSE # verbose PHY autoconfig messages 170#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 171 172options NFS_BOOT_DHCP 173 174# 175# wscons options 176# 177# builtin terminal emulations 178options WSEMUL_VT100 179# allocate a number of virtual screens at autoconfiguration time 180options WSDISPLAY_DEFAULTSCREENS=4 181 182# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 183options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 184#options WS_DEFAULT_FG=WSCOL_WHITE 185#options WS_DEFAULT_BG=WSCOL_BLACK 186#options WS_DEFAULT_COLATTR="(0)" 187#options WS_DEFAULT_MONOATTR="(0)" 188options WS_KERNEL_FG=WSCOL_BROWN 189options WS_KERNEL_BG=WSCOL_BLUE 190#options WS_KERNEL_COLATTR="" 191#options WS_KERNEL_MONOATTR="" 192 193# compatibility to other console drivers 194options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 195options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 196options WSDISPLAY_COMPAT_USL # VT handling 197options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 198 199options FONT_VT220L8x10 # the console font 200 201 202# Kernel root file system and dump configuration. 203config netbsd root on ? type ? 204 205# 206# Device configuration 207# 208mainbus0 at root 209 210# temporally power management 211hpcapm0 at mainbus0 # power management 212apmdev0 at hpcapm0 # APM 213btnmgr0 at mainbus0 214wskbd* at btnmgr0 mux 1 215 216cpu* at mainbus? 217shb* at mainbus? 218adc* at shb? # analog->digital converter 219pfckbd* at mainbus? 220 221# 222# Workstation Console attachments 223# 224hpcfb* at hd64461video? 225wsdisplay* at hpcfb? 226 227hpckbd* at pfckbd? 228wskbd0 at hpckbd? mux 1 229 230# 231# HP Jornada 232# 233# Serial Devices 234# don't need to define SCICONSOLE. you can select from bootloader. 235scif0 at shb? 236options SCIFCN_SPEED=19200 237 238j6x0pwr* at adc? # '680 battery, on/off, etc 239 240j6x0lcd* at shb? # '680 LCD power, brightness, contrast 241 242j6x0tp* at adc? # '680 touch panel 243wsmouse* at j6x0tp? mux 0 # - as a pointing device 244wskbd1 at j6x0tp? mux 1 # - "hard icons" as keys 245# Do not convert hard icons to key presses while serving mouse input. 246options J6X0TP_WSMOUSE_EXCLUSIVE 247# Customization for the mini-keymap of hard icons. 248#options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home" 249#options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior" 250#options J6X0TP_PGDN_ICON_KEYSYM="KS_Next" 251#options J6X0TP_SWITCH_ICON_KEYSYM="KS_End" 252 253# 254# HITACHI PERSONA (HPW-50PAD, HPQ-650PA) 255# 256com0 at hd64461if? 257 258psh3lcd* at shb? # PERSONA SH3 power, brightness, contrast 259 260psh3tp* at adc? # PERSONA SH3 touch panel 261wsmouse* at psh3tp? mux 0 262 263hd64461if* at shb? 264hd64461pcmcia* at hd64461if? 265#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 266hd64461video* at hd64461if? 267 268# 269# machine independent part 270# 271 272# PCMCIA bus support 273#pcmcia* at hd64461pcmcia? controller ? socket ? 274pcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 275pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 276 277# PCMCIA IDE controllers 278#wdc* at pcmcia? function ? 279wdc0 at pcmcia1 function ? # CF slot 280wdc1 at pcmcia0 function ? # PC Card slot 281 282# ATA (IDE) bus support 283#atabus* at ata? 284atabus0 at wdc0 channel ? # CF slot 285atabus1 at wdc1 channel ? # PC Card slot 286 287# IDE drives 288wd* at atabus? drive ? flags 0x0000 289 290# PCMCIA network interfaces 291mbe* at pcmcia0 function ? # MB8696x based Ethernet 292ne* at pcmcia0 function ? # NE2000-compatible Ethernet 293wi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 294 295# MII/PHY support 296lxtphy* at mii? phy ? # Level One LXT-970 PHYs 297nsphyter* at mii? phy ? # NS83843 PHYs 298ukphy* at mii? phy ? # generic unknown PHYs 299 300# PCMCIA Serial Devices 301com* at pcmcia? function ? # Modems and serial cards 302 303 304# Pseudo-Devices 305 306# disk/mass storage pseudo-devices 307#pseudo-device vnd 4 # disk-like interface to files 308#options VND_COMPRESSION # compressed vnd(4) 309pseudo-device fss 4 # file system snapshot device 310 311# network pseudo-devices 312pseudo-device loop # network loopback 313pseudo-device ppp 1 # serial-line IP ports 314pseudo-device bpfilter 2 # Berkeley packet filter 315#pseudo-device ipfilter # IP filter, NAT 316#pseudo-device pf # PF packet filter 317#pseudo-device pflog # PF log if 318 319# miscellaneous pseudo-devices 320pseudo-device pty # pseudo-terminals 321pseudo-device rnd # /dev/random and in-kernel generator 322pseudo-device clockctl # user control of clock subsystem 323#pseudo-device irframetty # IrDA frame line discipline 324pseudo-device ksyms # kernel symbol table interface 325 326# a pseudo device needed for Coda # also needs CODA (above) 327#pseudo-device vcoda 4 # coda minicache <-> venus comm. 328 329# a pseudo device needed for SMBFS 330#pseudo-device nsmb # experimental - SMB requester 331 332# wscons pseudo-devices 333pseudo-device wsmux # mouse & keyboard multiplexor 334#pseudo-device wsfont # dynamic font loading support 335#pseudo-device hpf1275a # HP F1275A external keyboard 336#wskbd* at hpf1275a? mux 1 337 338# Veriexec 339#options VERIFIED_EXEC 340# 341# a pseudo device needed for veriexec 342#pseudo-device veriexec 1 343# 344# Uncomment the fingerprint methods below that are desired. Note that 345# removing fingerprint methods will have almost no impact on the kernel 346# code size. 347# 348#options VERIFIED_EXEC_FP_RMD160 349#options VERIFIED_EXEC_FP_SHA256 350#options VERIFIED_EXEC_FP_SHA384 351#options VERIFIED_EXEC_FP_SHA512 352#options VERIFIED_EXEC_FP_SHA1 353#options VERIFIED_EXEC_FP_MD5 354