1 # $NetBSD: GENERIC,v 1.86 2009/01/24 05:06:06 mrg Exp $
3 # GENERIC machine description file
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.
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
12 # For further information on compiling NetBSD kernels, see the config(8)
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
22 # This kernel supports...
28 include "arch/hpcsh/conf/std.hpcsh"
30 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
32 maxusers 32 # estimated number of users
35 # System options specific to hpcsh
37 # CPU support. At least one is REQUIRED.
41 # Example of how to set gcc optimization options (XXX: not tested)
42 #makeoptions COPTS="-Os" # generic
43 #makeoptions CPUFLAGS="-m3" # CPU specific
46 # PCLOCK is estimated by kernel.
48 # HP Jornada 680/690 22.22MHz 133MHz
49 # HP 620LX 18.75MHz 75MHz
50 # HITACHI HPW50PA 25MHz 100MHz
54 # in-kernel bootloader, see kloader(4)
56 #options KLOADER_KERNEL_PATH="\"/netbsd\""
57 #options KLOADER_DEBUG
59 #options HPC_DEBUG_INTERRUPT_MONITOR
63 # Standard system options
65 #options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
66 # (overrides tz info that hpcboot.exe passes)
68 options KTRACE # system call tracing via ktrace(1)
70 #options SYSVMSG # System V-like message queues
71 #options SYSVSEM # System V-like semaphores
72 #options SYSVSHM # System V-like memory sharing
73 #options P1003_1B_SEMAPHORE # p1003.1b semaphore support
75 #options MODULAR # new style module framework
77 options USERCONF # userconf(4) support
78 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
79 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
81 # Enable experimental buffer queue strategy for better responsiveness under
82 # high disk I/O load. Likely stable but not yet the default.
83 #options BUFQ_READPRIO
84 #options BUFQ_PRIOCSCAN
86 # Diagnostic/debugging support options
87 #options DIAGNOSTIC # expensive kernel consistency checks
88 #options DEBUG # expensive debugging checks/support
89 #options KMEMSTATS # kernel memory statistics (vmstat -m)
90 #options DDB # in-kernel debugger
91 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
92 #options DDB_HISTORY_SIZE=512 # enable history editing in DDB
93 #options KGDB # remote debugger
94 #options KGDB_DEVRATE=19200
95 #options KGDB_DEVNAME="\"scif\"" # HP Jornada
96 #options KGDB_DEVNAME="\"hd64461uart\"" # HITACHI PERSONA (SH3)
97 #options KGDB_DEVNAME="\"hd64465uart\"" # HITACHI PERSONA (SH4)
98 #makeoptions DEBUG="-g" # compile full symbol table
100 # Compatibility options
101 options COMPAT_15 # NetBSD 1.5
102 options COMPAT_16 # NetBSD 1.6
103 options COMPAT_20 # NetBSD 2.0
104 options COMPAT_30 # NetBSD 3.0 compatibility.
105 options COMPAT_40 # NetBSD 4.0 compatibility.
106 options COMPAT_50 # NetBSD 5.0 compatibility.
107 #options BSDDISKLABEL_EI # endian independent disklabel support
108 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
110 # Executable format options
111 options EXEC_COFF # 32-bit COFF executables
114 file-system FFS # UFS
115 #file-system MFS # memory file system (requires FFS)
116 #file-system EXT2FS # second extended file system (linux)
117 file-system MSDOSFS # MS-DOS file system
118 file-system NFS # Sun NFS-compatible filesystem client
119 #file-system NULLFS # loopback file system
120 #file-system UMAPFS # NULLFS + uid and gid remapping
121 #file-system UNION # union file system
122 #file-system OVERLAY # overlay file system
123 #file-system FDESC # /dev/fd
124 file-system KERNFS # /kern
125 file-system PROCFS # /proc
126 #file-system CODA # Coda File System; also needs vcoda (below)
127 #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
128 file-system PTYFS # /dev/pts/N support
129 #file-system TMPFS # Efficient memory file-system
130 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
132 # File system options
133 #options FFS_EI # FFS Endian Independent support
134 options FFS_NO_SNAPSHOT # No FFS snapshot support
135 options WAPBL # File system journaling support - Experimental
136 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
137 # immutable) behave as system flags.
140 options INET # IP + ICMP + TCP + UDP
143 options PPP_BSDCOMP # BSD-Compress compression support for PPP
144 options PPP_DEFLATE # Deflate compression support for PPP
145 options PPP_FILTER # Active filter support for PPP (requires bpf)
147 #options PFIL_HOOKS # pfil(9) packet filter hooks
148 #options IPFILTER_LOG # ipmon(8) log support
149 #options IPFILTER_LOOKUP # ippool(8) support
150 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
152 #options ALTQ # Manipulate network interfaces' output queues
153 #options ALTQ_BLUE # Stochastic Fair Blue
154 #options ALTQ_CBQ # Class-Based Queueing
155 #options ALTQ_CDNR # Diffserv Traffic Conditioner
156 #options ALTQ_FIFOQ # First-In First-Out Queue
157 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
158 #options ALTQ_HFSC # Hierarchical Fair Service Curve
159 #options ALTQ_LOCALQ # Local queueing discipline
160 #options ALTQ_PRIQ # Priority Queueing
161 #options ALTQ_RED # Random Early Detection
162 #options ALTQ_RIO # RED with IN/OUT
163 #options ALTQ_WFQ # Weighted Fair Queueing
165 # These options enable verbose messages for several subsystems.
166 # Warning, these may compile large string tables into the kernel!
167 options MIIVERBOSE # verbose PHY autoconfig messages
168 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
170 options NFS_BOOT_DHCP
175 # builtin terminal emulations
177 # allocate a number of virtual screens at autoconfiguration time
178 options WSDISPLAY_DEFAULTSCREENS=4
180 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
181 options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
182 #options WS_DEFAULT_FG=WSCOL_WHITE
183 #options WS_DEFAULT_BG=WSCOL_BLACK
184 #options WS_DEFAULT_COLATTR="(0)"
185 #options WS_DEFAULT_MONOATTR="(0)"
186 options WS_KERNEL_FG=WSCOL_BROWN
187 options WS_KERNEL_BG=WSCOL_BLUE
188 #options WS_KERNEL_COLATTR=""
189 #options WS_KERNEL_MONOATTR=""
191 # compatibility to other console drivers
192 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
193 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
194 options WSDISPLAY_COMPAT_USL # VT handling
195 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
197 options FONT_VT220L8x10 # the console font
200 # Kernel root file system and dump configuration.
201 config netbsd root on ? type ?
204 # Device configuration
208 # temporally power management
209 hpcapm0 at mainbus0 # power management
210 apmdev0 at hpcapm0 # APM
212 wskbd* at btnmgr0 mux 1
217 adc* at shb? # analog->digital converter
221 # Workstation Console attachments
223 hpcfb* at hd64461video?
227 wskbd0 at hpckbd? mux 1
230 # HP Jornada (620LX/660LX, 680/690)
232 scif0 at shb? # serial port/console
233 options SCIFCN_SPEED=19200
234 # don't need to define SCIFCONSOLE, you can select from the bootloader.
236 j6x0pwr* at adc? # battery, on/off, etc
238 j6x0lcd* at shb? # LCD power, brightness, contrast
240 j6x0tp* at adc? # touch panel
241 wsmouse* at j6x0tp? mux 0 # - as a pointing device
242 wskbd1 at j6x0tp? mux 1 # - "hard icons" as keys
243 # Do not convert hard icons to key presses while serving mouse input.
244 options J6X0TP_WSMOUSE_EXCLUSIVE
245 # Customization for the mini-keymap of hard icons.
246 #options J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
247 #options J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
248 #options J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
249 #options J6X0TP_SWITCH_ICON_KEYSYM="KS_End"
252 # HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
256 psh3pwr* at adc? # PERSONA SH3 battery, on/off, etc
258 psh3lcd* at shb? # LCD power, brightness, contrast
260 psh3tp* at adc? # PERSONA SH3 touch panel
261 wsmouse* at psh3tp? mux 0
264 # Common HD64461 devices
268 hd64461pcmcia* at hd64461if?
269 #options HD64461PCMCIA_DEBUG
270 #options HD64461PCMCIA_REORDER_ATTACH # attach channel 1 (CF) first
272 hd64461video* at hd64461if?
273 #options HD64461VIDEO_DEBUG
274 #options HD64461VIDEO_HWACCEL # XXX: too slow to bother
278 # machine independent part
282 #pcmcia* at hd64461pcmcia? controller ? socket ?
283 pcmcia0 at hd64461pcmcia? controller 0 socket ? # I/O card, memory card
284 pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only
286 # PCMCIA IDE controllers
287 #wdc* at pcmcia? function ?
288 wdc0 at pcmcia1 function ? # CF slot
289 wdc1 at pcmcia0 function ? # PC Card slot
291 # ATA (IDE) bus support
293 atabus0 at wdc0 channel ? # CF slot
294 atabus1 at wdc1 channel ? # PC Card slot
297 wd* at atabus? drive ? flags 0x0000
299 # PCMCIA network interfaces
300 mbe* at pcmcia0 function ? # MB8696x based Ethernet
301 ne* at pcmcia0 function ? # NE2000-compatible Ethernet
302 wi* at pcmcia0 function ? # Lucent/Intersil WaveLan IEEE (802.11)
305 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
306 nsphyter* at mii? phy ? # NS83843 PHYs
307 ukphy* at mii? phy ? # generic unknown PHYs
309 # PCMCIA Serial Devices
310 com* at pcmcia? function ? # Modems and serial cards
312 # Bluetooth Controller and Device support
314 # Bluetooth PCMCIA Controllers
315 bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A
316 btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
318 # Bluetooth Device Hub
324 # Bluetooth HID support
328 #btms* at bthidev? reportid ?
329 #wsmouse* at btms? mux 0
332 #btkbd* at bthidev? reportid ?
333 #wskbd* at btkbd? console ? mux 1
335 # Bluetooth Audio support
341 # disk/mass storage pseudo-devices
342 #pseudo-device vnd # disk-like interface to files
343 #options VND_COMPRESSION # compressed vnd(4)
344 pseudo-device fss 4 # file system snapshot device
346 # network pseudo-devices
347 pseudo-device loop # network loopback
348 pseudo-device ppp # serial-line IP ports
349 pseudo-device bpfilter # Berkeley packet filter
350 #pseudo-device carp # Common Address Redundancy Protocol
351 #pseudo-device ipfilter # IP filter, NAT
352 #pseudo-device pf # PF packet filter
353 #pseudo-device pflog # PF log if
357 pseudo-device accf_data # "dataready" accept filter
358 pseudo-device accf_http # "httpready" accept filter
360 # miscellaneous pseudo-devices
361 pseudo-device pty # pseudo-terminals
362 pseudo-device rnd # /dev/random and in-kernel generator
363 pseudo-device clockctl # user control of clock subsystem
364 #pseudo-device irframetty # IrDA frame line discipline
365 pseudo-device ksyms # kernel symbol table interface
366 pseudo-device bcsp # BlueCore Serial Protocol
367 pseudo-device btuart # Bluetooth HCI UART (H4)
369 # a pseudo device needed for Coda # also needs CODA (above)
370 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
372 # a pseudo device needed for SMBFS
373 #pseudo-device nsmb # experimental - SMB requester
375 # wscons pseudo-devices
376 pseudo-device wsmux # mouse & keyboard multiplexor
377 #pseudo-device wsfont # dynamic font loading support
378 #pseudo-device hpf1275a # HP F1275A external keyboard
379 #wskbd* at hpf1275a? mux 1
383 # a pseudo device needed for veriexec
384 #pseudo-device veriexec 1
386 # Uncomment the fingerprint methods below that are desired. Note that
387 # removing fingerprint methods will have almost no impact on the kernel
390 #options VERIFIED_EXEC_FP_RMD160
391 #options VERIFIED_EXEC_FP_SHA256
392 #options VERIFIED_EXEC_FP_SHA384
393 #options VERIFIED_EXEC_FP_SHA512
394 #options VERIFIED_EXEC_FP_SHA1
395 #options VERIFIED_EXEC_FP_MD5