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