]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - 6/sys/pc98/conf/NOTES
Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64
[FreeBSD/FreeBSD.git] / 6 / sys / pc98 / conf / NOTES
1 #
2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3 #
4 # This file contains machine dependent kernel configuration notes.  For
5 # machine independent notes, look in /sys/conf/NOTES.
6 #
7 # $FreeBSD$
8 #
9
10 #
11 # This directive is mandatory; it defines the architecture to be
12 # configured for; in this case, the 386 family based PC-98 and
13 # compatibles.
14 #
15 machine         pc98 i386
16 options         PC98
17
18 #
19 # We want LINT to cover profiling as well.
20 profile         2
21
22 \f
23 #####################################################################
24 # SMP OPTIONS:
25 #
26 # The apic device enables the use of the I/O APIC for interrupt delivery.
27 # The apic device can be used in both UP and SMP kernels, but is required
28 # for SMP kernels.  Thus, the apic device is not strictly an SMP option,
29 # but it is a prerequisite for SMP.
30 #
31
32 # Mandatory:
33 device          apic                    # I/O apic
34
35 #
36 # Watchdog routines.
37 #
38 options         MP_WATCHDOG
39
40 # Debugging options.
41 #
42 options         KDB_STOP_NMI            # Stop CPUS using NMI instead of IPI
43
44
45 \f
46 #####################################################################
47 # CPU OPTIONS
48
49 #
50 # You must specify at least one CPU (the one you intend to run on);
51 # deleting the specification for CPUs you don't need to use may make
52 # parts of the system run faster.
53 #
54 cpu             I486_CPU
55 cpu             I586_CPU                # aka Pentium(tm)
56 cpu             I686_CPU                # aka Pentium Pro(tm)
57
58 #
59 # Options for CPU features.
60 #
61 # CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
62 # CPU if CPU supports it.  The default is double-clock mode on
63 # BlueLightning CPU box.
64 #
65 # CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
66 # BlueLightning CPU.  It works only with Cyrix FPU, and this option
67 # should not be used with Intel FPU.
68 #
69 # CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
70 #
71 # CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
72 # of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
73 # Otherwise, the NO_LOCK bit of CCR1 is cleared.  (NOTE 3)
74 #
75 # CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
76 # mapped mode.  Default is 2-way set associative mode.
77 #
78 # CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables
79 # reorder).  This option should not be used if you use memory mapped
80 # I/O device(s).
81 #
82 # CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
83 # machines.  VmWare 3.x seems to emulate this instruction poorly, causing
84 # the guest OS to run very slowly.  This problem appears to be fixed in
85 # VmWare 4.x, at least in version 4.5.2, so that enabling this option with
86 # VmWare 4.x will result in locking operations to be 20-30 times slower.
87 # Enabling this with an SMP kernel will cause the kernel to be unusable.
88 #
89 # CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE.
90 #
91 # CPU_FASTER_5X86_FPU enables faster FPU exception handler.
92 #
93 # CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
94 # for i386 machines.
95 #
96 # CPU_IORT defines I/O clock delay time (NOTE 1).  Default values of
97 # I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
98 # (no clock delay).
99 #
100 # CPU_L2_LATENCY specifies the L2 cache latency value.  This option is used
101 # only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
102 # The default value is 5.
103 #
104 # CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
105 # of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
106 # 1).
107 #
108 # CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs.  This option
109 # is useful when you use Socket 8 to Socket 370 converter, because most Pentium
110 # Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
111 #
112 # CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
113 #
114 # CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
115 # enters suspend mode following execution of HALT instruction.
116 #
117 # CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
118 #
119 # CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
120 # K5/K6/K6-2 CPUs.
121 #
122 # CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
123 # flush at hold state.
124 #
125 # CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
126 # without cache flush at hold state, and (2) write-back CPU cache on
127 # Cyrix 6x86 whose revision < 2.7 (NOTE 2).
128 #
129 # NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
130 # Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
131 # executed.  This option is only needed if I586_CPU is also defined,
132 # and should be included for any non-Pentium CPU that defines it.
133 #
134 # NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
135 # which indicates that the 15-16MB range is *definitely* not being
136 # occupied by an ISA memory hole.
137 #
138 # NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
139 # CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
140 # These options may crash your system.
141 #
142 # NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
143 # in write-through mode when revision < 2.7.  If revision of Cyrix
144 # 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
145 #
146 # NOTE 3: This option may cause failures for software that requires
147 # locked cycles in order to operate correctly.
148 #
149 options         CPU_BLUELIGHTNING_3X
150 options         CPU_BLUELIGHTNING_FPU_OP_CACHE
151 options         CPU_BTB_EN
152 options         CPU_DIRECT_MAPPED_CACHE
153 options         CPU_DISABLE_5X86_LSSER
154 options         CPU_DISABLE_CMPXCHG
155 #options        CPU_DISABLE_SSE
156 options         CPU_FASTER_5X86_FPU
157 options         CPU_I486_ON_386
158 options         CPU_IORT
159 options         CPU_L2_LATENCY=5
160 options         CPU_LOOP_EN
161 options         CPU_PPRO2CELERON
162 options         CPU_RSTK_EN
163 options         CPU_SUSP_HLT
164 options         CPU_UPGRADE_HW_CACHE
165 options         CPU_WT_ALLOC
166 options         CYRIX_CACHE_WORKS
167 options         CYRIX_CACHE_REALLY_WORKS
168 #options        NO_F00F_HACK
169
170 # Debug options
171 options         NPX_DEBUG       # enable npx debugging
172
173 #
174 # PERFMON causes the driver for Pentium/Pentium Pro performance counters
175 # to be compiled.  See perfmon(4) for more information.
176 #
177 options         PERFMON
178
179 \f
180 #####################################################################
181 # NETWORKING OPTIONS
182
183 #
184 # DEVICE_POLLING adds support for mixed interrupt-polling handling
185 # of network device drivers, which has significant benefits in terms
186 # of robustness to overloads and responsivity, as well as permitting
187 # accurate scheduling of the CPU time between kernel network processing
188 # and other activities.  The drawback is a moderate (up to 1/HZ seconds)
189 # potential increase in response times.
190 # It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
191 # to achieve smoother behaviour.
192 # Additionally, you can enable/disable polling at runtime with help of
193 # the ifconfig(8) utility, and select the CPU fraction reserved to
194 # userland with the sysctl variable kern.polling.user_frac
195 # (default 50, range 0..100).
196 #
197 # Not all device drivers support this mode of operation at the time of
198 # this writing.  See polling(4) for more details.
199
200 options         DEVICE_POLLING
201
202 \f
203 #####################################################################
204 # CLOCK OPTIONS
205
206 # The following options are used for debugging clock behavior only, and
207 # should not be used for production systems.
208
209 # CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
210 # startup until the user presses a key.  (The i8254 clock is always
211 # calibrated relative to the RTC (mc146818a) and this option causes the
212 # calibration to be repeated.)
213 options         CLK_CALIBRATION_LOOP
214
215 # CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
216 # clock to actually be used.
217 options         CLK_USE_I8254_CALIBRATION
218
219 \f
220 #####################################################################
221 # MISCELLANEOUS DEVICES AND OPTIONS
222
223 device          speaker         #Play IBM BASIC-style noises out your speaker
224 hint.speaker.0.at="isa"
225 hint.speaker.0.port="0x35"
226 device          gzip            #Exec gzipped a.out's.  REQUIRES COMPAT_AOUT!
227 device          apm_saver       # Requires APM
228
229 \f
230 #####################################################################
231 # HARDWARE BUS CONFIGURATION
232
233 #
234 # ISA bus
235 #
236 device          isa
237
238 #
239 # Options for `isa':
240 #
241 # AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
242 # interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
243 # This option breaks suspend/resume on some portables.
244 #
245 # MAXMEM specifies the amount of RAM on the machine; if this is not
246 # specified, FreeBSD will first read the amount of memory from the CMOS
247 # RAM, so the amount of memory will initially be limited to 64MB or 16MB
248 # depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
249 # then attempt to detect the installed amount of RAM.  If this probe
250 # fails to detect >64MB RAM you will have to use the MAXMEM option.
251 # The amount is in kilobytes, so for a machine with 128MB of RAM, it would
252 # be 131072 (128 * 1024).
253 #
254 # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
255 # reset the CPU for reboot.  This is needed on some systems with broken
256 # keyboard controllers.
257
258 options         AUTO_EOI_1
259
260 options         MAXMEM=(128*1024)
261 #options        BROKEN_KEYBOARD_RESET
262 options         EPSON_BOUNCEDMA
263 options         EPSON_MEMWIN
264
265 #
266 # PCI bus & PCI options:
267 #
268 device          pci
269
270 #
271 # AGP GART support
272 device          agp
273
274 \f
275 #####################################################################
276 # HARDWARE DEVICE CONFIGURATION
277
278 # PC98 keyboard
279 device          pckbd
280 hint.pckbd.0.at="isa"
281 hint.pckbd.0.port="0x041"
282 hint.pckbd.0.irq="1"
283
284 # These options are valid for other keyboard drivers as well.
285 options         KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap
286 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
287
288 # GDC screen
289 device          gdc
290 hint.gdc.0.at="isa"
291 options         LINE30
292
293 #
294 # The Numeric Processing eXtension driver.  This is non-optional.
295 device          npx
296
297 #
298 # `flags' for npx0:
299 #       0x01    don't use the npx registers to optimize bcopy.
300 #       0x02    don't use the npx registers to optimize bzero.
301 #       0x04    don't use the npx registers to optimize copyin or copyout.
302 # The npx registers are normally used to optimize copying and zeroing when
303 # all of the following conditions are satisfied:
304 #       I586_CPU is an option
305 #       the cpu is an i586 (perhaps not a Pentium)
306 #       the probe for npx0 succeeds
307 #       INT 16 exception handling works.
308 # Then copying and zeroing using the npx registers is normally 30-100% faster.
309 # The flags can be used to control cases where it doesn't work or is slower.
310 # Setting them at boot time using hints works right (the optimizations
311 # are not used until later in the bootstrap when npx0 is attached).
312 # Flag 0x08 automatically disables the i586 optimized routines.
313 #
314
315 #
316 # Optional devices:
317 #
318
319 # 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support.  This will create
320 # the /dev/3dfx0 device to work with glide implementations.  This should get
321 # linked to /dev/3dfx and /dev/voodoo.  Note that this is not the same as
322 # the tdfx DRI module from XFree86 and is completely unrelated.
323 #
324 # To enable Linuxulator support, one must also include COMPAT_LINUX in the
325 # config as well, or you will not have the dependencies.  The other option
326 # is to load both as modules.
327
328 device          tdfx                    # Enable 3Dfx Voodoo support
329 options         TDFX_LINUX              # Enable Linuxulator support
330
331 # Direct Rendering modules for 3D acceleration.
332 device          drm             # DRM core module required by DRM drivers
333 device          mach64drm       # ATI Rage Pro, Rage Mobility P/M, Rage XL
334 device          mgadrm          # AGP Matrox G200, G400, G450, G550
335 device          r128drm         # ATI Rage 128
336 device          radeondrm       # ATI Radeon
337 device          sisdrm          # SiS 300/305, 540, 630
338 device          tdfxdrm         # 3dfx Voodoo 3/4/5 and Banshee
339 options         DRM_DEBUG       # Include debug printfs (slow)
340
341 #
342 # Bus mouse
343 #
344 device          mse
345 hint.mse.0.at="isa"
346 hint.mse.0.port="0x7fd9"
347 hint.mse.0.irq="13"
348
349 #
350 # Network interfaces:
351 #
352
353 # ar:   Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
354 #       (requires sppp)
355 # cp:   Cronyx Tau-PCI sync single/dual/four port
356 #       V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1
357 #       serial adaptor (requires sppp (default), or NETGRAPH if
358 #       NETGRAPH_CRONYX is configured)
359 # ed:   Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
360 #       HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
361 #       (requires miibus)
362 # ie:   AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
363 #       Intel EtherExpress
364 # lnc:  Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
365 #       Am79C960)
366 # oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133.
367 #       Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
368 #       OC-3141, OC-3540 and OC-3250.
369 # sbni: Granch SBNI12-xx ISA and PCI adapters
370 # sr:   RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
371
372 # Order for ISA/EISA devices is important here
373
374 device          ar
375 device          cp
376 device          ed
377 #options        ED_NO_MIIBUS            # Disable ed miibus support
378 hint.ed.0.at="isa"
379 hint.ed.0.port="0x280"
380 hint.ed.0.irq="5"
381 hint.ed.0.maddr="0xd8000"
382 device          ie                      # Hints only required for Starlan
383 hint.ie.2.at="isa"
384 hint.ie.2.port="0x300"
385 hint.ie.2.irq="5"
386 hint.ie.2.maddr="0xd0000"
387 device          lnc
388 hint.lnc.0.at="isa"
389 hint.lnc.0.port="0x280"
390 hint.lnc.0.irq="10"
391 hint.lnc.0.drq="0"
392 device          sbni
393 hint.sbni.0.at="isa"
394 hint.sbni.0.port="0x210"
395 hint.sbni.0.irq="0xefdead"
396 hint.sbni.0.flags="0"
397 device          snc
398 hint.snc.0.at="isa"
399 hint.snc.0.port="0x888"
400 hint.snc.0.irq="6"
401 hint.snc.0.maddr="0xc0000"
402 device          sr
403 device          oltr
404
405 #
406 # SCSI host adapters:
407 #
408 # ct: WD33C93[ABC] based SCSI host adapters.
409 # ncv: NCR 53C500 based SCSI host adapters.
410 # nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
411 # stg: TMC 18C30, 18C50 based SCSI host adapters.
412
413 device          ct
414 hint.ct.0.at="isa"
415 device          ncv
416 device          nsp
417 device          stg
418
419 #
420 # SafeNet crypto driver: can be moved to the MI NOTES as soon as
421 # it's tested on a big-endian machine
422 #
423 device          safe            # SafeNet 1141
424 options         SAFE_DEBUG      # enable debugging support: hw.safe.debug
425 options         SAFE_RNDTEST    # enable rndtest support
426
427 #####################################################################
428
429 #
430 # Miscellaneous hardware:
431 #
432 # apm: Laptop Advanced Power Management (experimental)
433 # pmtimer: Timer device driver for power management events (APM or ACPI)
434 # cy: Cyclades serial driver
435 # digi: Digiboard driver
436
437 # Notes on APM
438 #  The flags takes the following meaning for apm0:
439 #    0x0020  Statclock is broken.
440
441 device          apm
442 hint.apm.0.flags="0x20"
443 device          canbus
444 device          canbepm
445 device          cy
446 options         CY_PCI_FASTINTR         # Use with cy_pci unless irq is shared
447 device          digi
448 # BIOS & FEP/OS components of device digi.
449 device          digi_CX
450 device          digi_CX_PCI
451 device          digi_EPCX
452 device          digi_EPCX_PCI
453 device          digi_Xe
454 device          digi_Xem
455 device          digi_Xr
456 device          olpt
457 hint.olpt.0.at="isa"
458 hint.olpt.0.port="0x040"
459 device          pmc
460 hint.pmc.0.at="isa"
461 hint.pmc.0.port="0x8f0"
462 device          pmtimer                 # Adjust system timer at wakeup time
463 # sx device is i386 and pc98 only at the moment.
464 device          sx
465 options         SX_DEBUG
466
467 #
468 # Laptop/Notebook options:
469 #
470 # See also:
471 #  apm under `Miscellaneous hardware'
472 # above.
473
474 # For older notebooks that signal a powerfail condition (external
475 # power supply dropped, or battery state low) by issuing an NMI:
476
477 options         POWERFAIL_NMI   # make it beep instead of panicing
478
479 #---------------------------------------------------------------------------
480 # ISDN4BSD
481 #
482 # See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
483 #
484 # i4b passive ISDN cards support contains the following hardware drivers:
485 #
486 #       isic  - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
487 #       iwic  - Winbond W6692 PCI bus ISDN S/T interface controller
488 #       ifpi  - AVM Fritz!Card PCI driver
489 #       ifpi2  - AVM Fritz!Card PCI version 2 driver
490 #       ihfc  - Cologne Chip HFC ISA/ISA-PnP chipset driver
491 #       ifpnp - AVM Fritz!Card PnP driver
492 #       itjc  - Siemens ISAC / TJNet Tiger300/320 chipset
493 #
494 # i4b active ISDN cards support contains the following hardware drivers:
495 #
496 #       iavc  - AVM B1 PCI, AVM B1 ISA, AVM T1
497 #
498 # Note that the ``options'' (if given) and ``device'' lines must BOTH
499 # be uncommented to enable support for a given card !
500 #
501 # In addition to a hardware driver (and probably an option) the mandatory
502 # ISDN protocol stack devices and the mandatory support device must be
503 # enabled as well as one or more devices from the optional devices section.
504 #
505 #---------------------------------------------------------------------------
506 #       isic driver (Siemens/Infineon chipsets)
507 #
508 device  isic
509 #
510 # PCI bus Cards:
511 # --------------
512 #
513 # ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
514 options         ELSA_QS1PCI
515 #
516 #---------------------------------------------------------------------------
517 #       ifpnp driver for AVM Fritz!Card PnP
518 #
519 # AVM Fritz!Card PnP
520 device          ifpnp
521 #
522 #---------------------------------------------------------------------------
523 #       ihfc driver for Cologne Chip ISA chipsets (experimental!)
524 #
525 # Teles 16.3c ISA PnP
526 # AcerISDN P10 ISA PnP
527 # TELEINT ISDN SPEED No.1
528 device          ihfc
529 #
530 #---------------------------------------------------------------------------
531 #       ifpi driver for AVM Fritz!Card PCI
532 #
533 # AVM Fritz!Card PCI
534 device          ifpi
535 #
536 #---------------------------------------------------------------------------
537 #       ifpi2 driver for AVM Fritz!Card PCI version 2
538 #
539 # AVM Fritz!Card PCI version 2
540 device          ifpi2
541 #
542 #---------------------------------------------------------------------------
543 #       iwic driver for Winbond W6692 chipset
544 #
545 # ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
546 device          iwic
547 #
548 #---------------------------------------------------------------------------
549 #       itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
550 #
551 # Traverse Technologies NETjet-S
552 # Teles PCI-TJ
553 device          itjc
554 #
555 #---------------------------------------------------------------------------
556 #       iavc driver (AVM active cards, needs i4bcapi driver!)
557 #
558 device          iavc
559 #
560 #---------------------------------------------------------------------------
561 #       ISDN Protocol Stack - mandatory for all hardware drivers
562 #
563 # Q.921 / layer 2 - i4b passive cards D channel handling
564 device          i4bq921
565 #
566 # Q.931 / layer 3 - i4b passive cards D channel handling
567 device          i4bq931
568 #
569 # layer 4 - i4b common passive and active card handling
570 device          i4b
571 #
572 #---------------------------------------------------------------------------
573 #       ISDN devices - mandatory for all hardware drivers
574 #
575 # userland driver to do ISDN tracing (for passive cards only)
576 device          i4btrc
577 options         NI4BTRC=4
578 #
579 # userland driver to control the whole thing
580 device          i4bctl
581 #
582 #---------------------------------------------------------------------------
583 #       ISDN devices - optional
584 #
585 # userland driver for access to raw B channel
586 device          i4brbch
587 options         NI4BRBCH=4
588 #
589 # userland driver for telephony
590 device          i4btel
591 options         NI4BTEL=2
592 #
593 # network driver for IP over raw HDLC ISDN
594 device          i4bipr
595 options         NI4BIPR=4
596 # enable VJ header compression detection for ipr i/f
597 options         IPR_VJ
598 # enable logging of the first n IP packets to isdnd (n=32 here)
599 options         IPR_LOG=32
600 #
601 # network driver for sync PPP over ISDN; requires an equivalent
602 # number of sppp device to be configured
603 device          i4bisppp
604 options         NI4BISPPP=4
605 #
606 # B-channel interface to the netgraph subsystem
607 device          i4bing
608 options         NI4BING=2
609 #
610 # CAPI driver needed for active ISDN cards (see iavc driver above)
611 device          i4bcapi
612 #
613 #---------------------------------------------------------------------------
614
615 #
616 # Set the number of PV entries per process.  Increasing this can
617 # stop panics related to heavy use of shared memory.  However, that can
618 # (combined with large amounts of physical memory) cause panics at
619 # boot time due the kernel running out of VM space.
620 #
621 # If you're tweaking this, you might also want to increase the sysctls
622 # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
623 #
624 # The value below is the one more than the default.
625 #
626 options         PMAP_SHPGPERPROC=201
627
628 #
629 # Change the size of the kernel virtual address space.  Due to
630 # constraints in loader(8) on i386, this must be a multiple of 4.
631 # 256 = 1 GB of kernel address space.  Increasing this also causes
632 # a reduction of the address space in user processes.  512 splits
633 # the 4GB cpu address space in half (2GB user, 2GB kernel).
634 #
635 options         KVA_PAGES=260
636
637 \f
638 #####################################################################
639 # ABI Emulation
640
641 # Enable iBCS2 runtime support for SCO and ISC binaries
642 options         IBCS2
643
644 # Emulate spx device for client side of SVR3 local X interface
645 options         SPX_HACK
646
647 # Enable Linux ABI emulation
648 options         COMPAT_LINUX
649
650 # Enable i386 a.out binary support
651 options         COMPAT_AOUT
652
653 # Enable the linux-like proc filesystem support (requires COMPAT_LINUX
654 # and PSEUDOFS)
655 options         LINPROCFS
656
657 #Enable the linux-like sys filesystem support (requires COMPAT_LINUX)
658 options         LINSYSFS
659
660 #
661 # SysVR4 ABI emulation
662 #
663 # The svr4 ABI emulator can be statically compiled into the kernel or loaded as
664 # a KLD module.
665 # The STREAMS network emulation code can also be compiled statically or as a
666 # module.  If loaded as a module, it must be loaded before the svr4 module
667 # (the /usr/sbin/svr4 script does this for you).  If compiling statically,
668 # the `streams' device must be configured into any kernel which also
669 # specifies COMPAT_SVR4.  It is possible to have a statically-configured
670 # STREAMS device and a dynamically loadable svr4 emulator;  the /usr/sbin/svr4
671 # script understands that it doesn't need to load the `streams' module under
672 # those circumstances.
673 # Caveat:  At this time, `options KTRACE' is required for the svr4 emulator
674 # (whether static or dynamic).
675 #
676 options         COMPAT_SVR4     # build emulator statically
677 options         DEBUG_SVR4      # enable verbose debugging
678 device          streams         # STREAMS network driver (required for svr4).
679
680 \f
681 #####################################################################
682 # VM OPTIONS
683
684 # Disable the 4 MByte page PSE CPU feature.  The PSE feature allows the
685 # kernel to use 4 MByte pages to map the kernel instead of 4k pages.
686 # This saves on the amount of memory needed for page tables needed to
687 # map the kernel.  You should only disable this feature as a temporary
688 # workaround if you are having problems with it enabled.
689 #
690 #options        DISABLE_PSE
691
692 # Disable the global pages PGE CPU feature.  The PGE feature allows pages
693 # to be marked with the PG_G bit.  TLB entries for these pages are not
694 # flushed from the cache when %cr3 is reloaded.  This can make context
695 # switches less expensive.  You should only disable this feature as a
696 # temporary workaround if you are having problems with it enabled.
697 #
698 #options        DISABLE_PG_G
699
700 # KSTACK_PAGES is the number of memory pages to assign to the kernel
701 # stack of each thread.
702
703 options         KSTACK_PAGES=3
704
705 #####################################################################
706
707 # More undocumented options for linting.
708 # Note that documenting these are not considered an affront.
709
710 options         FB_INSTALL_CDEV         # install a CDEV entry in /dev
711
712 # PECOFF module (Win32 Execution Format)
713 options         PECOFF_SUPPORT
714 options         PECOFF_DEBUG
715
716 options         I4B_SMP_WORKAROUND
717 options         I586_PMC_GUPROF=0x70000
718 options         KBDIO_DEBUG=2
719 options         KBD_MAXRETRY=4
720 options         KBD_MAXWAIT=6
721 options         KBD_RESETDELAY=201
722
723 options         TIMER_FREQ=((14318182+6)/12)
724
725 options         VM_KMEM_SIZE
726 options         VM_KMEM_SIZE_MAX
727 options         VM_KMEM_SIZE_SCALE
728
729 \f
730 # The I/O device
731 device          io
732
733 \f
734 #####################################################################
735 # Devices we don't want to deal with
736
737 nodevice        atkbdc
738 nodevice        atkbd
739 nodevice        psm
740 nodevice        vga
741 nodevice        bt
742 nodevice        adw
743 nodevice        aha
744 nodevice        ahb
745 nodevice        ahd
746 nodevice        mpt
747 nodevice        trm
748 nodevice        wds
749 nodevice        asr
750 nodevice        dpt
751 nodevice        ciss
752 nodevice        iir
753 nodevice        mly
754 nodevice        ida             # Compaq Smart RAID
755 nodevice        mlx             # Mylex DAC960
756 nodevice        amr             # AMI MegaRAID
757 nodevice        twe             # 3ware ATA RAID
758 nodevice        ataraid
759 nodevice        cm
760 nodevice        cs
761 nodevice        ex
762 nodevice        fea
763 nodevice        intpm
764 nodevice        alpm
765 nodevice        ichsmb
766 nodevice        viapm
767 nodevice        amdpm
768 nodevice        amdsmb
769 nodevice        nfpm
770 nodevice        nfsmb
771
772 \f
773 #####################################################################
774 # Options we don't want to deal with
775
776 nooption        VGA_DEBUG
777 nooption        VGA_WIDTH90
778 nooption        VGA_SLOW_IOACCESS
779 nooption        VGA_ALT_SEQACCESS
780 nooption        PSM_RESETAFTERSUSPEND
781 nooption        PSM_HOOKRESUME
782 nooption        ATKBD_DFLT_KEYMAP
783 nooption        AHD_DEBUG
784 nooption        AHD_DEBUG_OPTS
785 nooption        AHD_REG_PRETTY_PRINT
786 nooption        ADW_ALLOW_MEMIO
787 nooption        DPT_LOST_IRQ
788 nooption        DPT_RESET_HBA
789 nooption        DPT_TIMEOUT_FACTOR
790 nooption        AAC_DEBUG
791 nooption        ACPI_MAX_THREADS
792
793 \f
794 #####################################################################
795 # Make options we don't want to deal with
796
797 nomakeoption    ATKBD_DFLT_KEYMAP