Deleted Added
full compact
NOTES (129366) NOTES (132956)
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#
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: head/sys/amd64/conf/NOTES 129366 2004-05-17 22:13:14Z peter $
7# $FreeBSD: head/sys/amd64/conf/NOTES 132956 2004-08-01 11:40:54Z markm $
8#
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the AMD64 family based machines.
13#
14machine amd64
15
16#
17# We want LINT to cover profiling as well.
18#XXX#profile 2
19
20
21#####################################################################
22# SMP OPTIONS:
23#
24# The apic device enables the use of the I/O APIC for interrupt delivery.
25# The apic device can be used in both UP and SMP kernels, but is required
26# for SMP kernels. Thus, the apic device is not strictly an SMP option,
27# but it is a prerequisite for SMP.
28#
29# Notes:
30#
31# By default, mixed mode is used to route IRQ0 from the AT timer via
32# the 8259A master PIC through the ExtINT pin on the first I/O APIC.
33# This can be disabled via the NO_MIXED_MODE option. In that case,
34# IRQ0 will be routed via an intpin on the first I/O APIC. Not all
35# motherboards hook IRQ0 up to the first I/O APIC even though their
36# MP table or MADT may claim to do so. That is why mixed mode is
37# enabled by default.
38#
39
40# Optional:
41device atpic # Optional legacy pic support
42device mptable # Optional MPSPEC mptable support
43options NO_MIXED_MODE # Disable use of mixed mode
44
45
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#
54cpu HAMMER # aka K8, aka Opteron & Athlon64
55
56#
57# Options for CPU features.
58#
59
60#
61# PERFMON causes the driver for Pentium/Pentium Pro performance counters
62# to be compiled. See perfmon(4) for more information.
63#
64#XXX#options PERFMON
65
66
67#####################################################################
68# NETWORKING OPTIONS
69
70#
71# DEVICE_POLLING adds support for mixed interrupt-polling handling
72# of network device drivers, which has significant benefits in terms
73# of robustness to overloads and responsivity, as well as permitting
74# accurate scheduling of the CPU time between kernel network processing
75# and other activities. The drawback is a moderate (up to 1/HZ seconds)
76# potential increase in response times.
77# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
78# to achieve smoother behaviour.
79# Additionally, you can enable/disable polling at runtime with the
80# sysctl variable kern.polling.enable (defaults off), and select
81# the CPU fraction reserved to userland with the sysctl variable
82# kern.polling.user_frac (default 50, range 0..100).
83#
84# Not all device drivers support this mode of operation at the time of
85# this writing. See polling(4) for more details.
86
87options DEVICE_POLLING
88
89
90#####################################################################
91# CLOCK OPTIONS
92
93# The following options are used for debugging clock behavior only, and
94# should not be used for production systems.
95
96# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
97# startup until the user presses a key. (The i8254 clock is always
98# calibrated relative to the RTC (mc146818a) and this option causes the
99# calibration to be repeated.)
100options CLK_CALIBRATION_LOOP
101
102# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
103# clock to actually be used.
104options CLK_USE_I8254_CALIBRATION
105
106
107#####################################################################
108# MISCELLANEOUS DEVICES AND OPTIONS
109
110device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
111
112
113#####################################################################
114# HARDWARE BUS CONFIGURATION
115
116#
117# ISA bus
118#
119device isa
120
121#
122# Options for `isa':
123#
124# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
125# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
126# This option breaks suspend/resume on some portables.
127#
128# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
129# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
130# Automatic EOI is documented not to work for for the slave with the
131# original i8259A, but it works for some clones and some integrated
132# versions.
133#
134# MAXMEM specifies the amount of RAM on the machine; if this is not
135# specified, FreeBSD will first read the amount of memory from the CMOS
136# RAM, so the amount of memory will initially be limited to 64MB or 16MB
137# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
138# then attempt to detect the installed amount of RAM. If this probe
139# fails to detect >64MB RAM you will have to use the MAXMEM option.
140# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
141# be 131072 (128 * 1024).
142#
143# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
144# reset the CPU for reboot. This is needed on some systems with broken
145# keyboard controllers.
146
147options AUTO_EOI_1
148#options AUTO_EOI_2
149
150options MAXMEM=(128*1024)
151#options BROKEN_KEYBOARD_RESET
152
153#
154# PCI bus & PCI options:
155#
156device pci
157
158#
159# AGP GART support
160device agp
161
162
163#####################################################################
164# HARDWARE DEVICE CONFIGURATION
165
166#
167# Optional devices:
168#
169
170# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
171# the /dev/3dfx0 device to work with glide implementations. This should get
172# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
173# the tdfx DRI module from XFree86 and is completely unrelated.
174#
175# To enable Linuxulator support, one must also include COMPAT_LINUX in the
176# config as well, or you will not have the dependencies. The other option
177# is to load both as modules.
178
179device tdfx # Enable 3Dfx Voodoo support
180#XXX#options TDFX_LINUX # Enable Linuxulator support
181
182#
183# ACPI support using the Intel ACPI Component Architecture reference
184# implementation.
185#
186# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
187# kernel environment variables to select initial debugging levels for the
188# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
189# defined when it is built).
190#
191# ACPI_MAX_THREADS sets the number of task threads started.
192#
193# ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op.
194#
195# ACPICA_PEDANTIC enables strict checking of AML. Our default is to
196# relax these checks to allow code generated by the Microsoft compiler
197# to still execute.
198#
199# Note that building ACPI into the kernel is deprecated; the module is
200# normally loaded automatically by the loader.
201
202device acpi
203options ACPI_DEBUG
204options ACPI_MAX_THREADS=1
205#!options ACPI_NO_SEMAPHORES
206#!options ACPICA_PEDANTIC
207
208# DRM options:
209# mgadrm: AGP Matrox G200, G400, G450, G550
210# r128drm: ATI Rage 128
211# radeondrm: ATI Radeon up to 9000/9100
212# sisdrm: SiS 300/305,540,630
213# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee
214# DRM_DEBUG: include debug printfs, very slow
215#
216# mga requires AGP in the kernel, and it is recommended
217# for AGP r128 and radeon cards.
218
219device mgadrm
220device "r128drm"
221device radeondrm
222device sisdrm
223device tdfxdrm
224
225options DRM_DEBUG
226
227#
228# Network interfaces:
229#
230
231# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
232# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
233# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
234# (requires miibus)
235# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
236# Am79C960)
237
238#XXX# still calls MD i386 kvtop function instead of vtophys etc
239#XXX#device ed
240#XXX#device lnc
241
242#XXX#device ath
243#XXX#device ath_hal # Atheros HAL (includes binary component)
244device wlan # 802.11 layer
245
246#
247# ATA raid adapters
248#
249#XXX this stores pointers in a 32bit field that is defined by the hardware
250#device pst
251
252#
253# 3ware 9000 series PATA/SATA RAID controller driver and options.
254# The driver is implemented as a SIM, and so, needs the CAM infrastructure.
255#
256options TWA_DEBUG # 0-10; 10 prints the most messages.
257options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
258device twa # 3ware 9000 series PATA/SATA RAID
259
260#
261# SCSI host adapters:
262#
263# ncv: NCR 53C500 based SCSI host adapters.
264# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
265# stg: TMC 18C30, 18C50 based SCSI host adapters.
266
267device ncv
268device nsp
269device stg
270
271#
272# Adaptec FSA RAID controllers, including integrated DELL controllers,
273# the Dell PERC 2/QC and the HP NetRAID-4M
274device aac
275device aacp # SCSI Passthrough interface (optional, CAM required)
276
277#
278# IBM (now Adaptec) ServeRAID controllers
279device ips
280
281#
282# SafeNet crypto driver: can be moved to the MI NOTES as soon as
283# it's tested on a big-endian machine
284#
285device safe # SafeNet 1141
286options SAFE_DEBUG # enable debugging support: hw.safe.debug
287options SAFE_RNDTEST # enable rndtest support
288
289#####################################################################
290
291#
292# Miscellaneous hardware:
293#
294# cy: Cyclades serial driver
295# digi: Digiboard driver
296
297# Notes on the Specialix SI/XIO driver:
298# The host card is memory, not IO mapped.
299# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
300# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
301# The cards can use an IRQ of 11, 12 or 15.
302
303device cy
304options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
305device digi
306# BIOS & FEP/OS components of device digi.
307device digi_CX
308device digi_CX_PCI
309device digi_EPCX
310device digi_EPCX_PCI
311device digi_Xe
312device digi_Xem
313device digi_Xr
314# sx device is i386 and pc98 only at the moment.
315device sx
316options SX_DEBUG
317# HOT1 Xilinx 6200 card (http://www.vcc.com/)
318device xrpu
319
320#
321# Laptop/Notebook options:
322#
323
324
325#
326# I2C Bus
327#
328
329#---------------------------------------------------------------------------
330# ISDN4BSD
331#
332# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
333#
334# i4b passive ISDN cards support contains the following hardware drivers:
335#
336# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
337# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
338# ifpi - AVM Fritz!Card PCI driver
339# ifpi2 - AVM Fritz!Card PCI version 2 driver
340# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
341#
342# i4b active ISDN cards support contains the following hardware drivers:
343#
344# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
345#
346# Note that the ``options'' (if given) and ``device'' lines must BOTH
347# be uncommented to enable support for a given card !
348#
349# In addition to a hardware driver (and probably an option) the mandatory
350# ISDN protocol stack devices and the mandatory support device must be
351# enabled as well as one or more devices from the optional devices section.
352#
353#---------------------------------------------------------------------------
354# isic driver (Siemens/Infineon chipsets)
355#
356#XXX#device isic
357#
358# PCI bus Cards:
359# --------------
360#
361# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
362options ELSA_QS1PCI
363#
364#---------------------------------------------------------------------------
365# ifpi2 driver for AVM Fritz!Card PCI version 2
366#
367# AVM Fritz!Card PCI version 2
368#XXX#device "ifpi2"
369#
370#---------------------------------------------------------------------------
371# iwic driver for Winbond W6692 chipset
372#
373# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
374#XXX#device iwic
375#
376#---------------------------------------------------------------------------
377# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
378#
379# Traverse Technologies NETjet-S
380# Teles PCI-TJ
381#XXX#device itjc
382#
383#---------------------------------------------------------------------------
384# iavc driver (AVM active cards, needs i4bcapi driver!)
385#
386#XXX#device iavc
387#
388#---------------------------------------------------------------------------
389# ISDN Protocol Stack - mandatory for all hardware drivers
390#
391# Q.921 / layer 2 - i4b passive cards D channel handling
392#XXX#device "i4bq921"
393#
394# Q.931 / layer 3 - i4b passive cards D channel handling
395#XXX#device "i4bq931"
396#
397# layer 4 - i4b common passive and active card handling
398#XXX#device "i4b"
399#
400#---------------------------------------------------------------------------
401# ISDN devices - mandatory for all hardware drivers
402#
403# userland driver to do ISDN tracing (for passive cards only)
404#XXX#device "i4btrc" 4
405#
406# userland driver to control the whole thing
407#XXX#device "i4bctl"
408#
409#---------------------------------------------------------------------------
410# ISDN devices - optional
411#
412# userland driver for access to raw B channel
413#XXX#device "i4brbch" 4
414#
415# userland driver for telephony
416#XXX#device "i4btel" 2
417#
418# network driver for IP over raw HDLC ISDN
419#XXX#device "i4bipr" 4
420# enable VJ header compression detection for ipr i/f
421options IPR_VJ
422# enable logging of the first n IP packets to isdnd (n=32 here)
423options IPR_LOG=32
424#
425# network driver for sync PPP over ISDN; requires an equivalent
426# number of sppp device to be configured
427#XXX#device "i4bisppp" 4
428#
429# B-channel interface to the netgraph subsystem
430#XXX#device "i4bing" 2
431#
432#---------------------------------------------------------------------------
433
434#
435# System Management Bus (SMB)
436#
437options ENABLE_ALART # Control alarm on Intel intpm driver
438
439#
440# Set the number of PV entries per process. Increasing this can
441# stop panics related to heavy use of shared memory. However, that can
442# (combined with large amounts of physical memory) cause panics at
443# boot time due the kernel running out of VM space.
444#
445# If you're tweaking this, you might also want to increase the sysctls
446# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
447#
448# The value below is the one more than the default.
449#
450options PMAP_SHPGPERPROC=201
451
452
453#####################################################################
454# ABI Emulation
455
456#XXX keep these here for now and reactivate when support for emulating
457#XXX these 32 bit binaries is added.
458
459# Enable iBCS2 runtime support for SCO and ISC binaries
460#XXX#options IBCS2
461
462# Emulate spx device for client side of SVR3 local X interface
463#XXX#options SPX_HACK
464
465# Enable Linux ABI emulation
466#XXX#options COMPAT_LINUX
467
468# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
469# and PSEUDOFS)
470#XXX#options LINPROCFS
471
472#
473# SysVR4 ABI emulation
474#
475# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
476# a KLD module.
477# The STREAMS network emulation code can also be compiled statically or as a
478# module. If loaded as a module, it must be loaded before the svr4 module
479# (the /usr/sbin/svr4 script does this for you). If compiling statically,
480# the `streams' device must be configured into any kernel which also
481# specifies COMPAT_SVR4. It is possible to have a statically-configured
482# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
483# script understands that it doesn't need to load the `streams' module under
484# those circumstances.
485# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
486# (whether static or dynamic).
487#
488#XXX#options COMPAT_SVR4 # build emulator statically
489#XXX#options DEBUG_SVR4 # enable verbose debugging
490#XXX#device streams # STREAMS network driver (required for svr4).
491
492
493#####################################################################
494# VM OPTIONS
495
496# KSTACK_PAGES is the number of memory pages to assign to the kernel
497# stack of each thread.
498
499options KSTACK_PAGES=3
500
501#####################################################################
502
503# More undocumented options for linting.
504# Note that documenting these are not considered an affront.
505
506options FB_INSTALL_CDEV # install a CDEV entry in /dev
507
508options KBDIO_DEBUG=2
509options KBD_MAXRETRY=4
510options KBD_MAXWAIT=6
511options KBD_RESETDELAY=201
512
513options PSM_DEBUG=1
514
515options TIMER_FREQ=((14318182+6)/12)
516
517options VM_KMEM_SIZE
518options VM_KMEM_SIZE_MAX
519options VM_KMEM_SIZE_SCALE
8#
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the AMD64 family based machines.
13#
14machine amd64
15
16#
17# We want LINT to cover profiling as well.
18#XXX#profile 2
19
20
21#####################################################################
22# SMP OPTIONS:
23#
24# The apic device enables the use of the I/O APIC for interrupt delivery.
25# The apic device can be used in both UP and SMP kernels, but is required
26# for SMP kernels. Thus, the apic device is not strictly an SMP option,
27# but it is a prerequisite for SMP.
28#
29# Notes:
30#
31# By default, mixed mode is used to route IRQ0 from the AT timer via
32# the 8259A master PIC through the ExtINT pin on the first I/O APIC.
33# This can be disabled via the NO_MIXED_MODE option. In that case,
34# IRQ0 will be routed via an intpin on the first I/O APIC. Not all
35# motherboards hook IRQ0 up to the first I/O APIC even though their
36# MP table or MADT may claim to do so. That is why mixed mode is
37# enabled by default.
38#
39
40# Optional:
41device atpic # Optional legacy pic support
42device mptable # Optional MPSPEC mptable support
43options NO_MIXED_MODE # Disable use of mixed mode
44
45
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#
54cpu HAMMER # aka K8, aka Opteron & Athlon64
55
56#
57# Options for CPU features.
58#
59
60#
61# PERFMON causes the driver for Pentium/Pentium Pro performance counters
62# to be compiled. See perfmon(4) for more information.
63#
64#XXX#options PERFMON
65
66
67#####################################################################
68# NETWORKING OPTIONS
69
70#
71# DEVICE_POLLING adds support for mixed interrupt-polling handling
72# of network device drivers, which has significant benefits in terms
73# of robustness to overloads and responsivity, as well as permitting
74# accurate scheduling of the CPU time between kernel network processing
75# and other activities. The drawback is a moderate (up to 1/HZ seconds)
76# potential increase in response times.
77# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
78# to achieve smoother behaviour.
79# Additionally, you can enable/disable polling at runtime with the
80# sysctl variable kern.polling.enable (defaults off), and select
81# the CPU fraction reserved to userland with the sysctl variable
82# kern.polling.user_frac (default 50, range 0..100).
83#
84# Not all device drivers support this mode of operation at the time of
85# this writing. See polling(4) for more details.
86
87options DEVICE_POLLING
88
89
90#####################################################################
91# CLOCK OPTIONS
92
93# The following options are used for debugging clock behavior only, and
94# should not be used for production systems.
95
96# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
97# startup until the user presses a key. (The i8254 clock is always
98# calibrated relative to the RTC (mc146818a) and this option causes the
99# calibration to be repeated.)
100options CLK_CALIBRATION_LOOP
101
102# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
103# clock to actually be used.
104options CLK_USE_I8254_CALIBRATION
105
106
107#####################################################################
108# MISCELLANEOUS DEVICES AND OPTIONS
109
110device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
111
112
113#####################################################################
114# HARDWARE BUS CONFIGURATION
115
116#
117# ISA bus
118#
119device isa
120
121#
122# Options for `isa':
123#
124# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
125# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
126# This option breaks suspend/resume on some portables.
127#
128# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
129# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
130# Automatic EOI is documented not to work for for the slave with the
131# original i8259A, but it works for some clones and some integrated
132# versions.
133#
134# MAXMEM specifies the amount of RAM on the machine; if this is not
135# specified, FreeBSD will first read the amount of memory from the CMOS
136# RAM, so the amount of memory will initially be limited to 64MB or 16MB
137# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
138# then attempt to detect the installed amount of RAM. If this probe
139# fails to detect >64MB RAM you will have to use the MAXMEM option.
140# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
141# be 131072 (128 * 1024).
142#
143# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
144# reset the CPU for reboot. This is needed on some systems with broken
145# keyboard controllers.
146
147options AUTO_EOI_1
148#options AUTO_EOI_2
149
150options MAXMEM=(128*1024)
151#options BROKEN_KEYBOARD_RESET
152
153#
154# PCI bus & PCI options:
155#
156device pci
157
158#
159# AGP GART support
160device agp
161
162
163#####################################################################
164# HARDWARE DEVICE CONFIGURATION
165
166#
167# Optional devices:
168#
169
170# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
171# the /dev/3dfx0 device to work with glide implementations. This should get
172# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
173# the tdfx DRI module from XFree86 and is completely unrelated.
174#
175# To enable Linuxulator support, one must also include COMPAT_LINUX in the
176# config as well, or you will not have the dependencies. The other option
177# is to load both as modules.
178
179device tdfx # Enable 3Dfx Voodoo support
180#XXX#options TDFX_LINUX # Enable Linuxulator support
181
182#
183# ACPI support using the Intel ACPI Component Architecture reference
184# implementation.
185#
186# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
187# kernel environment variables to select initial debugging levels for the
188# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
189# defined when it is built).
190#
191# ACPI_MAX_THREADS sets the number of task threads started.
192#
193# ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op.
194#
195# ACPICA_PEDANTIC enables strict checking of AML. Our default is to
196# relax these checks to allow code generated by the Microsoft compiler
197# to still execute.
198#
199# Note that building ACPI into the kernel is deprecated; the module is
200# normally loaded automatically by the loader.
201
202device acpi
203options ACPI_DEBUG
204options ACPI_MAX_THREADS=1
205#!options ACPI_NO_SEMAPHORES
206#!options ACPICA_PEDANTIC
207
208# DRM options:
209# mgadrm: AGP Matrox G200, G400, G450, G550
210# r128drm: ATI Rage 128
211# radeondrm: ATI Radeon up to 9000/9100
212# sisdrm: SiS 300/305,540,630
213# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee
214# DRM_DEBUG: include debug printfs, very slow
215#
216# mga requires AGP in the kernel, and it is recommended
217# for AGP r128 and radeon cards.
218
219device mgadrm
220device "r128drm"
221device radeondrm
222device sisdrm
223device tdfxdrm
224
225options DRM_DEBUG
226
227#
228# Network interfaces:
229#
230
231# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
232# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
233# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
234# (requires miibus)
235# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
236# Am79C960)
237
238#XXX# still calls MD i386 kvtop function instead of vtophys etc
239#XXX#device ed
240#XXX#device lnc
241
242#XXX#device ath
243#XXX#device ath_hal # Atheros HAL (includes binary component)
244device wlan # 802.11 layer
245
246#
247# ATA raid adapters
248#
249#XXX this stores pointers in a 32bit field that is defined by the hardware
250#device pst
251
252#
253# 3ware 9000 series PATA/SATA RAID controller driver and options.
254# The driver is implemented as a SIM, and so, needs the CAM infrastructure.
255#
256options TWA_DEBUG # 0-10; 10 prints the most messages.
257options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
258device twa # 3ware 9000 series PATA/SATA RAID
259
260#
261# SCSI host adapters:
262#
263# ncv: NCR 53C500 based SCSI host adapters.
264# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
265# stg: TMC 18C30, 18C50 based SCSI host adapters.
266
267device ncv
268device nsp
269device stg
270
271#
272# Adaptec FSA RAID controllers, including integrated DELL controllers,
273# the Dell PERC 2/QC and the HP NetRAID-4M
274device aac
275device aacp # SCSI Passthrough interface (optional, CAM required)
276
277#
278# IBM (now Adaptec) ServeRAID controllers
279device ips
280
281#
282# SafeNet crypto driver: can be moved to the MI NOTES as soon as
283# it's tested on a big-endian machine
284#
285device safe # SafeNet 1141
286options SAFE_DEBUG # enable debugging support: hw.safe.debug
287options SAFE_RNDTEST # enable rndtest support
288
289#####################################################################
290
291#
292# Miscellaneous hardware:
293#
294# cy: Cyclades serial driver
295# digi: Digiboard driver
296
297# Notes on the Specialix SI/XIO driver:
298# The host card is memory, not IO mapped.
299# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
300# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
301# The cards can use an IRQ of 11, 12 or 15.
302
303device cy
304options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
305device digi
306# BIOS & FEP/OS components of device digi.
307device digi_CX
308device digi_CX_PCI
309device digi_EPCX
310device digi_EPCX_PCI
311device digi_Xe
312device digi_Xem
313device digi_Xr
314# sx device is i386 and pc98 only at the moment.
315device sx
316options SX_DEBUG
317# HOT1 Xilinx 6200 card (http://www.vcc.com/)
318device xrpu
319
320#
321# Laptop/Notebook options:
322#
323
324
325#
326# I2C Bus
327#
328
329#---------------------------------------------------------------------------
330# ISDN4BSD
331#
332# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
333#
334# i4b passive ISDN cards support contains the following hardware drivers:
335#
336# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
337# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
338# ifpi - AVM Fritz!Card PCI driver
339# ifpi2 - AVM Fritz!Card PCI version 2 driver
340# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
341#
342# i4b active ISDN cards support contains the following hardware drivers:
343#
344# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
345#
346# Note that the ``options'' (if given) and ``device'' lines must BOTH
347# be uncommented to enable support for a given card !
348#
349# In addition to a hardware driver (and probably an option) the mandatory
350# ISDN protocol stack devices and the mandatory support device must be
351# enabled as well as one or more devices from the optional devices section.
352#
353#---------------------------------------------------------------------------
354# isic driver (Siemens/Infineon chipsets)
355#
356#XXX#device isic
357#
358# PCI bus Cards:
359# --------------
360#
361# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
362options ELSA_QS1PCI
363#
364#---------------------------------------------------------------------------
365# ifpi2 driver for AVM Fritz!Card PCI version 2
366#
367# AVM Fritz!Card PCI version 2
368#XXX#device "ifpi2"
369#
370#---------------------------------------------------------------------------
371# iwic driver for Winbond W6692 chipset
372#
373# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
374#XXX#device iwic
375#
376#---------------------------------------------------------------------------
377# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
378#
379# Traverse Technologies NETjet-S
380# Teles PCI-TJ
381#XXX#device itjc
382#
383#---------------------------------------------------------------------------
384# iavc driver (AVM active cards, needs i4bcapi driver!)
385#
386#XXX#device iavc
387#
388#---------------------------------------------------------------------------
389# ISDN Protocol Stack - mandatory for all hardware drivers
390#
391# Q.921 / layer 2 - i4b passive cards D channel handling
392#XXX#device "i4bq921"
393#
394# Q.931 / layer 3 - i4b passive cards D channel handling
395#XXX#device "i4bq931"
396#
397# layer 4 - i4b common passive and active card handling
398#XXX#device "i4b"
399#
400#---------------------------------------------------------------------------
401# ISDN devices - mandatory for all hardware drivers
402#
403# userland driver to do ISDN tracing (for passive cards only)
404#XXX#device "i4btrc" 4
405#
406# userland driver to control the whole thing
407#XXX#device "i4bctl"
408#
409#---------------------------------------------------------------------------
410# ISDN devices - optional
411#
412# userland driver for access to raw B channel
413#XXX#device "i4brbch" 4
414#
415# userland driver for telephony
416#XXX#device "i4btel" 2
417#
418# network driver for IP over raw HDLC ISDN
419#XXX#device "i4bipr" 4
420# enable VJ header compression detection for ipr i/f
421options IPR_VJ
422# enable logging of the first n IP packets to isdnd (n=32 here)
423options IPR_LOG=32
424#
425# network driver for sync PPP over ISDN; requires an equivalent
426# number of sppp device to be configured
427#XXX#device "i4bisppp" 4
428#
429# B-channel interface to the netgraph subsystem
430#XXX#device "i4bing" 2
431#
432#---------------------------------------------------------------------------
433
434#
435# System Management Bus (SMB)
436#
437options ENABLE_ALART # Control alarm on Intel intpm driver
438
439#
440# Set the number of PV entries per process. Increasing this can
441# stop panics related to heavy use of shared memory. However, that can
442# (combined with large amounts of physical memory) cause panics at
443# boot time due the kernel running out of VM space.
444#
445# If you're tweaking this, you might also want to increase the sysctls
446# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
447#
448# The value below is the one more than the default.
449#
450options PMAP_SHPGPERPROC=201
451
452
453#####################################################################
454# ABI Emulation
455
456#XXX keep these here for now and reactivate when support for emulating
457#XXX these 32 bit binaries is added.
458
459# Enable iBCS2 runtime support for SCO and ISC binaries
460#XXX#options IBCS2
461
462# Emulate spx device for client side of SVR3 local X interface
463#XXX#options SPX_HACK
464
465# Enable Linux ABI emulation
466#XXX#options COMPAT_LINUX
467
468# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
469# and PSEUDOFS)
470#XXX#options LINPROCFS
471
472#
473# SysVR4 ABI emulation
474#
475# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
476# a KLD module.
477# The STREAMS network emulation code can also be compiled statically or as a
478# module. If loaded as a module, it must be loaded before the svr4 module
479# (the /usr/sbin/svr4 script does this for you). If compiling statically,
480# the `streams' device must be configured into any kernel which also
481# specifies COMPAT_SVR4. It is possible to have a statically-configured
482# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
483# script understands that it doesn't need to load the `streams' module under
484# those circumstances.
485# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
486# (whether static or dynamic).
487#
488#XXX#options COMPAT_SVR4 # build emulator statically
489#XXX#options DEBUG_SVR4 # enable verbose debugging
490#XXX#device streams # STREAMS network driver (required for svr4).
491
492
493#####################################################################
494# VM OPTIONS
495
496# KSTACK_PAGES is the number of memory pages to assign to the kernel
497# stack of each thread.
498
499options KSTACK_PAGES=3
500
501#####################################################################
502
503# More undocumented options for linting.
504# Note that documenting these are not considered an affront.
505
506options FB_INSTALL_CDEV # install a CDEV entry in /dev
507
508options KBDIO_DEBUG=2
509options KBD_MAXRETRY=4
510options KBD_MAXWAIT=6
511options KBD_RESETDELAY=201
512
513options PSM_DEBUG=1
514
515options TIMER_FREQ=((14318182+6)/12)
516
517options VM_KMEM_SIZE
518options VM_KMEM_SIZE_MAX
519options VM_KMEM_SIZE_SCALE
520
521
522# The I/O device
523device io