40 41# 42# Rogue SMP hardware: 43# 44 45# Bridged PCI cards: 46# 47# The MP tables of most of the current generation MP motherboards 48# do NOT properly support bridged PCI cards. To use one of these 49# cards you should refer to ??? 50 51 52##################################################################### 53# CPU OPTIONS 54 55# 56# You must specify at least one CPU (the one you intend to run on); 57# deleting the specification for CPUs you don't need to use may make 58# parts of the system run faster. 59# I386_CPU is mutually exclusive with the other CPU types. 60# 61#cpu I386_CPU 62cpu I486_CPU 63cpu I586_CPU # aka Pentium(tm) 64cpu I686_CPU # aka Pentium Pro(tm) 65 66# 67# Options for CPU features. 68# 69# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 70# BlueLightning CPU. It works only with Cyrix FPU, and this option 71# should not be used with Intel FPU. 72# 73# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 74# CPU if CPU supports it. The default is double-clock mode on 75# BlueLightning CPU box. 76# 77# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 78# 79# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 80# mapped mode. Default is 2-way set associative mode. 81# 82# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 83# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 84# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 85# 86# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables 87# reorder). This option should not be used if you use memory mapped 88# I/O device(s). 89# 90# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default 91# on I686_CPU and above. 92# CPU_DISABLE_SSE explicitly prevent I686_CPU from turning on SSE. 93# 94# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 95# 96# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 97# for i386 machines. 98# 99# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 100# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 101# (no clock delay). 102# 103# CPU_L2_LATENCY specifed the L2 cache latency value. This option is used 104# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 105# The default value is 5. 106# 107# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 108# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 109# 1). 110# 111# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 112# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 113# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 114# 115# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 116# 117# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 118# enters suspend mode following execution of HALT instruction. 119# 120# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 121# 122# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 123# K5/K6/K6-2 cpus. 124# 125# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 126# flush at hold state. 127# 128# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 129# without cache flush at hold state, and (2) write-back CPU cache on 130# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 131# 132# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 133# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 134# executed. This option is only needed if I586_CPU is also defined, 135# and should be included for any non-Pentium CPU that defines it. 136# 137# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 138# which indicates that the 15-16MB range is *definitely* not being 139# occupied by an ISA memory hole. 140# 141# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 142# machines. VmWare seems to emulate this instruction poorly, causing 143# the guest OS to run very slowly. Enabling this with a SMP kernel 144# will cause the kernel to be unusable. 145# 146# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 147# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 148# These options may crash your system. 149# 150# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 151# in write-through mode when revision < 2.7. If revision of Cyrix 152# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 153# 154# NOTE 3: This option may cause failures for software that requires 155# locked cycles in order to operate correctly. 156# 157options CPU_BLUELIGHTNING_FPU_OP_CACHE 158options CPU_BLUELIGHTNING_3X 159options CPU_BTB_EN 160options CPU_DIRECT_MAPPED_CACHE 161options CPU_DISABLE_5X86_LSSER 162options CPU_ENABLE_SSE 163#options CPU_DISABLE_SSE 164options CPU_FASTER_5X86_FPU 165options CPU_I486_ON_386 166options CPU_IORT 167options CPU_L2_LATENCY=5 168options CPU_LOOP_EN 169options CPU_PPRO2CELERON 170options CPU_RSTK_EN 171options CPU_SUSP_HLT 172options CPU_UPGRADE_HW_CACHE 173options CPU_WT_ALLOC 174options CYRIX_CACHE_WORKS 175options CYRIX_CACHE_REALLY_WORKS 176#options NO_F00F_HACK 177options CPU_DISABLE_CMPXCHG 178 179# Debug options 180options NPX_DEBUG # enable npx debugging (FPU/math emu) 181 #new math emulator 182 183# 184# PERFMON causes the driver for Pentium/Pentium Pro performance counters 185# to be compiled. See perfmon(4) for more information. 186# 187options PERFMON 188 189 190##################################################################### 191# NETWORKING OPTIONS 192 193# 194# DEVICE_POLLING adds support for mixed interrupt-polling handling 195# of network device drivers, which has significant benefits in terms 196# of robustness to overloads and responsivity, as well as permitting 197# accurate scheduling of the CPU time between kernel network processing 198# and other activities. The drawback is a moderate (up to 1/HZ seconds) 199# potential increase in response times. 200# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 201# to achieve smoother behaviour. 202# Additionally, you can enable/disable polling at runtime with the 203# sysctl variable kern.polling.enable (defaults off), and select 204# the CPU fraction reserved to userland with the sysctl variable 205# kern.polling.user_frac (default 50, range 0..100). 206# 207# Only the "dc" "fxp" and "sis" devices support this mode of operation at 208# the time of this writing. 209 210options DEVICE_POLLING 211 212 213##################################################################### 214# CLOCK OPTIONS 215 216# The following options are used for debugging clock behavior only, and 217# should not be used for production systems. 218# 219# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup 220# until the user presses a key. 221 222options CLK_CALIBRATION_LOOP 223 224# The following two options measure the frequency of the corresponding 225# clock relative to the RTC (onboard mc146818a). 226 227options CLK_USE_I8254_CALIBRATION 228options CLK_USE_TSC_CALIBRATION 229 230 231##################################################################### 232# MISCELLANEOUS DEVICES AND OPTIONS 233 234device speaker #Play IBM BASIC-style noises out your speaker 235hint.speaker.0.at="isa" 236hint.speaker.0.port="0x35" 237device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! 238device apm_saver # Requires APM 239 240 241##################################################################### 242# HARDWARE BUS CONFIGURATION 243 244# 245# ISA bus 246# 247device isa 248 249# 250# Options for `isa': 251# 252# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 253# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 254# This option breaks suspend/resume on some portables. 255# 256# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 257# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 258# Automatic EOI is documented not to work for for the slave with the 259# original i8259A, but it works for some clones and some integrated 260# versions. 261# 262# MAXMEM specifies the amount of RAM on the machine; if this is not 263# specified, FreeBSD will first read the amount of memory from the CMOS 264# RAM, so the amount of memory will initially be limited to 64MB or 16MB 265# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 266# then attempt to detect the installed amount of RAM. If this probe 267# fails to detect >64MB RAM you will have to use the MAXMEM option. 268# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 269# be 131072 (128 * 1024). 270# 271# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 272# reset the CPU for reboot. This is needed on some systems with broken 273# keyboard controllers. 274 275options COMPAT_OLDISA #Use ISA shims and glue for old drivers 276options AUTO_EOI_1 277#options AUTO_EOI_2 278 279options MAXMEM=(128*1024) 280#options BROKEN_KEYBOARD_RESET 281options EPSON_BOUNCEDMA 282options EPSON_MEMWIN 283 284# 285# PCI bus & PCI options: 286# 287device pci 288 289# 290# AGP GART support 291device agp 292 293 294##################################################################### 295# HARDWARE DEVICE CONFIGURATION 296 297# 298# Mandatory devices: 299# 300 301# PC98 keyboard 302device pckbd 303hint.pckbd.0.at="isa" 304hint.pckbd.0.port="0x041" 305hint.pckbd.0.irq="1" 306 307# These options are valid for other keyboard drivers as well. 308options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 309options KBD_INSTALL_CDEV # install a CDEV entry in /dev 310 311# GDC screen 312device gdc 313hint.gdc.0.at="isa" 314options LINE30 315 316# 317# The Numeric Processing eXtension driver. In addition to this, you 318# may configure a math emulator (see above). If your machine has a 319# hardware FPU and the kernel configuration includes the npx device 320# *and* a math emulator compiled into the kernel, the hardware FPU 321# will be used, unless it is found to be broken or unless "flags" to 322# npx0 includes "0x08", which requests preference for the emulator. 323device npx 324 325# 326# `flags' for npx0: 327# 0x01 don't use the npx registers to optimize bcopy. 328# 0x02 don't use the npx registers to optimize bzero. 329# 0x04 don't use the npx registers to optimize copyin or copyout. 330# 0x08 use emulator even if hardware FPU is available. 331# The npx registers are normally used to optimize copying and zeroing when 332# all of the following conditions are satisfied: 333# I586_CPU is an option 334# the cpu is an i586 (perhaps not a Pentium) 335# the probe for npx0 succeeds 336# INT 16 exception handling works. 337# Then copying and zeroing using the npx registers is normally 30-100% faster. 338# The flags can be used to control cases where it doesn't work or is slower. 339# Setting them at boot time using userconfig works right (the optimizations 340# are not used until later in the bootstrap when npx0 is attached). 341# Flag 0x08 automatically disables the i586 optimized routines. 342# 343 344# 345# Optional devices: 346# 347 348# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 349# the /dev/3dfx0 device to work with glide implementations. This should get 350# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 351# the tdfx DRI module from XFree86 and is completely unrelated. 352# 353# To enable Linuxulator support, one must also include COMPAT_LINUX in the 354# config as well, or you will not have the dependencies. The other option 355# is to load both as modules. 356 357device tdfx # Enable 3Dfx Voodoo support 358options TDFX_LINUX # Enable Linuxulator support 359 360# DRM options: 361# mgadrm: AGP Matrox G200, G400, G450, G550 362# r128drm: ATI Rage 128 363# radeondrm: ATI Radeon up to 9000/9100 364# sisdrm: SiS 300/305,540,630 365# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee 366# DRM_DEBUG: include debug printfs, very slow 367# 368# mga requires AGP in the kernel, and it is recommended 369# for AGP r128 and radeon cards. 370 371device mgadrm 372device "r128drm" 373device radeondrm 374device sisdrm 375device tdfxdrm 376 377options DRM_DEBUG 378 379# 380# Bus mouse 381# 382device mse 383hint.mse.0.at="isa" 384hint.mse.0.port="0x7fd9" 385hint.mse.0.irq="13" 386 387# 388# Network interfaces: 389# 390 391# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 392# (requires sppp) 393# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing) 394# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 395# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf) 396# (requires miibus) 397# el: 3Com 3C501 (slow!) 398# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 399# Intel EtherExpress 400# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100, 401# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422) 402# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 403# Am79C960) 404# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133 405# (no hints needed). 406# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 407# OC-3141, OC-3540, OC-3250 408# rdp: RealTek RTL 8002-based pocket ethernet adapters 409# sbni: Granch SBNI12-xx ISA and PCI adapters 410# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 411# wl: Lucent Wavelan (ISA card only). 412 413# Order for ISA/EISA devices is important here 414 415device ar 416hint.ar.0.at="isa" 417hint.ar.0.port="0x300" 418hint.ar.0.irq="10" 419hint.ar.0.maddr="0xd0000" 420device cx 1 421hint.cx.0.at="isa" 422hint.cx.0.port="0x240" 423hint.cx.0.irq="15" 424hint.cx.0.drq="7" 425device ed 426#options ED_NO_MIIBUS # Disable ed miibus support 427hint.ed.0.at="isa" 428hint.ed.0.port="0x280" 429hint.ed.0.irq="5" 430hint.ed.0.maddr="0xd8000" 431device el 1 432hint.el.0.at="isa" 433hint.el.0.port="0x300" 434hint.el.0.irq="9" 435device ie # Hints only required for Starlan 436hint.ie.2.at="isa" 437hint.ie.2.port="0x300" 438hint.ie.2.irq="5" 439hint.ie.2.maddr="0xd0000" 440device le 1 441hint.le.0.at="isa" 442hint.le.0.port="0x300" 443hint.le.0.irq="5" 444hint.le.0.maddr="0xd0000" 445device lnc 446hint.lnc.0.at="isa" 447hint.lnc.0.port="0x280" 448hint.lnc.0.irq="10" 449hint.lnc.0.drq="0" 450device rdp 1 451hint.rdp.0.at="isa" 452hint.rdp.0.port="0x378" 453hint.rdp.0.irq="7" 454hint.rdp.0.flags="2" 455device sbni 456hint.sbni.0.at="isa" 457hint.sbni.0.port="0x210" 458hint.sbni.0.irq="0xefdead" 459hint.sbni.0.flags="0" 460device snc 461hint.snc.0.at="isa" 462hint.snc.0.port="0x888" 463hint.snc.0.irq="6" 464hint.snc.0.maddr="0xc0000" 465device sr 466hint.sr.0.at="isa" 467hint.sr.0.port="0x300" 468hint.sr.0.irq="5" 469hint.sr.0.maddr="0xd0000" 470device oltr 471hint.oltr.0.at="isa" 472device wl 473hint.wl.0.at="isa" 474hint.wl.0.port="0x300" 475options WLCACHE # enables the signal-strength cache 476options WLDEBUG # enables verbose debugging output 477 478# 479# SCSI host adapters: 480# 481# ct: WD33C93[ABC] based SCSI host adapters. 482# ncv: NCR 53C500 based SCSI host adapters. 483# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 484# stg: TMC 18C30, 18C50 based SCSI host adapters. 485 486device ct 487hint.ct.0.at="isa" 488device ncv 489device nsp 490device stg 491hint.stg.0.at="isa" 492hint.stg.0.port="0x140" 493hint.stg.0.port="11" 494 495# 496# SafeNet crypto driver: can be moved to the MI NOTES as soon as 497# it's tested on a big-endian machine 498# 499device safe # SafeNet 1141 500options SAFE_DEBUG # enable debugging support: hw.safe.debug 501options SAFE_RNDTEST # enable rndtest support 502 503##################################################################### 504 505# 506# Miscellaneous hardware: 507# 508# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 509# ctx: Cortex-I frame grabber 510# apm: Laptop Advanced Power Management (experimental) 511# pmtimer: Timer device driver for power management events (APM or ACPI) 512# spigot: The Creative Labs Video Spigot video-acquisition board 513# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) 514# digi: Digiboard driver 515# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB 516# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 517# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 518 519# Notes on APM 520# The flags takes the following meaning for apm0: 521# 0x0020 Statclock is broken. 522# If apm is omitted, some systems require sysctl kern.timecounter.method=1 523# for correct timekeeping. 524 525# Notes on the spigot: 526# The video spigot is at 0xad6. This port address can not be changed. 527# The irq values may only be 10, 11, or 15 528# I/O memory is an 8kb region. Possible values are: 529# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 530# The start address must be on an even boundary. 531# Add the following option if you want to allow non-root users to be able 532# to access the spigot. This option is not secure because it allows users 533# direct access to the I/O page. 534# options SPIGOT_UNSECURE 535 536# Notes on the Specialix SI/XIO driver: 537# The host card is memory, not IO mapped. 538# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 539# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 540# The cards can use an IRQ of 11, 12 or 15. 541 542# Notes on the Sony Programmable I/O controller 543# This is a temporary driver that should someday be replaced by something 544# that hooks into the ACPI layer. The device is hooked to the PIIX4's 545# General Device 10 decoder, which means you have to fiddle with PCI 546# registers to map it in, even though it is otherwise treated here as 547# an ISA device. At the moment, the driver polls, although the device 548# is capable of generating interrupts. It largely undocumented. 549# The port location in the hint is where you WANT the device to be 550# mapped. 0x10a0 seems to be traditional. At the moment the jogdial 551# is the only thing truly supported, but aparently a fair percentage 552# of the Vaio extra features are controlled by this device. 553 554# Notes on the Stallion stl and stli drivers: 555# See src/i386/isa/README.stl for complete instructions. 556# This is version 0.0.5alpha, unsupported by Stallion. 557# The stl driver has a secondary IO port hard coded at 0x280. You need 558# to change src/i386/isa/stallion.c if you reconfigure this on the boards. 559# The "flags" and "msize" settings on the stli driver depend on the board: 560# EasyConnection 8/64 ISA: flags 23 msize 0x1000 561# EasyConnection 8/64 EISA: flags 24 msize 0x10000 562# EasyConnection 8/64 MCA: flags 25 msize 0x1000 563# ONboard ISA: flags 4 msize 0x10000 564# ONboard EISA: flags 7 msize 0x10000 565# ONboard MCA: flags 3 msize 0x10000 566# Brumby: flags 2 msize 0x4000 567# Stallion: flags 1 msize 0x10000 568 569# Notes on the Digiboard PC/Xi and PC/Xe series driver 570# 571# The NDGBPORTS option specifies the number of ports controlled by the 572# dgb(4) driver. The default value is 16 ports per device. 573# 574# The following flag values have special meanings in dgb: 575# 0x01 - alternate layout of pins 576# 0x02 - use the windowed PC/Xe in 64K mode 577 578device wt 1 579hint.wt.0.at="isa" 580hint.wt.0.port="0x300" 581hint.wt.0.irq="5" 582hint.wt.0.drq="1" 583device ctx 584hint.ctx.0.at="isa" 585hint.ctx.0.port="0x230" 586hint.ctx.0.maddr="0xd0000" 587device spigot 1 588hint.spigot.0.at="isa" 589hint.spigot.0.port="0xad6" 590hint.spigot.0.irq="15" 591hint.spigot.0.maddr="0xee000" 592device apm 593hint.apm.0.flags="0x20" 594device pmc 595device canbus 596device canbepm 597hint.pmc.0.at="isa" 598hint.pmc.0.port="0x8f0" 599device pmtimer # Adjust system timer at wakeup time 600device gp 601hint.gp.0.at="isa" 602hint.gp.0.port="0x2c0" 603device dgb 1 604options NDGBPORTS=17 605hint.dgb.0.at="isa" 606hint.dgb.0.port="0x220" 607hint.dgb.0.maddr="0xfc000" 608device digi 609hint.digi.0.at="isa" 610hint.digi.0.port="0x104" 611hint.digi.0.maddr="0xd0000" 612# BIOS & FEP/OS components of device digi. 613device digi_CX 614device digi_CX_PCI 615device digi_EPCX 616device digi_EPCX_PCI 617device digi_Xe 618device digi_Xem 619device digi_Xr 620device stl 621hint.stl.0.at="isa" 622hint.stl.0.port="0x2a0" 623hint.stl.0.irq="10" 624device stli 625hint.stli.0.at="isa" 626hint.stli.0.port="0x2a0" 627hint.stli.0.maddr="0xcc000" 628hint.stli.0.flags="23" 629hint.stli.0.msize="0x1000" 630device olpt 631hint.olpt.0.at="isa" 632hint.olpt.0.port="0x040" 633 634# 635# Laptop/Notebook options: 636# 637# See also: 638# apm under `Miscellaneous hardware' 639# above. 640 641# For older notebooks that signal a powerfail condition (external 642# power supply dropped, or battery state low) by issuing an NMI: 643 644options POWERFAIL_NMI # make it beep instead of panicing 645 646# 647# PC Card/PCMCIA 648# (OLDCARD) 649# 650# card: pccard slots 651# pcic: isa/pccard bridge 652device pcic 653hint.pcic.0.at="isa" 654#hint.pcic.1.at="isa" 655device card 1 656 657# 658# PC Card/PCMCIA and Cardbus 659# (NEWCARD) 660# 661# Note that NEWCARD and OLDCARD are incompatible. Do not use both at the same 662# time. 663# 664# pccbb: pci/cardbus bridge implementing YENTA interface 665# pccard: pccard slots 666# cardbus: cardbus slots 667#device cbb 668#device pccard 669#device cardbus 670#device pcic ISA attachment currently busted 671#hint.pcic.0.at="isa" 672#hint.pcic.1.at="isa" 673 674#--------------------------------------------------------------------------- 675# ISDN4BSD 676# 677# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 678# 679# i4b passive ISDN cards support contains the following hardware drivers: 680# 681# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 682# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 683# ifpi - AVM Fritz!Card PCI driver 684# ifpi2 - AVM Fritz!Card PCI version 2 driver 685# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 686# ifpnp - AVM Fritz!Card PnP driver 687# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 688# 689# i4b active ISDN cards support contains the following hardware drivers: 690# 691# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 692# 693# Note that the ``options'' (if given) and ``device'' lines must BOTH 694# be uncommented to enable support for a given card ! 695# 696# In addition to a hardware driver (and probably an option) the mandatory 697# ISDN protocol stack devices and the mandatory support device must be 698# enabled as well as one or more devices from the optional devices section. 699# 700#--------------------------------------------------------------------------- 701# isic driver (Siemens/Infineon chipsets) 702# 703device isic 704# 705# PCI bus Cards: 706# -------------- 707# 708# Cyclades Cyclom-Y PCI serial driver 709device cy 1 710options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 711hint.cy.0.at="isa" 712hint.cy.0.irq="10" 713hint.cy.0.maddr="0xd4000" 714hint.cy.0.msize="0x2000" 715# 716#--------------------------------------------------------------------------- 717# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 718options ELSA_QS1PCI 719# 720# 721#--------------------------------------------------------------------------- 722# ifpnp driver for AVM Fritz!Card PnP 723# 724# AVM Fritz!Card PnP 725device ifpnp 726# 727#--------------------------------------------------------------------------- 728# ihfc driver for Cologne Chip ISA chipsets (experimental!) 729# 730# Teles 16.3c ISA PnP 731# AcerISDN P10 ISA PnP 732# TELEINT ISDN SPEED No.1 733device ihfc 734# 735#--------------------------------------------------------------------------- 736# ifpi driver for AVM Fritz!Card PCI 737# 738# AVM Fritz!Card PCI 739device ifpi 740# 741#--------------------------------------------------------------------------- 742# ifpi2 driver for AVM Fritz!Card PCI version 2 743# 744# AVM Fritz!Card PCI version 2 745device "ifpi2" 746# 747#--------------------------------------------------------------------------- 748# iwic driver for Winbond W6692 chipset 749# 750# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 751device iwic 752# 753#--------------------------------------------------------------------------- 754# itjc driver for Simens ISAC / TJNet Tiger300/320 chipset 755# 756# Traverse Technologies NETjet-S 757# Teles PCI-TJ 758device itjc 759# 760#--------------------------------------------------------------------------- 761# iavc driver (AVM active cards, needs i4bcapi driver!) 762# 763device iavc 764# 765# AVM B1 ISA bus (PnP mode not supported!) 766# ---------------------------------------- 767hint.iavc.0.at="isa" 768hint.iavc.0.port="0x150" 769hint.iavc.0.irq="5" 770# 771#--------------------------------------------------------------------------- 772# ISDN Protocol Stack - mandatory for all hardware drivers 773# 774# Q.921 / layer 2 - i4b passive cards D channel handling 775device "i4bq921" 776# 777# Q.931 / layer 3 - i4b passive cards D channel handling 778device "i4bq931" 779# 780# layer 4 - i4b common passive and active card handling 781device "i4b" 782# 783#--------------------------------------------------------------------------- 784# ISDN devices - mandatory for all hardware drivers 785# 786# userland driver to do ISDN tracing (for passive cards only) 787device "i4btrc" 4 788# 789# userland driver to control the whole thing 790device "i4bctl" 791# 792#--------------------------------------------------------------------------- 793# ISDN devices - optional 794# 795# userland driver for access to raw B channel 796device "i4brbch" 4 797# 798# userland driver for telephony 799device "i4btel" 2 800# 801# network driver for IP over raw HDLC ISDN 802device "i4bipr" 4 803# enable VJ header compression detection for ipr i/f 804options IPR_VJ 805# enable logging of the first n IP packets to isdnd (n=32 here) 806options IPR_LOG=32 807# 808# network driver for sync PPP over ISDN; requires an equivalent 809# number of sppp device to be configured 810device "i4bisppp" 4 811# 812# B-channel interface to the netgraph subsystem 813device "i4bing" 2 814# 815# CAPI driver needed for active ISDN cards (see iavc driver above) 816device "i4bcapi" 817# 818#--------------------------------------------------------------------------- 819 820# 821# Set the number of PV entries per process. Increasing this can 822# stop panics related to heavy use of shared memory. However, that can 823# (combined with large amounts of physical memory) cause panics at 824# boot time due the kernel running out of VM space. 825# 826# If you're tweaking this, you might also want to increase the sysctls 827# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 828# 829# The value below is the one more than the default. 830# 831options PMAP_SHPGPERPROC=201 832 833# 834# Change the size of the kernel virtual address space. Due to 835# constraints in loader(8) on i386, this must be a multiple of 4. 836# 256 = 1 GB of kernel address space. Increasing this also causes 837# a reduction of the address space in user processes. 512 splits 838# the 4GB cpu address space in half (2GB user, 2GB kernel). 839# 840options KVA_PAGES=260 841 842 843##################################################################### 844# ABI Emulation 845 846# Enable iBCS2 runtime support for SCO and ISC binaries 847options IBCS2 848 849# Emulate spx device for client side of SVR3 local X interface 850options SPX_HACK 851 852# Enable Linux ABI emulation 853options COMPAT_LINUX 854 855# Enable i386 a.out binary support 856options COMPAT_AOUT 857 858# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 859# and PSEUDOFS) 860options LINPROCFS 861 862# 863# SysVR4 ABI emulation 864# 865# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 866# a KLD module. 867# The STREAMS network emulation code can also be compiled statically or as a 868# module. If loaded as a module, it must be loaded before the svr4 module 869# (the /usr/sbin/svr4 script does this for you). If compiling statically, 870# the `streams' device must be configured into any kernel which also 871# specifies COMPAT_SVR4. It is possible to have a statically-configured 872# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 873# script understands that it doesn't need to load the `streams' module under 874# those circumstances. 875# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 876# (whether static or dynamic). 877# 878options COMPAT_SVR4 # build emulator statically 879options DEBUG_SVR4 # enable verbose debugging 880device streams # STREAMS network driver (required for svr4). 881 882 883##################################################################### 884# VM OPTIONS 885 886# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 887# kernel to use a 4 MByte pages to map the kernel instead of 4k pages. 888# This saves on the amount of memory needed for page tables needed to 889# map the kernel. You should only disable this feature as a temporary 890# workaround if you are having problems with it enabled. 891# 892#options DISABLE_PSE 893 894# Disable the global pages PGE CPU feature. The PGE feature allows pages 895# to be marked with the PG_G bit. TLB entries for these pages are not 896# flushed from the cache when %cr3 is reloaded. This can make context 897# switches less expensive. You should only disable this feature as a 898# temporary workaround if you are having problems with it enabled. 899# 900#options DISABLE_PG_G 901 902# KSTACK_PAGES is the number of memory pages to assign to the kernel 903# stack of each thread. 904 905options KSTACK_PAGES=3 906 907##################################################################### 908 909# More undocumented options for linting. 910# Note that documenting these are not considered an affront. 911 912options FB_INSTALL_CDEV # install a CDEV entry in /dev 913 914# PECOFF module (Win32 Execution Format) 915options PECOFF_SUPPORT 916options PECOFF_DEBUG 917 918options ENABLE_ALART 919options I4B_SMP_WORKAROUND 920options I586_PMC_GUPROF=0x70000 921options KBDIO_DEBUG=2 922options KBD_MAXRETRY=4 923options KBD_MAXWAIT=6 924options KBD_RESETDELAY=201 925 926options TIMER_FREQ=((14318182+6)/12) 927 928options VM_KMEM_SIZE 929options VM_KMEM_SIZE_MAX 930options VM_KMEM_SIZE_SCALE 931 932 933##################################################################### 934# Devices we don't want to deal with 935 936nodevice atkbdc 937nodevice atkbd 938nodevice psm 939nodevice vga 940nodevice bt 941nodevice adw 942nodevice aha 943nodevice ahb 944nodevice ahd 945nodevice mpt 946nodevice trm 947nodevice wds 948nodevice asr 949nodevice dpt 950nodevice ciss 951nodevice iir 952nodevice mly 953nodevice ida # Compaq Smart RAID 954nodevice mlx # Mylex DAC960 955nodevice amr # AMI MegaRAID 956nodevice twe # 3ware ATA RAID 957nodevice cm 958nodevice cs 959nodevice ex 960nodevice fea 961nodevice cbb 962nodevice pccard 963nodevice cardbus 964nodevice intpm 965nodevice alpm 966nodevice ichsmb 967nodevice viapm 968nodevice amdpm 969nodevice nfpm 970 971 972##################################################################### 973# Options we don't want to deal with 974 975nooption VGA_DEBUG 976nooption VGA_WIDTH90 977nooption VGA_SLOW_IOACCESS 978nooption VGA_ALT_SEQACCESS 979nooption PSM_RESETAFTERSUSPEND 980nooption PSM_HOOKRESUME 981nooption ATKBD_DFLT_KEYMAP 982nooption AHD_DEBUG 983nooption AHD_DEBUG_OPTS 984nooption AHD_REG_PRETTY_PRINT 985nooption ADW_ALLOW_MEMIO 986nooption DPT_ALLOW_MEMIO 987nooption DPT_LOST_IRQ 988nooption DPT_RESET_HBA 989nooption DPT_TIMEOUT_FACTOR 990nooption AAC_DEBUG 991nooption ACPI_MAX_THREADS 992 993 994##################################################################### 995# Make options we don't want to deal with 996 997nomakeoption ATKBD_DFLT_KEYMAP
| 40 41# 42# Rogue SMP hardware: 43# 44 45# Bridged PCI cards: 46# 47# The MP tables of most of the current generation MP motherboards 48# do NOT properly support bridged PCI cards. To use one of these 49# cards you should refer to ??? 50 51 52##################################################################### 53# CPU OPTIONS 54 55# 56# You must specify at least one CPU (the one you intend to run on); 57# deleting the specification for CPUs you don't need to use may make 58# parts of the system run faster. 59# I386_CPU is mutually exclusive with the other CPU types. 60# 61#cpu I386_CPU 62cpu I486_CPU 63cpu I586_CPU # aka Pentium(tm) 64cpu I686_CPU # aka Pentium Pro(tm) 65 66# 67# Options for CPU features. 68# 69# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 70# BlueLightning CPU. It works only with Cyrix FPU, and this option 71# should not be used with Intel FPU. 72# 73# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 74# CPU if CPU supports it. The default is double-clock mode on 75# BlueLightning CPU box. 76# 77# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 78# 79# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 80# mapped mode. Default is 2-way set associative mode. 81# 82# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 83# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 84# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 85# 86# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables 87# reorder). This option should not be used if you use memory mapped 88# I/O device(s). 89# 90# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default 91# on I686_CPU and above. 92# CPU_DISABLE_SSE explicitly prevent I686_CPU from turning on SSE. 93# 94# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 95# 96# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 97# for i386 machines. 98# 99# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 100# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 101# (no clock delay). 102# 103# CPU_L2_LATENCY specifed the L2 cache latency value. This option is used 104# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 105# The default value is 5. 106# 107# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 108# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 109# 1). 110# 111# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 112# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 113# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 114# 115# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 116# 117# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 118# enters suspend mode following execution of HALT instruction. 119# 120# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 121# 122# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 123# K5/K6/K6-2 cpus. 124# 125# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 126# flush at hold state. 127# 128# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 129# without cache flush at hold state, and (2) write-back CPU cache on 130# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 131# 132# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 133# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 134# executed. This option is only needed if I586_CPU is also defined, 135# and should be included for any non-Pentium CPU that defines it. 136# 137# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 138# which indicates that the 15-16MB range is *definitely* not being 139# occupied by an ISA memory hole. 140# 141# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 142# machines. VmWare seems to emulate this instruction poorly, causing 143# the guest OS to run very slowly. Enabling this with a SMP kernel 144# will cause the kernel to be unusable. 145# 146# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 147# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 148# These options may crash your system. 149# 150# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 151# in write-through mode when revision < 2.7. If revision of Cyrix 152# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 153# 154# NOTE 3: This option may cause failures for software that requires 155# locked cycles in order to operate correctly. 156# 157options CPU_BLUELIGHTNING_FPU_OP_CACHE 158options CPU_BLUELIGHTNING_3X 159options CPU_BTB_EN 160options CPU_DIRECT_MAPPED_CACHE 161options CPU_DISABLE_5X86_LSSER 162options CPU_ENABLE_SSE 163#options CPU_DISABLE_SSE 164options CPU_FASTER_5X86_FPU 165options CPU_I486_ON_386 166options CPU_IORT 167options CPU_L2_LATENCY=5 168options CPU_LOOP_EN 169options CPU_PPRO2CELERON 170options CPU_RSTK_EN 171options CPU_SUSP_HLT 172options CPU_UPGRADE_HW_CACHE 173options CPU_WT_ALLOC 174options CYRIX_CACHE_WORKS 175options CYRIX_CACHE_REALLY_WORKS 176#options NO_F00F_HACK 177options CPU_DISABLE_CMPXCHG 178 179# Debug options 180options NPX_DEBUG # enable npx debugging (FPU/math emu) 181 #new math emulator 182 183# 184# PERFMON causes the driver for Pentium/Pentium Pro performance counters 185# to be compiled. See perfmon(4) for more information. 186# 187options PERFMON 188 189 190##################################################################### 191# NETWORKING OPTIONS 192 193# 194# DEVICE_POLLING adds support for mixed interrupt-polling handling 195# of network device drivers, which has significant benefits in terms 196# of robustness to overloads and responsivity, as well as permitting 197# accurate scheduling of the CPU time between kernel network processing 198# and other activities. The drawback is a moderate (up to 1/HZ seconds) 199# potential increase in response times. 200# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 201# to achieve smoother behaviour. 202# Additionally, you can enable/disable polling at runtime with the 203# sysctl variable kern.polling.enable (defaults off), and select 204# the CPU fraction reserved to userland with the sysctl variable 205# kern.polling.user_frac (default 50, range 0..100). 206# 207# Only the "dc" "fxp" and "sis" devices support this mode of operation at 208# the time of this writing. 209 210options DEVICE_POLLING 211 212 213##################################################################### 214# CLOCK OPTIONS 215 216# The following options are used for debugging clock behavior only, and 217# should not be used for production systems. 218# 219# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup 220# until the user presses a key. 221 222options CLK_CALIBRATION_LOOP 223 224# The following two options measure the frequency of the corresponding 225# clock relative to the RTC (onboard mc146818a). 226 227options CLK_USE_I8254_CALIBRATION 228options CLK_USE_TSC_CALIBRATION 229 230 231##################################################################### 232# MISCELLANEOUS DEVICES AND OPTIONS 233 234device speaker #Play IBM BASIC-style noises out your speaker 235hint.speaker.0.at="isa" 236hint.speaker.0.port="0x35" 237device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! 238device apm_saver # Requires APM 239 240 241##################################################################### 242# HARDWARE BUS CONFIGURATION 243 244# 245# ISA bus 246# 247device isa 248 249# 250# Options for `isa': 251# 252# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 253# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 254# This option breaks suspend/resume on some portables. 255# 256# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 257# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 258# Automatic EOI is documented not to work for for the slave with the 259# original i8259A, but it works for some clones and some integrated 260# versions. 261# 262# MAXMEM specifies the amount of RAM on the machine; if this is not 263# specified, FreeBSD will first read the amount of memory from the CMOS 264# RAM, so the amount of memory will initially be limited to 64MB or 16MB 265# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 266# then attempt to detect the installed amount of RAM. If this probe 267# fails to detect >64MB RAM you will have to use the MAXMEM option. 268# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 269# be 131072 (128 * 1024). 270# 271# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 272# reset the CPU for reboot. This is needed on some systems with broken 273# keyboard controllers. 274 275options COMPAT_OLDISA #Use ISA shims and glue for old drivers 276options AUTO_EOI_1 277#options AUTO_EOI_2 278 279options MAXMEM=(128*1024) 280#options BROKEN_KEYBOARD_RESET 281options EPSON_BOUNCEDMA 282options EPSON_MEMWIN 283 284# 285# PCI bus & PCI options: 286# 287device pci 288 289# 290# AGP GART support 291device agp 292 293 294##################################################################### 295# HARDWARE DEVICE CONFIGURATION 296 297# 298# Mandatory devices: 299# 300 301# PC98 keyboard 302device pckbd 303hint.pckbd.0.at="isa" 304hint.pckbd.0.port="0x041" 305hint.pckbd.0.irq="1" 306 307# These options are valid for other keyboard drivers as well. 308options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 309options KBD_INSTALL_CDEV # install a CDEV entry in /dev 310 311# GDC screen 312device gdc 313hint.gdc.0.at="isa" 314options LINE30 315 316# 317# The Numeric Processing eXtension driver. In addition to this, you 318# may configure a math emulator (see above). If your machine has a 319# hardware FPU and the kernel configuration includes the npx device 320# *and* a math emulator compiled into the kernel, the hardware FPU 321# will be used, unless it is found to be broken or unless "flags" to 322# npx0 includes "0x08", which requests preference for the emulator. 323device npx 324 325# 326# `flags' for npx0: 327# 0x01 don't use the npx registers to optimize bcopy. 328# 0x02 don't use the npx registers to optimize bzero. 329# 0x04 don't use the npx registers to optimize copyin or copyout. 330# 0x08 use emulator even if hardware FPU is available. 331# The npx registers are normally used to optimize copying and zeroing when 332# all of the following conditions are satisfied: 333# I586_CPU is an option 334# the cpu is an i586 (perhaps not a Pentium) 335# the probe for npx0 succeeds 336# INT 16 exception handling works. 337# Then copying and zeroing using the npx registers is normally 30-100% faster. 338# The flags can be used to control cases where it doesn't work or is slower. 339# Setting them at boot time using userconfig works right (the optimizations 340# are not used until later in the bootstrap when npx0 is attached). 341# Flag 0x08 automatically disables the i586 optimized routines. 342# 343 344# 345# Optional devices: 346# 347 348# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 349# the /dev/3dfx0 device to work with glide implementations. This should get 350# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 351# the tdfx DRI module from XFree86 and is completely unrelated. 352# 353# To enable Linuxulator support, one must also include COMPAT_LINUX in the 354# config as well, or you will not have the dependencies. The other option 355# is to load both as modules. 356 357device tdfx # Enable 3Dfx Voodoo support 358options TDFX_LINUX # Enable Linuxulator support 359 360# DRM options: 361# mgadrm: AGP Matrox G200, G400, G450, G550 362# r128drm: ATI Rage 128 363# radeondrm: ATI Radeon up to 9000/9100 364# sisdrm: SiS 300/305,540,630 365# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee 366# DRM_DEBUG: include debug printfs, very slow 367# 368# mga requires AGP in the kernel, and it is recommended 369# for AGP r128 and radeon cards. 370 371device mgadrm 372device "r128drm" 373device radeondrm 374device sisdrm 375device tdfxdrm 376 377options DRM_DEBUG 378 379# 380# Bus mouse 381# 382device mse 383hint.mse.0.at="isa" 384hint.mse.0.port="0x7fd9" 385hint.mse.0.irq="13" 386 387# 388# Network interfaces: 389# 390 391# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 392# (requires sppp) 393# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing) 394# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 395# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf) 396# (requires miibus) 397# el: 3Com 3C501 (slow!) 398# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 399# Intel EtherExpress 400# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100, 401# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422) 402# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 403# Am79C960) 404# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133 405# (no hints needed). 406# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 407# OC-3141, OC-3540, OC-3250 408# rdp: RealTek RTL 8002-based pocket ethernet adapters 409# sbni: Granch SBNI12-xx ISA and PCI adapters 410# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 411# wl: Lucent Wavelan (ISA card only). 412 413# Order for ISA/EISA devices is important here 414 415device ar 416hint.ar.0.at="isa" 417hint.ar.0.port="0x300" 418hint.ar.0.irq="10" 419hint.ar.0.maddr="0xd0000" 420device cx 1 421hint.cx.0.at="isa" 422hint.cx.0.port="0x240" 423hint.cx.0.irq="15" 424hint.cx.0.drq="7" 425device ed 426#options ED_NO_MIIBUS # Disable ed miibus support 427hint.ed.0.at="isa" 428hint.ed.0.port="0x280" 429hint.ed.0.irq="5" 430hint.ed.0.maddr="0xd8000" 431device el 1 432hint.el.0.at="isa" 433hint.el.0.port="0x300" 434hint.el.0.irq="9" 435device ie # Hints only required for Starlan 436hint.ie.2.at="isa" 437hint.ie.2.port="0x300" 438hint.ie.2.irq="5" 439hint.ie.2.maddr="0xd0000" 440device le 1 441hint.le.0.at="isa" 442hint.le.0.port="0x300" 443hint.le.0.irq="5" 444hint.le.0.maddr="0xd0000" 445device lnc 446hint.lnc.0.at="isa" 447hint.lnc.0.port="0x280" 448hint.lnc.0.irq="10" 449hint.lnc.0.drq="0" 450device rdp 1 451hint.rdp.0.at="isa" 452hint.rdp.0.port="0x378" 453hint.rdp.0.irq="7" 454hint.rdp.0.flags="2" 455device sbni 456hint.sbni.0.at="isa" 457hint.sbni.0.port="0x210" 458hint.sbni.0.irq="0xefdead" 459hint.sbni.0.flags="0" 460device snc 461hint.snc.0.at="isa" 462hint.snc.0.port="0x888" 463hint.snc.0.irq="6" 464hint.snc.0.maddr="0xc0000" 465device sr 466hint.sr.0.at="isa" 467hint.sr.0.port="0x300" 468hint.sr.0.irq="5" 469hint.sr.0.maddr="0xd0000" 470device oltr 471hint.oltr.0.at="isa" 472device wl 473hint.wl.0.at="isa" 474hint.wl.0.port="0x300" 475options WLCACHE # enables the signal-strength cache 476options WLDEBUG # enables verbose debugging output 477 478# 479# SCSI host adapters: 480# 481# ct: WD33C93[ABC] based SCSI host adapters. 482# ncv: NCR 53C500 based SCSI host adapters. 483# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 484# stg: TMC 18C30, 18C50 based SCSI host adapters. 485 486device ct 487hint.ct.0.at="isa" 488device ncv 489device nsp 490device stg 491hint.stg.0.at="isa" 492hint.stg.0.port="0x140" 493hint.stg.0.port="11" 494 495# 496# SafeNet crypto driver: can be moved to the MI NOTES as soon as 497# it's tested on a big-endian machine 498# 499device safe # SafeNet 1141 500options SAFE_DEBUG # enable debugging support: hw.safe.debug 501options SAFE_RNDTEST # enable rndtest support 502 503##################################################################### 504 505# 506# Miscellaneous hardware: 507# 508# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 509# ctx: Cortex-I frame grabber 510# apm: Laptop Advanced Power Management (experimental) 511# pmtimer: Timer device driver for power management events (APM or ACPI) 512# spigot: The Creative Labs Video Spigot video-acquisition board 513# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) 514# digi: Digiboard driver 515# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB 516# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 517# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 518 519# Notes on APM 520# The flags takes the following meaning for apm0: 521# 0x0020 Statclock is broken. 522# If apm is omitted, some systems require sysctl kern.timecounter.method=1 523# for correct timekeeping. 524 525# Notes on the spigot: 526# The video spigot is at 0xad6. This port address can not be changed. 527# The irq values may only be 10, 11, or 15 528# I/O memory is an 8kb region. Possible values are: 529# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 530# The start address must be on an even boundary. 531# Add the following option if you want to allow non-root users to be able 532# to access the spigot. This option is not secure because it allows users 533# direct access to the I/O page. 534# options SPIGOT_UNSECURE 535 536# Notes on the Specialix SI/XIO driver: 537# The host card is memory, not IO mapped. 538# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 539# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 540# The cards can use an IRQ of 11, 12 or 15. 541 542# Notes on the Sony Programmable I/O controller 543# This is a temporary driver that should someday be replaced by something 544# that hooks into the ACPI layer. The device is hooked to the PIIX4's 545# General Device 10 decoder, which means you have to fiddle with PCI 546# registers to map it in, even though it is otherwise treated here as 547# an ISA device. At the moment, the driver polls, although the device 548# is capable of generating interrupts. It largely undocumented. 549# The port location in the hint is where you WANT the device to be 550# mapped. 0x10a0 seems to be traditional. At the moment the jogdial 551# is the only thing truly supported, but aparently a fair percentage 552# of the Vaio extra features are controlled by this device. 553 554# Notes on the Stallion stl and stli drivers: 555# See src/i386/isa/README.stl for complete instructions. 556# This is version 0.0.5alpha, unsupported by Stallion. 557# The stl driver has a secondary IO port hard coded at 0x280. You need 558# to change src/i386/isa/stallion.c if you reconfigure this on the boards. 559# The "flags" and "msize" settings on the stli driver depend on the board: 560# EasyConnection 8/64 ISA: flags 23 msize 0x1000 561# EasyConnection 8/64 EISA: flags 24 msize 0x10000 562# EasyConnection 8/64 MCA: flags 25 msize 0x1000 563# ONboard ISA: flags 4 msize 0x10000 564# ONboard EISA: flags 7 msize 0x10000 565# ONboard MCA: flags 3 msize 0x10000 566# Brumby: flags 2 msize 0x4000 567# Stallion: flags 1 msize 0x10000 568 569# Notes on the Digiboard PC/Xi and PC/Xe series driver 570# 571# The NDGBPORTS option specifies the number of ports controlled by the 572# dgb(4) driver. The default value is 16 ports per device. 573# 574# The following flag values have special meanings in dgb: 575# 0x01 - alternate layout of pins 576# 0x02 - use the windowed PC/Xe in 64K mode 577 578device wt 1 579hint.wt.0.at="isa" 580hint.wt.0.port="0x300" 581hint.wt.0.irq="5" 582hint.wt.0.drq="1" 583device ctx 584hint.ctx.0.at="isa" 585hint.ctx.0.port="0x230" 586hint.ctx.0.maddr="0xd0000" 587device spigot 1 588hint.spigot.0.at="isa" 589hint.spigot.0.port="0xad6" 590hint.spigot.0.irq="15" 591hint.spigot.0.maddr="0xee000" 592device apm 593hint.apm.0.flags="0x20" 594device pmc 595device canbus 596device canbepm 597hint.pmc.0.at="isa" 598hint.pmc.0.port="0x8f0" 599device pmtimer # Adjust system timer at wakeup time 600device gp 601hint.gp.0.at="isa" 602hint.gp.0.port="0x2c0" 603device dgb 1 604options NDGBPORTS=17 605hint.dgb.0.at="isa" 606hint.dgb.0.port="0x220" 607hint.dgb.0.maddr="0xfc000" 608device digi 609hint.digi.0.at="isa" 610hint.digi.0.port="0x104" 611hint.digi.0.maddr="0xd0000" 612# BIOS & FEP/OS components of device digi. 613device digi_CX 614device digi_CX_PCI 615device digi_EPCX 616device digi_EPCX_PCI 617device digi_Xe 618device digi_Xem 619device digi_Xr 620device stl 621hint.stl.0.at="isa" 622hint.stl.0.port="0x2a0" 623hint.stl.0.irq="10" 624device stli 625hint.stli.0.at="isa" 626hint.stli.0.port="0x2a0" 627hint.stli.0.maddr="0xcc000" 628hint.stli.0.flags="23" 629hint.stli.0.msize="0x1000" 630device olpt 631hint.olpt.0.at="isa" 632hint.olpt.0.port="0x040" 633 634# 635# Laptop/Notebook options: 636# 637# See also: 638# apm under `Miscellaneous hardware' 639# above. 640 641# For older notebooks that signal a powerfail condition (external 642# power supply dropped, or battery state low) by issuing an NMI: 643 644options POWERFAIL_NMI # make it beep instead of panicing 645 646# 647# PC Card/PCMCIA 648# (OLDCARD) 649# 650# card: pccard slots 651# pcic: isa/pccard bridge 652device pcic 653hint.pcic.0.at="isa" 654#hint.pcic.1.at="isa" 655device card 1 656 657# 658# PC Card/PCMCIA and Cardbus 659# (NEWCARD) 660# 661# Note that NEWCARD and OLDCARD are incompatible. Do not use both at the same 662# time. 663# 664# pccbb: pci/cardbus bridge implementing YENTA interface 665# pccard: pccard slots 666# cardbus: cardbus slots 667#device cbb 668#device pccard 669#device cardbus 670#device pcic ISA attachment currently busted 671#hint.pcic.0.at="isa" 672#hint.pcic.1.at="isa" 673 674#--------------------------------------------------------------------------- 675# ISDN4BSD 676# 677# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 678# 679# i4b passive ISDN cards support contains the following hardware drivers: 680# 681# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 682# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 683# ifpi - AVM Fritz!Card PCI driver 684# ifpi2 - AVM Fritz!Card PCI version 2 driver 685# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 686# ifpnp - AVM Fritz!Card PnP driver 687# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 688# 689# i4b active ISDN cards support contains the following hardware drivers: 690# 691# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 692# 693# Note that the ``options'' (if given) and ``device'' lines must BOTH 694# be uncommented to enable support for a given card ! 695# 696# In addition to a hardware driver (and probably an option) the mandatory 697# ISDN protocol stack devices and the mandatory support device must be 698# enabled as well as one or more devices from the optional devices section. 699# 700#--------------------------------------------------------------------------- 701# isic driver (Siemens/Infineon chipsets) 702# 703device isic 704# 705# PCI bus Cards: 706# -------------- 707# 708# Cyclades Cyclom-Y PCI serial driver 709device cy 1 710options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 711hint.cy.0.at="isa" 712hint.cy.0.irq="10" 713hint.cy.0.maddr="0xd4000" 714hint.cy.0.msize="0x2000" 715# 716#--------------------------------------------------------------------------- 717# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 718options ELSA_QS1PCI 719# 720# 721#--------------------------------------------------------------------------- 722# ifpnp driver for AVM Fritz!Card PnP 723# 724# AVM Fritz!Card PnP 725device ifpnp 726# 727#--------------------------------------------------------------------------- 728# ihfc driver for Cologne Chip ISA chipsets (experimental!) 729# 730# Teles 16.3c ISA PnP 731# AcerISDN P10 ISA PnP 732# TELEINT ISDN SPEED No.1 733device ihfc 734# 735#--------------------------------------------------------------------------- 736# ifpi driver for AVM Fritz!Card PCI 737# 738# AVM Fritz!Card PCI 739device ifpi 740# 741#--------------------------------------------------------------------------- 742# ifpi2 driver for AVM Fritz!Card PCI version 2 743# 744# AVM Fritz!Card PCI version 2 745device "ifpi2" 746# 747#--------------------------------------------------------------------------- 748# iwic driver for Winbond W6692 chipset 749# 750# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 751device iwic 752# 753#--------------------------------------------------------------------------- 754# itjc driver for Simens ISAC / TJNet Tiger300/320 chipset 755# 756# Traverse Technologies NETjet-S 757# Teles PCI-TJ 758device itjc 759# 760#--------------------------------------------------------------------------- 761# iavc driver (AVM active cards, needs i4bcapi driver!) 762# 763device iavc 764# 765# AVM B1 ISA bus (PnP mode not supported!) 766# ---------------------------------------- 767hint.iavc.0.at="isa" 768hint.iavc.0.port="0x150" 769hint.iavc.0.irq="5" 770# 771#--------------------------------------------------------------------------- 772# ISDN Protocol Stack - mandatory for all hardware drivers 773# 774# Q.921 / layer 2 - i4b passive cards D channel handling 775device "i4bq921" 776# 777# Q.931 / layer 3 - i4b passive cards D channel handling 778device "i4bq931" 779# 780# layer 4 - i4b common passive and active card handling 781device "i4b" 782# 783#--------------------------------------------------------------------------- 784# ISDN devices - mandatory for all hardware drivers 785# 786# userland driver to do ISDN tracing (for passive cards only) 787device "i4btrc" 4 788# 789# userland driver to control the whole thing 790device "i4bctl" 791# 792#--------------------------------------------------------------------------- 793# ISDN devices - optional 794# 795# userland driver for access to raw B channel 796device "i4brbch" 4 797# 798# userland driver for telephony 799device "i4btel" 2 800# 801# network driver for IP over raw HDLC ISDN 802device "i4bipr" 4 803# enable VJ header compression detection for ipr i/f 804options IPR_VJ 805# enable logging of the first n IP packets to isdnd (n=32 here) 806options IPR_LOG=32 807# 808# network driver for sync PPP over ISDN; requires an equivalent 809# number of sppp device to be configured 810device "i4bisppp" 4 811# 812# B-channel interface to the netgraph subsystem 813device "i4bing" 2 814# 815# CAPI driver needed for active ISDN cards (see iavc driver above) 816device "i4bcapi" 817# 818#--------------------------------------------------------------------------- 819 820# 821# Set the number of PV entries per process. Increasing this can 822# stop panics related to heavy use of shared memory. However, that can 823# (combined with large amounts of physical memory) cause panics at 824# boot time due the kernel running out of VM space. 825# 826# If you're tweaking this, you might also want to increase the sysctls 827# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 828# 829# The value below is the one more than the default. 830# 831options PMAP_SHPGPERPROC=201 832 833# 834# Change the size of the kernel virtual address space. Due to 835# constraints in loader(8) on i386, this must be a multiple of 4. 836# 256 = 1 GB of kernel address space. Increasing this also causes 837# a reduction of the address space in user processes. 512 splits 838# the 4GB cpu address space in half (2GB user, 2GB kernel). 839# 840options KVA_PAGES=260 841 842 843##################################################################### 844# ABI Emulation 845 846# Enable iBCS2 runtime support for SCO and ISC binaries 847options IBCS2 848 849# Emulate spx device for client side of SVR3 local X interface 850options SPX_HACK 851 852# Enable Linux ABI emulation 853options COMPAT_LINUX 854 855# Enable i386 a.out binary support 856options COMPAT_AOUT 857 858# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 859# and PSEUDOFS) 860options LINPROCFS 861 862# 863# SysVR4 ABI emulation 864# 865# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 866# a KLD module. 867# The STREAMS network emulation code can also be compiled statically or as a 868# module. If loaded as a module, it must be loaded before the svr4 module 869# (the /usr/sbin/svr4 script does this for you). If compiling statically, 870# the `streams' device must be configured into any kernel which also 871# specifies COMPAT_SVR4. It is possible to have a statically-configured 872# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 873# script understands that it doesn't need to load the `streams' module under 874# those circumstances. 875# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 876# (whether static or dynamic). 877# 878options COMPAT_SVR4 # build emulator statically 879options DEBUG_SVR4 # enable verbose debugging 880device streams # STREAMS network driver (required for svr4). 881 882 883##################################################################### 884# VM OPTIONS 885 886# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 887# kernel to use a 4 MByte pages to map the kernel instead of 4k pages. 888# This saves on the amount of memory needed for page tables needed to 889# map the kernel. You should only disable this feature as a temporary 890# workaround if you are having problems with it enabled. 891# 892#options DISABLE_PSE 893 894# Disable the global pages PGE CPU feature. The PGE feature allows pages 895# to be marked with the PG_G bit. TLB entries for these pages are not 896# flushed from the cache when %cr3 is reloaded. This can make context 897# switches less expensive. You should only disable this feature as a 898# temporary workaround if you are having problems with it enabled. 899# 900#options DISABLE_PG_G 901 902# KSTACK_PAGES is the number of memory pages to assign to the kernel 903# stack of each thread. 904 905options KSTACK_PAGES=3 906 907##################################################################### 908 909# More undocumented options for linting. 910# Note that documenting these are not considered an affront. 911 912options FB_INSTALL_CDEV # install a CDEV entry in /dev 913 914# PECOFF module (Win32 Execution Format) 915options PECOFF_SUPPORT 916options PECOFF_DEBUG 917 918options ENABLE_ALART 919options I4B_SMP_WORKAROUND 920options I586_PMC_GUPROF=0x70000 921options KBDIO_DEBUG=2 922options KBD_MAXRETRY=4 923options KBD_MAXWAIT=6 924options KBD_RESETDELAY=201 925 926options TIMER_FREQ=((14318182+6)/12) 927 928options VM_KMEM_SIZE 929options VM_KMEM_SIZE_MAX 930options VM_KMEM_SIZE_SCALE 931 932 933##################################################################### 934# Devices we don't want to deal with 935 936nodevice atkbdc 937nodevice atkbd 938nodevice psm 939nodevice vga 940nodevice bt 941nodevice adw 942nodevice aha 943nodevice ahb 944nodevice ahd 945nodevice mpt 946nodevice trm 947nodevice wds 948nodevice asr 949nodevice dpt 950nodevice ciss 951nodevice iir 952nodevice mly 953nodevice ida # Compaq Smart RAID 954nodevice mlx # Mylex DAC960 955nodevice amr # AMI MegaRAID 956nodevice twe # 3ware ATA RAID 957nodevice cm 958nodevice cs 959nodevice ex 960nodevice fea 961nodevice cbb 962nodevice pccard 963nodevice cardbus 964nodevice intpm 965nodevice alpm 966nodevice ichsmb 967nodevice viapm 968nodevice amdpm 969nodevice nfpm 970 971 972##################################################################### 973# Options we don't want to deal with 974 975nooption VGA_DEBUG 976nooption VGA_WIDTH90 977nooption VGA_SLOW_IOACCESS 978nooption VGA_ALT_SEQACCESS 979nooption PSM_RESETAFTERSUSPEND 980nooption PSM_HOOKRESUME 981nooption ATKBD_DFLT_KEYMAP 982nooption AHD_DEBUG 983nooption AHD_DEBUG_OPTS 984nooption AHD_REG_PRETTY_PRINT 985nooption ADW_ALLOW_MEMIO 986nooption DPT_ALLOW_MEMIO 987nooption DPT_LOST_IRQ 988nooption DPT_RESET_HBA 989nooption DPT_TIMEOUT_FACTOR 990nooption AAC_DEBUG 991nooption ACPI_MAX_THREADS 992 993 994##################################################################### 995# Make options we don't want to deal with 996 997nomakeoption ATKBD_DFLT_KEYMAP
|