FreeBSD/Linux Kernel Cross Reference
sys/i386/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: releng/5.0/sys/i386/conf/NOTES 106658 2002-11-08 20:04:38Z jhb $
8 #
9
10 #
11 # This directive is mandatory; it defines the architecture to be
12 # configured for; in this case, the 386 family based IBM-PC and
13 # compatibles.
14 #
15 machine i386
16
17 #
18 # We want LINT to cover profiling as well
19 profile 2
20
21
22 #####################################################################
23 # SMP OPTIONS:
24 #
25 # APIC_IO enables the use of the IO APIC for Symmetric I/O.
26 #
27 # Notes:
28 #
29 # An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
30 #
31 # Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
32 #
33 # Check the 'Rogue SMP hardware' section to see if additional options
34 # are required by your hardware.
35 #
36
37 # Mandatory:
38 options APIC_IO # Symmetric (APIC) I/O
39
40 #
41 # Rogue SMP hardware:
42 #
43
44 # Bridged PCI cards:
45 #
46 # The MP tables of most of the current generation MP motherboards
47 # do NOT properly support bridged PCI cards. To use one of these
48 # cards you should refer to ???
49
50
51 #####################################################################
52 # CPU OPTIONS
53
54 #
55 # You must specify at least one CPU (the one you intend to run on);
56 # deleting the specification for CPUs you don't need to use may make
57 # parts of the system run faster.
58 # I386_CPU is mutually exclusive with the other CPU types.
59 #
60 #cpu I386_CPU
61 cpu I486_CPU
62 cpu I586_CPU # aka Pentium(tm)
63 cpu I686_CPU # aka Pentium Pro(tm)
64
65 #
66 # Options for CPU features.
67 #
68 # CPU_ATHLON_SSE_HACK tries to enable SSE instructions when the BIOS has
69 # forgotten to enable them.
70 #
71 # CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
72 # BlueLightning CPU. It works only with Cyrix FPU, and this option
73 # should not be used with Intel FPU.
74 #
75 # CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
76 # CPU if CPU supports it. The default is double-clock mode on
77 # BlueLightning CPU box.
78 #
79 # CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
80 #
81 # CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
82 # mapped mode. Default is 2-way set associative mode.
83 #
84 # CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
85 # of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
86 # Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3)
87 #
88 # CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
89 # reorder). This option should not be used if you use memory mapped
90 # I/O device(s).
91 #
92 # CPU_ELAN enables support for AMDs ElanSC520 CPU.
93 #
94 # CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default
95 # on I686_CPU and above.
96 # CPU_DISABLE_SSE explicitly prevent I686_CPU from turning on SSE.
97 #
98 # CPU_FASTER_5X86_FPU enables faster FPU exception handler.
99 #
100 # CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
101 # for i386 machines.
102 #
103 # CPU_IORT defines I/O clock delay time (NOTE 1). Default values of
104 # I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
105 # (no clock delay).
106 #
107 # CPU_L2_LATENCY specifed the L2 cache latency value. This option is used
108 # only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
109 # The default value is 5.
110 #
111 # CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
112 # of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
113 # 1).
114 #
115 # CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option
116 # is useful when you use Socket 8 to Socket 370 converter, because most Pentium
117 # Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
118 #
119 # CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
120 #
121 # CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU
122 # enters suspend mode following execution of HALT instruction.
123 #
124 # CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
125 #
126 # CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
127 # K5/K6/K6-2 cpus.
128 #
129 # CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
130 # flush at hold state.
131 #
132 # CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
133 # without cache flush at hold state, and (2) write-back CPU cache on
134 # Cyrix 6x86 whose revision < 2.7 (NOTE 2).
135 #
136 # NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
137 # Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
138 # executed. This option is only needed if I586_CPU is also defined,
139 # and should be included for any non-Pentium CPU that defines it.
140 #
141 # NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
142 # which indicates that the 15-16MB range is *definitely* not being
143 # occupied by an ISA memory hole.
144 #
145 # CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
146 # machines. VmWare seems to emulate this instruction poorly, causing
147 # the guest OS to run very slowly. Enabling this with a SMP kernel
148 # will cause the kernel to be unusable.
149 #
150 # NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
151 # CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
152 # These options may crash your system.
153 #
154 # NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
155 # in write-through mode when revision < 2.7. If revision of Cyrix
156 # 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
157 #
158 # NOTE 3: This option may cause failures for software that requires
159 # locked cycles in order to operate correctly.
160 #
161 options CPU_ATHLON_SSE_HACK
162 options CPU_BLUELIGHTNING_FPU_OP_CACHE
163 options CPU_BLUELIGHTNING_3X
164 options CPU_BTB_EN
165 options CPU_DIRECT_MAPPED_CACHE
166 options CPU_DISABLE_5X86_LSSER
167 options CPU_ELAN
168 options CPU_ENABLE_SSE
169 #options CPU_DISABLE_SSE
170 options CPU_FASTER_5X86_FPU
171 options CPU_I486_ON_386
172 options CPU_IORT
173 options CPU_L2_LATENCY=5
174 options CPU_LOOP_EN
175 options CPU_PPRO2CELERON
176 options CPU_RSTK_EN
177 options CPU_SUSP_HLT
178 options CPU_UPGRADE_HW_CACHE
179 options CPU_WT_ALLOC
180 options CYRIX_CACHE_WORKS
181 options CYRIX_CACHE_REALLY_WORKS
182 #options NO_F00F_HACK
183 options CPU_DISABLE_CMPXCHG
184
185 #
186 # A math emulator is mandatory if you wish to run on hardware which
187 # does not have a floating-point processor. Pick either the original,
188 # bogus (but freely-distributable) math emulator, or a much more
189 # fully-featured but GPL-licensed emulator taken from Linux.
190 #
191 options MATH_EMULATE #Support for x87 emulation
192 # Don't enable both of these in a real config.
193 options GPL_MATH_EMULATE #Support for x87 emulation via
194 #new math emulator
195
196 #
197 # PERFMON causes the driver for Pentium/Pentium Pro performance counters
198 # to be compiled. See perfmon(4) for more information.
199 #
200 options PERFMON
201
202
203 #####################################################################
204 # NETWORKING OPTIONS
205
206 #
207 # DEVICE_POLLING adds support for mixed interrupt-polling handling
208 # of network device drivers, which has significant benefits in terms
209 # of robustness to overloads and responsivity, as well as permitting
210 # accurate scheduling of the CPU time between kernel network processing
211 # and other activities. The drawback is a moderate (up to 1/HZ seconds)
212 # potential increase in response times.
213 # It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
214 # to achieve smoother behaviour.
215 # Additionally, you can enable/disable polling at runtime with the
216 # sysctl variable kern.polling.enable (defaults off), and select
217 # the CPU fraction reserved to userland with the sysctl variable
218 # kern.polling.user_frac (default 50, range 0..100).
219 #
220 # Only the "dc" "fxp" and "sis" devices support this mode of operation at
221 # the time of this writing.
222
223 options DEVICE_POLLING
224
225
226 #####################################################################
227 # CLOCK OPTIONS
228
229 # The following options are used for debugging clock behavior only, and
230 # should not be used for production systems.
231 #
232 # CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
233 # until the user presses a key.
234
235 options CLK_CALIBRATION_LOOP
236
237 # The following two options measure the frequency of the corresponding
238 # clock relative to the RTC (onboard mc146818a).
239
240 options CLK_USE_I8254_CALIBRATION
241 options CLK_USE_TSC_CALIBRATION
242
243
244 #####################################################################
245 # MISCELLANEOUS DEVICES AND OPTIONS
246
247 device speaker #Play IBM BASIC-style noises out your speaker
248 hint.speaker.0.at="isa"
249 hint.speaker.0.port="0x61"
250 device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
251 device apm_saver # Requires APM
252
253
254 #####################################################################
255 # HARDWARE BUS CONFIGURATION
256
257 #
258 # ISA bus
259 #
260 device isa
261
262 #
263 # Options for `isa':
264 #
265 # AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
266 # interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
267 # This option breaks suspend/resume on some portables.
268 #
269 # AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
270 # interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
271 # Automatic EOI is documented not to work for for the slave with the
272 # original i8259A, but it works for some clones and some integrated
273 # versions.
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 COMPAT_OLDISA #Use ISA shims and glue for old drivers
289 options AUTO_EOI_1
290 #options AUTO_EOI_2
291
292 options MAXMEM=(128*1024)
293 #options BROKEN_KEYBOARD_RESET
294
295 #
296 # EISA bus
297 #
298 # The EISA bus device is `eisa'. It provides auto-detection and
299 # configuration support for all devices on the EISA bus.
300
301 device eisa
302
303 # By default, only 10 EISA slots are probed, since the slot numbers
304 # above clash with the configuration address space of the PCI subsystem,
305 # and the EISA probe is not very smart about this. This is sufficient
306 # for most machines, but in particular the HP NetServer LC series comes
307 # with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
308 # thus you need to bump this figure to 12 for them.
309 options EISA_SLOTS=12
310
311 #
312 # MCA bus:
313 #
314 # The MCA bus device is `mca'. It provides auto-detection and
315 # configuration support for all devices on the MCA bus.
316 # No hints are required for MCA.
317
318 device mca
319
320 #
321 # PCI bus & PCI options:
322 #
323 device pci
324
325 #
326 # AGP GART support
327 device agp
328
329
330 #####################################################################
331 # HARDWARE DEVICE CONFIGURATION
332
333 #
334 # Mandatory devices:
335 #
336
337 # To include support for VGA VESA video modes
338 options VESA
339
340 # Turn on extra debugging checks and output for VESA support.
341 options VESA_DEBUG
342
343 # The pcvt console driver (vt220 compatible).
344 device vt
345 hint.vt.0.at="isa"
346 options XSERVER # support for running an X server on vt
347 options FAT_CURSOR # start with block cursor
348 # This PCVT option is for keyboards such as those used on really old ThinkPads
349 options PCVT_SCANSET=2
350 # Other PCVT options are documented in pcvt(4).
351 options PCVT_24LINESDEF
352 options PCVT_CTRL_ALT_DEL
353 options PCVT_META_ESC
354 options PCVT_NSCREENS=9
355 options PCVT_PRETTYSCRNS
356 options PCVT_SCREENSAVER
357 options PCVT_USEKBDSEC
358 options PCVT_VT220KEYB
359 options PCVT_GREENSAVER
360
361 #
362 # The Numeric Processing eXtension driver. In addition to this, you
363 # may configure a math emulator (see above). If your machine has a
364 # hardware FPU and the kernel configuration includes the npx device
365 # *and* a math emulator compiled into the kernel, the hardware FPU
366 # will be used, unless it is found to be broken or unless "flags" to
367 # npx0 includes "0x08", which requests preference for the emulator.
368 device npx
369 hint.npx.0.flags="0x0"
370 hint.npx.0.irq="13"
371
372 #
373 # `flags' for npx0:
374 # 0x01 don't use the npx registers to optimize bcopy.
375 # 0x02 don't use the npx registers to optimize bzero.
376 # 0x04 don't use the npx registers to optimize copyin or copyout.
377 # 0x08 use emulator even if hardware FPU is available.
378 # The npx registers are normally used to optimize copying and zeroing when
379 # all of the following conditions are satisfied:
380 # I586_CPU is an option
381 # the cpu is an i586 (perhaps not a Pentium)
382 # the probe for npx0 succeeds
383 # INT 16 exception handling works.
384 # Then copying and zeroing using the npx registers is normally 30-100% faster.
385 # The flags can be used to control cases where it doesn't work or is slower.
386 # Setting them at boot time using userconfig works right (the optimizations
387 # are not used until later in the bootstrap when npx0 is attached).
388 # Flag 0x08 automatically disables the i586 optimized routines.
389 #
390
391 #
392 # Optional devices:
393 #
394
395 # 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
396 # the /dev/3dfx0 device to work with glide implementations. This should get
397 # linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
398 # the tdfx DRI module from XFree86 and is completely unrelated.
399 #
400 # To enable Linuxulator support, one must also include COMPAT_LINUX in the
401 # config as well, or you will not have the dependencies. The other option
402 # is to load both as modules.
403
404 device tdfx # Enable 3Dfx Voodoo support
405 options TDFX_LINUX # Enable Linuxulator support
406
407 #
408 # ACPI support using the Intel ACPI Component Architecture reference
409 # implementation.
410 #
411 # ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
412 # kernel environment variables to select initial debugging levels for the
413 # Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
414 # defined when it is built).
415 #
416 # Note that building ACPI into the kernel is deprecated; the module is
417 # normally loaded automatically by the loader.
418 #
419 device acpi
420 options ACPI_DEBUG
421
422 # DRM options:
423 # gammadrm: 3Dlabs Oxygen GMX 2000
424 # mgadrm: AGP Matrox G200, G400, G450, G550
425 # tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee
426 # r128drm: AGP ATI Rage 128
427 # radeondrm: AGP ATI Radeon, including 7200 and 7500
428 # DRM_LINUX: include linux compatibility, requires COMPAT_LINUX
429 # DRM_DEBUG: inlcude debugging code, very slow
430 #
431 # mga, r128, and radeon require AGP in the kernel
432
433 device gammadrm
434 device mgadrm
435 device "r128drm"
436 device radeondrm
437 device tdfxdrm
438
439 options DRM_DEBUG
440 options DRM_LINUX
441
442 # M-systems DiskOnchip products see src/sys/contrib/dev/fla/README
443 device fla
444 hint.fla.0.at="isa"
445
446 #
447 # mse: Logitech and ATI InPort bus mouse ports
448
449 device mse
450 hint.mse.0.at="isa"
451 hint.mse.0.port="0x23c"
452 hint.mse.0.irq="5"
453
454 #
455 # Network interfaces:
456 #
457
458 # ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
459 # (requires sppp)
460 # cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
461 # ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
462 # HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf)
463 # (requires miibus)
464 # el: 3Com 3C501 (slow!)
465 # ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
466 # Intel EtherExpress
467 # le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
468 # DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
469 # lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
470 # Am79C960)
471 # oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133
472 # (no hints needed).
473 # Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
474 # OC-3141, OC-3540, OC-3250
475 # rdp: RealTek RTL 8002-based pocket ethernet adapters
476 # sbni: Granch SBNI12-xx ISA and PCI adapters
477 # sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
478 # wl: Lucent Wavelan (ISA card only).
479
480 # Order for ISA/EISA devices is important here
481
482 device ar
483 hint.ar.0.at="isa"
484 hint.ar.0.port="0x300"
485 hint.ar.0.irq="10"
486 hint.ar.0.maddr="0xd0000"
487 device cx 1
488 hint.cx.0.at="isa"
489 hint.cx.0.port="0x240"
490 hint.cx.0.irq="15"
491 hint.cx.0.drq="7"
492 device ed
493 #options ED_NO_MIIBUS # Disable ed miibus support
494 hint.ed.0.at="isa"
495 hint.ed.0.port="0x280"
496 hint.ed.0.irq="5"
497 hint.ed.0.maddr="0xd8000"
498 device el 1
499 hint.el.0.at="isa"
500 hint.el.0.port="0x300"
501 hint.el.0.irq="9"
502 device ie 2
503 hint.ie.0.at="isa"
504 hint.ie.0.port="0x300"
505 hint.ie.0.irq="5"
506 hint.ie.0.maddr="0xd0000"
507 hint.ie.1.at="isa"
508 hint.ie.1.port="0x360"
509 hint.ie.1.irq="7"
510 hint.ie.1.maddr="0xd0000"
511 device le 1
512 hint.le.0.at="isa"
513 hint.le.0.port="0x300"
514 hint.le.0.irq="5"
515 hint.le.0.maddr="0xd0000"
516 device lnc
517 hint.lnc.0.at="isa"
518 hint.lnc.0.port="0x280"
519 hint.lnc.0.irq="10"
520 hint.lnc.0.drq="0"
521 device rdp 1
522 hint.rdp.0.at="isa"
523 hint.rdp.0.port="0x378"
524 hint.rdp.0.irq="7"
525 hint.rdp.0.flags="2"
526 device sbni
527 hint.sbni.0.at="isa"
528 hint.sbni.0.port="0x210"
529 hint.sbni.0.irq="0xefdead"
530 hint.sbni.0.flags="0"
531 device sr
532 hint.sr.0.at="isa"
533 hint.sr.0.port="0x300"
534 hint.sr.0.irq="5"
535 hint.sr.0.maddr="0xd0000"
536 device oltr
537 hint.oltr.0.at="isa"
538 device wl
539 hint.wl.0.at="isa"
540 hint.wl.0.port="0x300"
541 options WLCACHE # enables the signal-strength cache
542 options WLDEBUG # enables verbose debugging output
543
544 #
545 # Audio drivers: `pca'
546 #
547 # pca: PCM audio through your PC speaker
548
549 device pca
550 hint.pca.0.at="isa"
551 hint.pca.0.port="0x040"
552
553 #
554 # SCSI host adapters:
555 #
556 # ncv: NCR 53C500 based SCSI host adapters.
557 # nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
558 # stg: TMC 18C30, 18C50 based SCSI host adapters.
559
560 device ncv
561 device nsp
562 device stg
563 hint.stg.0.at="isa"
564 hint.stg.0.port="0x140"
565 hint.stg.0.port="11"
566
567 #
568 # Adaptec FSA RAID controllers, including integrated DELL controllers,
569 # the Dell PERC 2/QC and the HP NetRAID-4M
570 device aac
571 device aacp # SCSI Passthrough interface (optional, CAM required)
572
573 #
574 # Miscellaneous hardware:
575 #
576 # wt: Wangtek and Archive QIC-02/QIC-36 tape drives
577 # ctx: Cortex-I frame grabber
578 # apm: Laptop Advanced Power Management (experimental)
579 # pmtimer: Timer device driver for power management events (APM or ACPI)
580 # spigot: The Creative Labs Video Spigot video-acquisition board
581 # dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
582 # digi: Digiboard driver
583 # gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB
584 # asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
585 # gsc: Genius GS-4500 hand scanner.
586 # tw: TW-523 power line interface for use with X-10 home control products
587 # spic: Sony Programmable I/O controller (VAIO notebooks)
588 # stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
589 # stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
590
591 # Notes on APM
592 # The flags takes the following meaning for apm0:
593 # 0x0020 Statclock is broken.
594 # If apm is omitted, some systems require sysctl kern.timecounter.method=1
595 # for correct timekeeping.
596
597 # Notes on the spigot:
598 # The video spigot is at 0xad6. This port address can not be changed.
599 # The irq values may only be 10, 11, or 15
600 # I/O memory is an 8kb region. Possible values are:
601 # 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
602 # The start address must be on an even boundary.
603 # Add the following option if you want to allow non-root users to be able
604 # to access the spigot. This option is not secure because it allows users
605 # direct access to the I/O page.
606 # options SPIGOT_UNSECURE
607
608 # Notes on the Specialix SI/XIO driver:
609 # The host card is memory, not IO mapped.
610 # The Rev 1 host cards use a 64K chunk, on a 32K boundary.
611 # The Rev 2 host cards use a 32K chunk, on a 32K boundary.
612 # The cards can use an IRQ of 11, 12 or 15.
613
614 # Notes on the Sony Programmable I/O controller
615 # This is a temporary driver that should someday be replaced by something
616 # that hooks into the ACPI layer. The device is hooked to the PIIX4's
617 # General Device 10 decoder, which means you have to fiddle with PCI
618 # registers to map it in, even though it is otherwise treated here as
619 # an ISA device. At the moment, the driver polls, although the device
620 # is capable of generating interrupts. It largely undocumented.
621 # The port location in the hint is where you WANT the device to be
622 # mapped. 0x10a0 seems to be traditional. At the moment the jogdial
623 # is the only thing truly supported, but aparently a fair percentage
624 # of the Vaio extra features are controlled by this device.
625
626 # Notes on the Stallion stl and stli drivers:
627 # See src/i386/isa/README.stl for complete instructions.
628 # This is version 0.0.5alpha, unsupported by Stallion.
629 # The stl driver has a secondary IO port hard coded at 0x280. You need
630 # to change src/i386/isa/stallion.c if you reconfigure this on the boards.
631 # The "flags" and "msize" settings on the stli driver depend on the board:
632 # EasyConnection 8/64 ISA: flags 23 msize 0x1000
633 # EasyConnection 8/64 EISA: flags 24 msize 0x10000
634 # EasyConnection 8/64 MCA: flags 25 msize 0x1000
635 # ONboard ISA: flags 4 msize 0x10000
636 # ONboard EISA: flags 7 msize 0x10000
637 # ONboard MCA: flags 3 msize 0x10000
638 # Brumby: flags 2 msize 0x4000
639 # Stallion: flags 1 msize 0x10000
640
641 # Notes on the Digiboard PC/Xi and PC/Xe series driver
642 #
643 # The NDGBPORTS option specifies the number of ports controlled by the
644 # dgb(4) driver. The default value is 16 ports per device.
645 #
646 # The following flag values have special meanings in dgb:
647 # 0x01 - alternate layout of pins
648 # 0x02 - use the windowed PC/Xe in 64K mode
649
650 device wt 1
651 hint.wt.0.at="isa"
652 hint.wt.0.port="0x300"
653 hint.wt.0.irq="5"
654 hint.wt.0.drq="1"
655 device ctx 1
656 hint.ctx.0.at="isa"
657 hint.ctx.0.port="0x230"
658 hint.ctx.0.maddr="0xd0000"
659 device spigot 1
660 hint.spigot.0.at="isa"
661 hint.spigot.0.port="0xad6"
662 hint.spigot.0.irq="15"
663 hint.spigot.0.maddr="0xee000"
664 device apm
665 hint.apm.0.flags="0x20"
666 device pmtimer # Adjust system timer at wakeup time
667 device gp
668 hint.gp.0.at="isa"
669 hint.gp.0.port="0x2c0"
670 device gsc 1
671 hint.gsc.0.at="isa"
672 hint.gsc.0.port="0x270"
673 hint.gsc.0.drq="3"
674 device dgb 1
675 options NDGBPORTS=17
676 hint.dgb.0.at="isa"
677 hint.dgb.0.port="0x220"
678 hint.dgb.0.maddr="0xfc000"
679 device digi
680 hint.digi.0.at="isa"
681 hint.digi.0.port="0x104"
682 hint.digi.0.maddr="0xd0000"
683 # BIOS & FEP/OS components of device digi.
684 device digi_CX
685 device digi_CX_PCI
686 device digi_EPCX
687 device digi_EPCX_PCI
688 device digi_Xe
689 device digi_Xem
690 device digi_Xr
691 # the port and irq for tw0 are fictitious
692 device tw 1
693 hint.tw.0.at="isa"
694 hint.tw.0.port="0x380"
695 hint.tw.0.irq="11"
696 device asc 1
697 hint.asc.0.at="isa"
698 hint.asc.0.port="0x3EB"
699 hint.asc.0.drq="3"
700 hint.asc.0.irq="10"
701 device spic
702 hint.spic.0.at="isa"
703 hint.spic.0.port="0x10a0"
704 device stl
705 hint.stl.0.at="isa"
706 hint.stl.0.port="0x2a0"
707 hint.stl.0.irq="10"
708 device stli
709 hint.stli.0.at="isa"
710 hint.stli.0.port="0x2a0"
711 hint.stli.0.maddr="0xcc000"
712 hint.stli.0.flags="23"
713 hint.stli.0.msize="0x1000"
714 # You are unlikely to have the hardware for loran <phk@FreeBSD.org>
715 device loran
716 hint.loran.0.at="isa"
717 hint.loran.0.irq="5"
718 # HOT1 Xilinx 6200 card (http://www.vcc.com/)
719 device xrpu
720
721 #
722 # Laptop/Notebook options:
723 #
724 # See also:
725 # apm under `Miscellaneous hardware'
726 # above.
727
728 # For older notebooks that signal a powerfail condition (external
729 # power supply dropped, or battery state low) by issuing an NMI:
730
731 options POWERFAIL_NMI # make it beep instead of panicing
732
733 #
734 # I2C Bus
735 #
736 # Philips i2c bus support is provided by the `iicbus' device.
737 #
738 # Supported interfaces:
739 # pcf Philips PCF8584 ISA-bus controller
740 #
741 device pcf
742 hint.pcf.0.at="isa"
743 hint.pcf.0.port="0x320"
744 hint.pcf.0.irq="5"
745
746 #---------------------------------------------------------------------------
747 # ISDN4BSD
748 #
749 # See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
750 #
751 # i4b passive ISDN cards support contains the following hardware drivers:
752 #
753 # isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
754 # iwic - Winbond W6692 PCI bus ISDN S/T interface controller
755 # ifpi - AVM Fritz!Card PCI driver
756 # ifpi2 - AVM Fritz!Card PCI version 2 driver
757 # ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver
758 # ifpnp - AVM Fritz!Card PnP driver
759 # itjc - Siemens ISAC / TJNet Tiger300/320 chipset
760 #
761 # i4b active ISDN cards support contains the following hardware drivers:
762 #
763 # iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
764 #
765 # Note that the ``options'' (if given) and ``device'' lines must BOTH
766 # be uncommented to enable support for a given card !
767 #
768 # In addition to a hardware driver (and probably an option) the mandatory
769 # ISDN protocol stack devices and the mandatory support device must be
770 # enabled as well as one or more devices from the optional devices section.
771 #
772 #---------------------------------------------------------------------------
773 # isic driver (Siemens/Infineon chipsets)
774 #
775 device isic
776 #
777 # ISA bus non-PnP Cards:
778 # ----------------------
779 #
780 # Teles S0/8 or Niccy 1008
781 options TEL_S0_8
782 hint.isic.0.at="isa"
783 hint.isic.0.maddr="0xd0000"
784 hint.isic.0.irq="5"
785 hint.isic.0.flags="1"
786 #
787 # Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
788 options TEL_S0_16
789 hint.isic.0.at="isa"
790 hint.isic.0.port="0xd80"
791 hint.isic.0.maddr="0xd0000"
792 hint.isic.0.irq="5"
793 hint.isic.0.flags="2"
794 #
795 # Teles S0/16.3
796 options TEL_S0_16_3
797 hint.isic.0.at="isa"
798 hint.isic.0.port="0xd80"
799 hint.isic.0.irq="5"
800 hint.isic.0.flags="3"
801 #
802 # AVM A1 or AVM Fritz!Card
803 options AVM_A1
804 hint.isic.0.at="isa"
805 hint.isic.0.port="0x340"
806 hint.isic.0.irq="5"
807 hint.isic.0.flags="4"
808 #
809 # USRobotics Sportster ISDN TA intern
810 options USR_STI
811 hint.isic.0.at="isa"
812 hint.isic.0.port="0x268"
813 hint.isic.0.irq="5"
814 hint.isic.0.flags="7"
815 #
816 # ITK ix1 Micro ( < V.3, non-PnP version )
817 options ITKIX1
818 hint.isic.0.at="isa"
819 hint.isic.0.port="0x398"
820 hint.isic.0.irq="10"
821 hint.isic.0.flags="18"
822 #
823 # ELSA PCC-16
824 options ELSA_PCC16
825 hint.isic.0.at="isa"
826 hint.isic.0.port="0x360"
827 hint.isic.0.irq="10"
828 hint.isic.0.flags="20"
829 #
830 # ISA bus PnP Cards:
831 # ------------------
832 #
833 # Teles S0/16.3 PnP
834 options TEL_S0_16_3_P
835 #
836 # Creatix ISDN-S0 P&P
837 options CRTX_S0_P
838 #
839 # Dr. Neuhaus Niccy Go@
840 options DRN_NGO
841 #
842 # Sedlbauer Win Speed
843 options SEDLBAUER
844 #
845 # Dynalink IS64PH
846 options DYNALINK
847 #
848 # ELSA QuickStep 1000pro ISA
849 options ELSA_QS1ISA
850 #
851 # Siemens I-Surf 2.0
852 options SIEMENS_ISURF2
853 #
854 # Asuscom ISDNlink 128K ISA
855 options ASUSCOM_IPAC
856 #
857 # Eicon Diehl DIVA 2.0 and 2.02
858 options EICON_DIVA
859 #
860 # Compaq Microcom 610 ISDN card (Compaq series PSB2222I)
861 options COMPAQ_M610
862 #
863 # PCI bus Cards:
864 # --------------
865 #
866 # Cyclades Cyclom-Y PCI serial driver
867 device cy 1
868 options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
869 hint.cy.0.at="isa"
870 hint.cy.0.irq="10"
871 hint.cy.0.maddr="0xd4000"
872 hint.cy.0.msize="0x2000"
873 #
874 #---------------------------------------------------------------------------
875 # ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
876 options ELSA_QS1PCI
877 #
878 #
879 #---------------------------------------------------------------------------
880 # ifpnp driver for AVM Fritz!Card PnP
881 #
882 # AVM Fritz!Card PnP
883 device ifpnp
884 #
885 #---------------------------------------------------------------------------
886 # ihfc driver for Cologne Chip ISA chipsets (experimental!)
887 #
888 # Teles 16.3c ISA PnP
889 # AcerISDN P10 ISA PnP
890 # TELEINT ISDN SPEED No.1
891 device ihfc
892 #
893 #---------------------------------------------------------------------------
894 # ifpi driver for AVM Fritz!Card PCI
895 #
896 # AVM Fritz!Card PCI
897 device ifpi
898 #
899 #---------------------------------------------------------------------------
900 # ifpi2 driver for AVM Fritz!Card PCI version 2
901 #
902 # AVM Fritz!Card PCI version 2
903 device "ifpi2"
904 #
905 #---------------------------------------------------------------------------
906 # iwic driver for Winbond W6692 chipset
907 #
908 # ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
909 device iwic
910 #
911 #---------------------------------------------------------------------------
912 # itjc driver for Simens ISAC / TJNet Tiger300/320 chipset
913 #
914 # Traverse Technologies NETjet-S
915 # Teles PCI-TJ
916 device itjc
917 #
918 #---------------------------------------------------------------------------
919 # iavc driver (AVM active cards, needs i4bcapi driver!)
920 #
921 device iavc
922 #
923 # AVM B1 ISA bus (PnP mode not supported!)
924 # ----------------------------------------
925 hint.iavc.0.at="isa"
926 hint.iavc.0.port="0x150"
927 hint.iavc.0.irq="5"
928 #
929 #---------------------------------------------------------------------------
930 # ISDN Protocol Stack - mandatory for all hardware drivers
931 #
932 # Q.921 / layer 2 - i4b passive cards D channel handling
933 device "i4bq921"
934 #
935 # Q.931 / layer 3 - i4b passive cards D channel handling
936 device "i4bq931"
937 #
938 # layer 4 - i4b common passive and active card handling
939 device "i4b"
940 #
941 #---------------------------------------------------------------------------
942 # ISDN devices - mandatory for all hardware drivers
943 #
944 # userland driver to do ISDN tracing (for passive cards only)
945 device "i4btrc" 4
946 #
947 # userland driver to control the whole thing
948 device "i4bctl"
949 #
950 #---------------------------------------------------------------------------
951 # ISDN devices - optional
952 #
953 # userland driver for access to raw B channel
954 device "i4brbch" 4
955 #
956 # userland driver for telephony
957 device "i4btel" 2
958 #
959 # network driver for IP over raw HDLC ISDN
960 device "i4bipr" 4
961 # enable VJ header compression detection for ipr i/f
962 options IPR_VJ
963 # enable logging of the first n IP packets to isdnd (n=32 here)
964 options IPR_LOG=32
965 #
966 # network driver for sync PPP over ISDN; requires an equivalent
967 # number of sppp device to be configured
968 device "i4bisppp" 4
969 #
970 # B-channel interface to the netgraph subsystem
971 device "i4bing" 2
972 #
973 # CAPI driver needed for active ISDN cards (see iavc driver above)
974 device "i4bcapi"
975 #
976 #---------------------------------------------------------------------------
977
978 #
979 # Set the number of PV entries per process. Increasing this can
980 # stop panics related to heavy use of shared memory. However, that can
981 # (combined with large amounts of physical memory) cause panics at
982 # boot time due the kernel running out of VM space.
983 #
984 # If you're tweaking this, you might also want to increase the sysctls
985 # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
986 #
987 # The value below is the one more than the default.
988 #
989 options PMAP_SHPGPERPROC=201
990
991 #
992 # Change the size of the kernel virtual address space. Due to
993 # constraints in loader(8) on i386, this must be a multiple of 4.
994 # 256 = 1 GB of kernel address space. Increasing this also causes
995 # a reduction of the address space in user processes. 512 splits
996 # the 4GB cpu address space in half (2GB user, 2GB kernel).
997 #
998 options KVA_PAGES=260
999
1000
1001 #####################################################################
1002 # ABI Emulation
1003
1004 # Enable iBCS2 runtime support for SCO and ISC binaries
1005 options IBCS2
1006
1007 # Emulate spx device for client side of SVR3 local X interface
1008 options SPX_HACK
1009
1010 # Enable Linux ABI emulation
1011 options COMPAT_LINUX
1012
1013 # Enable i386 a.out binary support
1014 options COMPAT_AOUT
1015
1016 # Enable the linux-like proc filesystem support (requires COMPAT_LINUX
1017 # and PSEUDOFS)
1018 options LINPROCFS
1019
1020 #
1021 # SysVR4 ABI emulation
1022 #
1023 # The svr4 ABI emulator can be statically compiled into the kernel or loaded as
1024 # a KLD module.
1025 # The STREAMS network emulation code can also be compiled statically or as a
1026 # module. If loaded as a module, it must be loaded before the svr4 module
1027 # (the /usr/sbin/svr4 script does this for you). If compiling statically,
1028 # the `streams' device must be configured into any kernel which also
1029 # specifies COMPAT_SVR4. It is possible to have a statically-configured
1030 # STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
1031 # script understands that it doesn't need to load the `streams' module under
1032 # those circumstances.
1033 # Caveat: At this time, `options KTRACE' is required for the svr4 emulator
1034 # (whether static or dynamic).
1035 #
1036 options COMPAT_SVR4 # build emulator statically
1037 options DEBUG_SVR4 # enable verbose debugging
1038 device streams # STREAMS network driver (required for svr4).
1039
1040
1041 #####################################################################
1042 # VM OPTIONS
1043
1044 # Disable the 4 MByte page PSE CPU feature. The PSE feature allows the
1045 # kernel to use a 4 MByte pages to map the kernel instead of 4k pages.
1046 # This saves on the amount of memory needed for page tables needed to
1047 # map the kernel. You should only disable this feature as a temporary
1048 # workaround if you are having problems with it enabled.
1049 #
1050 #options DISABLE_PSE
1051
1052 # Disable the global pages PGE CPU feature. The PGE feature allows pages
1053 # to be marked with the PG_G bit. TLB entries for these pages are not
1054 # flushed from the cache when %cr3 is reloaded. This can make context
1055 # switches less expensive. You should only disable this feature as a
1056 # temporary workaround if you are having problems with it enabled.
1057 #
1058 #options DISABLE_PG_G
1059
1060 # KSTACK_PAGES is the number of memory pages to assign to the kernel
1061 # stack of each thread.
1062
1063 options KSTACK_PAGES=3
1064
1065 #####################################################################
1066
1067 # More undocumented options for linting.
1068 # Note that documenting these are not considered an affront.
1069
1070 # PECOFF module (Win32 Execution Format)
1071 options PECOFF_SUPPORT
1072 options PECOFF_DEBUG
1073
1074 options ENABLE_ALART
1075 options I4B_SMP_WORKAROUND
1076 options I586_PMC_GUPROF=0x70000
1077 options KBDIO_DEBUG=2
1078 options KBD_MAXRETRY=4
1079 options KBD_MAXWAIT=6
1080 options KBD_RESETDELAY=201
1081
1082 options PSM_DEBUG=1
1083
1084 options TIMER_FREQ=((14318182+6)/12)
1085
1086 options VM_KMEM_SIZE
1087 options VM_KMEM_SIZE_MAX
1088 options VM_KMEM_SIZE_SCALE
1089
1090 # Yet more undocumented options for linting.
1091 options COMPAT_SUNOS
Cache object: 8fc090d2e3e9e415f6f846ecd7c8a2f4
|