1# $NetBSD: GENERIC,v 1.117 2023/02/12 14:50:39 abs 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 620LX/660LX 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 34options HZ=64 # default clock rate 35 36# System options specific to hpcsh 37 38# CPU support. At least one is REQUIRED. 39options SH3 40#options SH4 41 42# Example of how to set gcc optimization options (XXX: not tested) 43#makeoptions COPTS="-Os" # generic 44#makeoptions CPUFLAGS="-m3" # CPU specific 45 46# 47# PCLOCK is estimated by kernel. 48# PCLOCK CPU CLOCK 49# HP Jornada 680/690 22.22MHz 133MHz 50# HP 620LX 18.75MHz 75MHz 51# HITACHI HPW50PA 25MHz 100MHz 52# 53#options PCLOCK=... 54 55# in-kernel bootloader, see kloader(4) 56options KLOADER 57#options KLOADER_KERNEL_PATH="\"/netbsd\"" 58#options KLOADER_DEBUG 59 60#options HPC_DEBUG_INTERRUPT_MONITOR 61#options KSTACK_DEBUG 62 63 64# Standard system options 65 66#options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT 67 # (overrides tz info that hpcboot.exe passes) 68 69options KTRACE # system call tracing via ktrace(1) 70 71options SYSVMSG # System V-like message queues 72options SYSVSEM # System V-like semaphores 73options SYSVSHM # System V-like memory sharing 74 75#options MODULAR # new style module(7) framework 76#options MODULAR_DEFAULT_AUTOLOAD 77 78options USERCONF # userconf(4) support 79options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 80options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 81 82# Alternate buffer queue strategies for better responsiveness under high 83# disk I/O load. 84#options BUFQ_READPRIO 85#options BUFQ_PRIOCSCAN 86 87# Alternate buffer queue strategies for better responsiveness under high 88# disk I/O load. 89#options BUFQ_READPRIO 90options BUFQ_PRIOCSCAN 91 92# Diagnostic/debugging support options 93#options DIAGNOSTIC # expensive kernel consistency checks 94#options DEBUG # expensive debugging checks/support 95#options DDB # in-kernel debugger 96#options DDB_ONPANIC=1 # see also sysctl(7): `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 106include "conf/compat_netbsd15.config" 107#options BSDDISKLABEL_EI # endian independent disklabel support 108 109# Executable format options 110options EXEC_COFF # 32-bit COFF executables 111 112# File systems 113file-system FFS # UFS 114file-system MFS # memory file system (requires FFS) 115#file-system EXT2FS # second extended file system (linux) 116file-system MSDOSFS # MS-DOS file system 117file-system NFS # Sun NFS-compatible filesystem client 118#file-system NULLFS # loopback file system 119#file-system UMAPFS # NULLFS + uid and gid remapping 120#file-system UNION # union file system 121#file-system OVERLAY # overlay file system 122#file-system FDESC # /dev/fd 123file-system KERNFS # /kern 124file-system PROCFS # /proc 125#file-system CODA # Coda File System; also needs vcoda (below) 126file-system PTYFS # /dev/pts/N support 127#file-system TMPFS # Efficient memory file-system 128#file-system UDF # experimental - OSTA UDF CD/DVD file-system 129 130# File system options 131#options FFS_EI # FFS Endian Independent support 132options FFS_NO_SNAPSHOT # No FFS snapshot support 133#options UFS_DIRHASH # UFS Large Directory Hashing 134#options UFS_EXTATTR # Extended attribute support for UFS1 135options WAPBL # File system journaling support 136#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 137 # immutable) behave as system flags. 138 139# Networking options 140options INET # IP + ICMP + TCP + UDP 141options INET6 # IPV6 142 143options PPP_BSDCOMP # BSD-Compress compression support for PPP 144options PPP_DEFLATE # Deflate compression support for PPP 145options PPP_FILTER # Active filter support for PPP (requires bpf) 146 147#options ALTQ # Manipulate network interfaces' output queues 148#options ALTQ_BLUE # Stochastic Fair Blue 149#options ALTQ_CBQ # Class-Based Queueing 150#options ALTQ_CDNR # Diffserv Traffic Conditioner 151#options ALTQ_FIFOQ # First-In First-Out Queue 152#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 153#options ALTQ_HFSC # Hierarchical Fair Service Curve 154#options ALTQ_LOCALQ # Local queueing discipline 155#options ALTQ_PRIQ # Priority Queueing 156#options ALTQ_RED # Random Early Detection 157#options ALTQ_RIO # RED with IN/OUT 158#options ALTQ_WFQ # Weighted Fair Queueing 159 160# These options enable verbose messages for several subsystems. 161# Warning, these may compile large string tables into the kernel! 162options MIIVERBOSE # verbose PHY autoconfig messages 163#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 164 165options NFS_BOOT_DHCP 166 167# 168# wscons options 169# 170# builtin terminal emulations 171options WSEMUL_VT100 172# allocate a number of virtual screens at autoconfiguration time 173options WSDISPLAY_DEFAULTSCREENS=4 174 175# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 176options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 177#options WS_DEFAULT_FG=WSCOL_WHITE 178#options WS_DEFAULT_BG=WSCOL_BLACK 179#options WS_DEFAULT_COLATTR="(0)" 180#options WS_DEFAULT_MONOATTR="(0)" 181options WS_KERNEL_FG=WSCOL_BROWN 182options WS_KERNEL_BG=WSCOL_BLUE 183#options WS_KERNEL_COLATTR="" 184#options WS_KERNEL_MONOATTR="" 185 186# compatibility to other console drivers 187options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 188options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 189options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 190options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 191 192options FONT_VT220L8x10 # the console font 193 194 195# Kernel root file system and dump configuration. 196config netbsd root on ? type ? 197 198# 199# Device configuration 200# 201mainbus0 at root 202 203# temporally power management 204hpcapm0 at mainbus0 # power management 205apmdev0 at hpcapm0 # APM 206btnmgr0 at mainbus0 207wskbd* at btnmgr0 mux 1 208 209cpu* at mainbus? 210shb* at mainbus? 211rtc* at shb? 212adc* at shb? # analog->digital converter 213pfckbd* at mainbus? 214 215# 216# Workstation Console attachments 217# 218hpcfb* at hd64461video? 219wsdisplay* at hpcfb? 220 221hpckbd* at pfckbd? 222wskbd0 at hpckbd? mux 1 223 224# 225# HP Jornada (620LX/660LX, 680/690) 226# 227scif0 at shb? # serial port/console 228options SCIFCN_SPEED=19200 229# don't need to define SCIFCONSOLE, you can select from the bootloader. 230 231j6x0pwr* at adc? # battery, on/off, etc 232 233j6x0lcd* at shb? # LCD power, brightness, contrast 234 235j6x0tp* at adc? # touch panel 236wsmouse* at j6x0tp? mux 0 # - as a pointing device 237wskbd1 at j6x0tp? mux 1 # - "hard icons" as keys 238# Do not convert hard icons to key presses while serving mouse input. 239options J6X0TP_WSMOUSE_EXCLUSIVE 240# Customization for the mini-keymap of hard icons. 241#options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home" 242#options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior" 243#options J6X0TP_PGDN_ICON_KEYSYM="KS_Next" 244#options J6X0TP_SWITCH_ICON_KEYSYM="KS_End" 245 246# 247# HITACHI PERSONA (HPW-50PAD, HPQ-650PA) 248# 249com0 at hd64461if? 250 251psh3pwr* at adc? # PERSONA SH3 battery, on/off, etc 252 253psh3lcd* at shb? # LCD power, brightness, contrast 254 255psh3tp* at adc? # PERSONA SH3 touch panel 256wsmouse* at psh3tp? mux 0 257 258# 259# Common HD64461 devices 260# 261hd64461if* at shb? 262 263hd64461pcmcia* at hd64461if? 264#options HD64461PCMCIA_DEBUG 265#options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first 266 267hd64461video* at hd64461if? 268#options HD64461VIDEO_DEBUG 269#options HD64461VIDEO_HWACCEL # XXX: too slow to bother 270 271 272# 273# machine independent part 274# 275 276# PCMCIA bus support 277#pcmcia* at hd64461pcmcia? controller ? socket ? 278pcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card 279pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only 280 281# PCMCIA IDE controllers 282#wdc* at pcmcia? function ? 283wdc0 at pcmcia1 function ? # CF slot 284wdc1 at pcmcia0 function ? # PC Card slot 285 286# ATA (IDE) bus support 287#atabus* at ata? 288atabus0 at wdc0 channel ? # CF slot 289atabus1 at wdc1 channel ? # PC Card slot 290 291# IDE drives 292wd* at atabus? drive ? flags 0x0000 293 294# PCMCIA network interfaces 295#ep* at pcmcia0 function ? # 3Com EtherLink III Ethernet 296mbe* at pcmcia0 function ? # MB8696x based Ethernet 297ne* at pcmcia0 function ? # NE2000-compatible Ethernet 298wi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11) 299 300# MII/PHY support 301lxtphy* at mii? phy ? # Level One LXT-970 PHYs 302nsphyter* at mii? phy ? # NS83843 PHYs 303#tqphy* at mii? phy? # TDK Semiconductor PHYs 304ukphy* at mii? phy ? # generic unknown PHYs 305 306# PCMCIA Serial Devices 307com* at pcmcia? function ? # Modems and serial cards 308 309# Bluetooth Controller and Device support 310 311# Bluetooth PCMCIA Controllers 312bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 313btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 314 315# Bluetooth Device Hub 316bthub* at bcsp? 317bthub* at bt3c? 318bthub* at btbc? 319bthub* at btuart? 320 321# Bluetooth HID support 322#bthidev* at bthub? 323 324# Bluetooth Mouse 325#btms* at bthidev? reportid ? 326#wsmouse* at btms? mux 0 327 328# Bluetooth Keyboard 329#btkbd* at bthidev? reportid ? 330#wskbd* at btkbd? console ? mux 1 331 332# Bluetooth Apple Magic Mouse 333#btmagic* at bthub? 334#wsmouse* at btmagic? mux 0 335 336# Bluetooth Audio support 337#btsco* at bthub? 338 339 340# Pseudo-Devices 341 342# disk/mass storage pseudo-devices 343#pseudo-device vnd # disk-like interface to files 344#options VND_COMPRESSION # compressed vnd(4) 345pseudo-device fss # file system snapshot device 346 347# network pseudo-devices 348pseudo-device loop # network loopback 349pseudo-device ppp # serial-line IP ports 350pseudo-device bpfilter # Berkeley packet filter 351pseudo-device carp # Common Address Redundancy Protocol 352#pseudo-device npf # NPF packet filter 353 354# 355# accept filters 356pseudo-device accf_data # "dataready" accept filter 357pseudo-device accf_http # "httpready" accept filter 358 359# miscellaneous pseudo-devices 360pseudo-device pty # pseudo-terminals 361pseudo-device clockctl # user control of clock subsystem 362#pseudo-device irframetty # IrDA frame line discipline 363pseudo-device ksyms # kernel symbol table interface 364pseudo-device bcsp # BlueCore Serial Protocol 365pseudo-device btuart # Bluetooth HCI UART (H4) 366pseudo-device swwdog # software watchdog timer -- swwdog(4) 367 368# a pseudo device needed for Coda # also needs CODA (above) 369#pseudo-device vcoda # coda minicache <-> venus comm. 370 371# wscons pseudo-devices 372pseudo-device wsmux # mouse & keyboard multiplexor 373#pseudo-device wsfont # dynamic font loading support 374#pseudo-device hpf1275a # HP F1275A external keyboard 375#wskbd* at hpf1275a? mux 1 376 377include "dev/veriexec.config" 378 379# Pull in optional local configuration - always at end 380cinclude "arch/hpcsh/conf/GENERIC.local" 381