]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - sys/amd64/conf/NOTES
Add the sfxge(4) device driver, providing support for 10Gb Ethernet adapters
[FreeBSD/releng/9.0.git] / sys / amd64 / 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 #
15 # Enable the kernel DTrace hooks which are required to load the DTrace
16 # kernel modules.
17 #
18 options         KDTRACE_HOOKS
19
20 \f
21 #####################################################################
22 # SMP OPTIONS:
23 #
24 # Notes:
25 #
26 # IPI_PREEMPTION instructs the kernel to preempt threads running on other
27 #         CPUS if needed.  Relies on the PREEMPTION option
28
29 # Optional:
30 options         IPI_PREEMPTION
31 device          atpic                   # Optional legacy pic support
32 device          mptable                 # Optional MPSPEC mptable support
33
34 #
35 # Watchdog routines.
36 #
37 options         MP_WATCHDOG
38
39 # Debugging options.
40 #
41 options         COUNT_XINVLTLB_HITS     # Counters for TLB events
42 options         COUNT_IPIS              # Per-CPU IPI interrupt counters
43
44
45 \f
46 #####################################################################
47 # CPU OPTIONS
48
49 #
50 # You must specify at least one CPU (the one you intend to run on);
51 # deleting the specification for CPUs you don't need to use may make
52 # parts of the system run faster.
53 #
54 cpu             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 \f
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 help of
80 # the ifconfig(8) utility, and select the CPU fraction reserved to
81 # userland with the sysctl variable kern.polling.user_frac
82 # (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
87 options         DEVICE_POLLING
88
89 # BPF_JITTER adds support for BPF just-in-time compiler.
90
91 options         BPF_JITTER
92
93 \f
94 #####################################################################
95 # CLOCK OPTIONS
96
97 # Provide read/write access to the memory in the clock chip.
98 device          nvram           # Access to rtc cmos via /dev/nvram
99
100 \f
101 #####################################################################
102 # MISCELLANEOUS DEVICES AND OPTIONS
103
104 device          speaker         #Play IBM BASIC-style noises out your speaker
105 hint.speaker.0.at="isa"
106 hint.speaker.0.port="0x61"
107 device          gzip            #Exec gzipped a.out's.  REQUIRES COMPAT_AOUT!
108
109 \f
110 #####################################################################
111 # HARDWARE BUS CONFIGURATION
112
113 #
114 # ISA bus
115 #
116 device          isa
117
118 #
119 # Options for `isa':
120 #
121 # AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
122 # interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
123 # This option breaks suspend/resume on some portables.
124 #
125 # AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
126 # interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
127 # Automatic EOI is documented not to work for for the slave with the
128 # original i8259A, but it works for some clones and some integrated
129 # versions.
130 #
131 # MAXMEM specifies the amount of RAM on the machine; if this is not
132 # specified, FreeBSD will first read the amount of memory from the CMOS
133 # RAM, so the amount of memory will initially be limited to 64MB or 16MB
134 # depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
135 # then attempt to detect the installed amount of RAM.  If this probe
136 # fails to detect >64MB RAM you will have to use the MAXMEM option.
137 # The amount is in kilobytes, so for a machine with 128MB of RAM, it would
138 # be 131072 (128 * 1024).
139 #
140 # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
141 # reset the CPU for reboot.  This is needed on some systems with broken
142 # keyboard controllers.
143
144 options         AUTO_EOI_1
145 #options        AUTO_EOI_2
146
147 options         MAXMEM=(128*1024)
148 #options        BROKEN_KEYBOARD_RESET
149
150 #
151 # PCI bus & PCI options:
152 #
153 device          pci
154
155 #
156 # AGP GART support
157 device          agp
158
159 #
160 # AGP debugging.
161 #
162 options         AGP_DEBUG
163
164 \f
165 #####################################################################
166 # HARDWARE DEVICE CONFIGURATION
167
168 # To include support for VGA VESA video modes
169 options         VESA
170
171 # Turn on extra debugging checks and output for VESA support.
172 options         VESA_DEBUG
173
174 device          dpms            # DPMS suspend & resume via VESA BIOS
175
176 # x86 real mode BIOS emulator, required by atkbdc/dpms/vesa
177 options         X86BIOS
178
179 #
180 # Optional devices:
181 #
182
183 # PS/2 mouse
184 device          psm
185 hint.psm.0.at="atkbdc"
186 hint.psm.0.irq="12"
187
188 # Options for psm:
189 options         PSM_HOOKRESUME          #hook the system resume event, useful
190                                         #for some laptops
191 options         PSM_RESETAFTERSUSPEND   #reset the device at the resume event
192
193 # The keyboard controller; it controls the keyboard and the PS/2 mouse.
194 device          atkbdc
195 hint.atkbdc.0.at="isa"
196 hint.atkbdc.0.port="0x060"
197
198 # The AT keyboard
199 device          atkbd
200 hint.atkbd.0.at="atkbdc"
201 hint.atkbd.0.irq="1"
202
203 # Options for atkbd:
204 options         ATKBD_DFLT_KEYMAP       # specify the built-in keymap
205 makeoptions     ATKBD_DFLT_KEYMAP=jp.106
206
207 # `flags' for atkbd:
208 #       0x01    Force detection of keyboard, else we always assume a keyboard
209 #       0x02    Don't reset keyboard, useful for some newer ThinkPads
210 #       0x03    Force detection and avoid reset, might help with certain
211 #               dockingstations
212 #       0x04    Old-style (XT) keyboard support, useful for older ThinkPads
213
214 # Video card driver for VGA adapters.
215 device          vga
216 hint.vga.0.at="isa"
217
218 # Options for vga:
219 # Try the following option if the mouse pointer is not drawn correctly
220 # or font does not seem to be loaded properly.  May cause flicker on
221 # some systems.
222 options         VGA_ALT_SEQACCESS
223
224 # If you can dispense with some vga driver features, you may want to
225 # use the following options to save some memory.
226 #options        VGA_NO_FONT_LOADING     # don't save/load font
227 #options        VGA_NO_MODE_CHANGE      # don't change video modes
228
229 # Older video cards may require this option for proper operation.
230 options         VGA_SLOW_IOACCESS       # do byte-wide i/o's to TS and GDC regs
231
232 # The following option probably won't work with the LCD displays.
233 options         VGA_WIDTH90             # support 90 column modes
234
235 # Debugging.
236 options         VGA_DEBUG
237
238 # Linear framebuffer driver for S3 VESA 1.2 cards. Works on top of VESA.
239 device          s3pci
240
241 # 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support.  This will create
242 # the /dev/3dfx0 device to work with glide implementations.  This should get
243 # linked to /dev/3dfx and /dev/voodoo.  Note that this is not the same as
244 # the tdfx DRI module from XFree86 and is completely unrelated.
245 #
246 # To enable Linuxulator support, one must also include COMPAT_LINUX in the
247 # config as well.  The other option is to load both as modules.
248
249 device          tdfx                    # Enable 3Dfx Voodoo support
250 #XXX#device     tdfx_linux              # Enable Linuxulator support
251
252 #
253 # ACPI support using the Intel ACPI Component Architecture reference
254 # implementation.
255 #
256 # ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
257 # kernel environment variables to select initial debugging levels for the
258 # Intel ACPICA code.  (Note that the Intel code must also have USE_DEBUGGER
259 # defined when it is built).
260
261 device          acpi
262 options         ACPI_DEBUG
263
264 # The cpufreq(4) driver provides support for non-ACPI CPU frequency control
265 device          cpufreq
266
267 # Direct Rendering modules for 3D acceleration.
268 device          drm             # DRM core module required by DRM drivers
269 device          i915drm         # Intel i830 through i915
270 device          mach64drm       # ATI Rage Pro, Rage Mobility P/M, Rage XL
271 device          mgadrm          # AGP Matrox G200, G400, G450, G550
272 device          r128drm         # ATI Rage 128
273 device          radeondrm       # ATI Radeon
274 device          savagedrm       # S3 Savage3D, Savage4
275 device          sisdrm          # SiS 300/305, 540, 630
276 device          tdfxdrm         # 3dfx Voodoo 3/4/5 and Banshee
277 device          viadrm          # VIA
278 options         DRM_DEBUG       # Include debug printfs (slow)
279
280 #
281 # Network interfaces:
282 #
283
284 # ed:   Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
285 #       HP PC Lan+, various PC Card devices
286 #       (requires miibus)
287 # ipw:  Intel PRO/Wireless 2100 IEEE 802.11 adapter
288 #       Requires the ipw firmware module
289 # iwi:  Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 adapters
290 #       Requires the iwi firmware module
291 # iwn:  Intel Wireless WiFi Link 4965/1000/5000/6000 802.11 network adapters
292 #       Requires the iwn firmware module
293 # mwl:  Marvell 88W8363 IEEE 802.11 adapter
294 #       Requires the mwl firmware module
295 # nfe:  nVidia nForce MCP on-board Ethernet Networking (BSD open source)
296 # nve:  nVidia nForce MCP on-board Ethernet Networking
297 # sfxge: Solarflare SFC9000 family 10Gb Ethernet adapters
298 # wpi:  Intel 3945ABG Wireless LAN controller
299 #       Requires the wpi firmware module
300
301 device          ed
302 options         ED_3C503
303 options         ED_HPP
304 options         ED_SIC
305 device          ipw
306 device          iwi
307 device          iwn
308 device          mwl
309 device          nfe
310 device          nve
311 device          sfxge
312 device          wpi
313
314 # IEEE 802.11 adapter firmware modules
315
316 # Intel PRO/Wireless 2100 firmware:
317 #   ipwfw:              BSS/IBSS/monitor mode firmware
318 #   ipwbssfw:           BSS mode firmware
319 #   ipwibssfw:          IBSS mode firmware
320 #   ipwmonitorfw:       Monitor mode firmware
321 # Intel PRO/Wireless 2200BG/2225BG/2915ABG firmware:
322 #   iwifw:              BSS/IBSS/monitor mode firmware
323 #   iwibssfw:           BSS mode firmware
324 #   iwiibssfw:          IBSS mode firmware
325 #   iwimonitorfw:       Monitor mode firmware
326 # Intel Wireless WiFi Link 4965/1000/5000/6000 series firmware:
327 #   iwnfw:              Single module to support the 4965/1000/5000/5150/6000
328 #   iwn4965fw:          Specific module for the 4965 only
329 #   iwn1000fw:          Specific module for the 1000 only
330 #   iwn5000fw:          Specific module for the 5000 only
331 #   iwn5150fw:          Specific module for the 5150 only
332 #   iwn6000fw:          Specific module for the 6000 only
333 #   iwn6050fw:          Specific module for the 6050 only
334 # mwlfw:        Marvell 88W8363 firmware
335 # wpifw:        Intel 3945ABG Wireless LAN Controller firmware
336
337 device          iwifw
338 device          iwibssfw
339 device          iwiibssfw
340 device          iwimonitorfw
341 device          ipwfw
342 device          ipwbssfw
343 device          ipwibssfw
344 device          ipwmonitorfw
345 device          iwnfw
346 device          iwn4965fw
347 device          iwn1000fw
348 device          iwn5000fw
349 device          iwn5150fw
350 device          iwn6000fw
351 device          iwn6050fw
352 device          mwlfw
353 device          wpifw
354
355 #
356 #XXX this stores pointers in a 32bit field that is defined by the hardware
357 #device pst
358
359 #
360 # Areca 11xx and 12xx series of SATA II RAID controllers.
361 # CAM is required.
362 #
363 device          arcmsr          # Areca SATA II RAID
364
365 #
366 # 3ware 9000 series PATA/SATA RAID controller driver and options.
367 # The driver is implemented as a SIM, and so, needs the CAM infrastructure.
368 #
369 options         TWA_DEBUG               # 0-10; 10 prints the most messages.
370 options         TWA_FLASH_FIRMWARE      # firmware image bundled when defined.
371 device          twa                     # 3ware 9000 series PATA/SATA RAID
372
373 #
374 # SCSI host adapters:
375 #
376 # ncv: NCR 53C500 based SCSI host adapters.
377 # nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
378 # stg: TMC 18C30, 18C50 based SCSI host adapters.
379
380 device          ncv
381 device          nsp
382 device          stg
383
384 #
385 # Adaptec FSA RAID controllers, including integrated DELL controllers,
386 # the Dell PERC 2/QC and the HP NetRAID-4M
387 device          aac
388 device          aacp    # SCSI Passthrough interface (optional, CAM required)
389
390 #
391 # Highpoint RocketRAID 182x.
392 device          hptmv
393
394 #
395 # Highpoint RocketRAID.  Supports RR172x, RR222x, RR2240, RR232x, RR2340,
396 # RR2210, RR174x, RR2522, RR231x, RR230x.
397 device          hptrr
398
399 #
400 # Highpoint RocketRaid 3xxx series SATA RAID
401 device          hptiop
402
403 #
404 # IBM (now Adaptec) ServeRAID controllers
405 device          ips
406
407 #
408 # SafeNet crypto driver: can be moved to the MI NOTES as soon as
409 # it's tested on a big-endian machine
410 #
411 device          safe            # SafeNet 1141
412 options         SAFE_DEBUG      # enable debugging support: hw.safe.debug
413 options         SAFE_RNDTEST    # enable rndtest support
414
415 #####################################################################
416
417 #
418 # Miscellaneous hardware:
419 #
420 # ipmi: Intelligent Platform Management Interface
421 # pbio: Parallel (8255 PPI) basic I/O (mode 0) port (e.g. Advantech PCL-724)
422 # smbios: DMI/SMBIOS entry point
423 # vpd: Vital Product Data kernel interface
424 # asmc: Apple System Management Controller
425 # si: Specialix International SI/XIO or SX intelligent serial card
426 # tpm: Trusted Platform Module
427
428 # Notes on the Specialix SI/XIO driver:
429 #  The host card is memory, not IO mapped.
430 #  The Rev 1 host cards use a 64K chunk, on a 32K boundary.
431 #  The Rev 2 host cards use a 32K chunk, on a 32K boundary.
432 #  The cards can use an IRQ of 11, 12 or 15.
433
434 device          ipmi
435 device          pbio
436 hint.pbio.0.at="isa"
437 hint.pbio.0.port="0x360"
438 device          smbios
439 device          vpd
440 device          asmc
441 #device         si
442 device          tpm
443
444 #
445 # Laptop/Notebook options:
446 #
447
448
449 #
450 # I2C Bus
451 #
452
453 #
454 # Hardware watchdog timers:
455 #
456 # ichwd: Intel ICH watchdog timer
457 # amdsbwd: AMD SB7xx watchdog timer
458 #
459 device          ichwd
460 device          amdsbwd
461
462 #
463 # Temperature sensors:
464 #
465 # coretemp: on-die sensor on Intel Core and newer CPUs
466 # amdtemp: on-die sensor on AMD K8/K10/K11 CPUs
467 #
468 device          coretemp
469 device          amdtemp
470
471 #
472 # CPU control pseudo-device. Provides access to MSRs, CPUID info and
473 # microcode update feature.
474 #
475 device          cpuctl
476
477 #
478 # System Management Bus (SMB)
479 #
480 options         ENABLE_ALART            # Control alarm on Intel intpm driver
481
482 #
483 # Set the number of PV entries per process.  Increasing this can
484 # stop panics related to heavy use of shared memory.  However, that can
485 # (combined with large amounts of physical memory) cause panics at
486 # boot time due the kernel running out of VM space.
487 #
488 # If you're tweaking this, you might also want to increase the sysctls
489 # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
490 #
491 # The value below is the one more than the default.
492 #
493 options         PMAP_SHPGPERPROC=201
494
495 #
496 # Number of initial kernel page table pages used for early bootstrap.
497 # This number should include enough pages to map the kernel and any
498 # modules or other data loaded with the kernel by the loader.  Each
499 # page table page maps 2MB.
500 #
501 options         NKPT=31
502
503 \f
504 #####################################################################
505 # ABI Emulation
506
507 #XXX keep these here for now and reactivate when support for emulating
508 #XXX these 32 bit binaries is added.
509
510 # Enable 32-bit runtime support for FreeBSD/i386 binaries.
511 options         COMPAT_FREEBSD32
512
513 # Enable iBCS2 runtime support for SCO and ISC binaries
514 #XXX#options    IBCS2
515
516 # Emulate spx device for client side of SVR3 local X interface
517 #XXX#options    SPX_HACK
518
519 # Enable Linux ABI emulation
520 #XXX#options    COMPAT_LINUX
521
522 # Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_FREEBSD32)
523 options         COMPAT_LINUX32
524
525 # Enable the linux-like proc filesystem support (requires COMPAT_LINUX32
526 # and PSEUDOFS)
527 options         LINPROCFS
528
529 #Enable the linux-like sys filesystem support (requires COMPAT_LINUX32
530 # and PSEUDOFS)
531 options         LINSYSFS
532
533 #
534 # SysVR4 ABI emulation
535 #
536 # The svr4 ABI emulator can be statically compiled into the kernel or loaded as
537 # a KLD module.
538 # The STREAMS network emulation code can also be compiled statically or as a
539 # module.  If loaded as a module, it must be loaded before the svr4 module
540 # (the /usr/sbin/svr4 script does this for you).  If compiling statically,
541 # the `streams' device must be configured into any kernel which also
542 # specifies COMPAT_SVR4.  It is possible to have a statically-configured
543 # STREAMS device and a dynamically loadable svr4 emulator;  the /usr/sbin/svr4
544 # script understands that it doesn't need to load the `streams' module under
545 # those circumstances.
546 # Caveat:  At this time, `options KTRACE' is required for the svr4 emulator
547 # (whether static or dynamic).
548 #
549 #XXX#options    COMPAT_SVR4     # build emulator statically
550 #XXX#options    DEBUG_SVR4      # enable verbose debugging
551 #XXX#device     streams         # STREAMS network driver (required for svr4).
552
553 \f
554 #####################################################################
555 # VM OPTIONS
556
557 # KSTACK_PAGES is the number of memory pages to assign to the kernel
558 # stack of each thread.
559
560 options         KSTACK_PAGES=5
561
562 #####################################################################
563
564 # More undocumented options for linting.
565 # Note that documenting these are not considered an affront.
566
567 options         FB_INSTALL_CDEV         # install a CDEV entry in /dev
568
569 options         KBDIO_DEBUG=2
570 options         KBD_MAXRETRY=4
571 options         KBD_MAXWAIT=6
572 options         KBD_RESETDELAY=201
573
574 options         PSM_DEBUG=1
575
576 options         TIMER_FREQ=((14318182+6)/12)
577
578 options         VM_KMEM_SIZE
579 options         VM_KMEM_SIZE_MAX
580 options         VM_KMEM_SIZE_SCALE
581
582 # Enable NDIS binary driver support
583 options         NDISAPI
584 device          ndis
585
586 # Linux-specific pseudo devices support
587 device          lindev