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