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