NOTES revision 177586
1295016Sjkim# 2280297Sjkim# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 3280297Sjkim# 4280297Sjkim# This file contains machine dependent kernel configuration notes. For 5280297Sjkim# machine independent notes, look in /sys/conf/NOTES. 6280297Sjkim# 7280297Sjkim# $FreeBSD: head/sys/pc98/conf/NOTES 177586 2008-03-24 22:23:22Z jkim $ 8280297Sjkim# 9280297Sjkim 10280297Sjkim# 11280297Sjkim# We want LINT to cover profiling as well. 12280297Sjkimprofile 2 13280297Sjkim 14280297Sjkim 15280297Sjkim##################################################################### 16280297Sjkim# SMP OPTIONS: 17280297Sjkim# 18280297Sjkim# The apic device enables the use of the I/O APIC for interrupt delivery. 19280297Sjkim# The apic device can be used in both UP and SMP kernels, but is required 20280297Sjkim# for SMP kernels. Thus, the apic device is not strictly an SMP option, 21280297Sjkim# but it is a prerequisite for SMP. 22280297Sjkim# 23280297Sjkim 24280297Sjkim# Mandatory: 25280297Sjkimdevice apic # I/O apic 26280297Sjkim 27280297Sjkim# 28280297Sjkim# Watchdog routines. 29280297Sjkim# 30280297Sjkimoptions MP_WATCHDOG 31280297Sjkim 32280297Sjkim# Debugging options. 33280297Sjkim# 34280297Sjkimoptions STOP_NMI # Stop CPUS using NMI instead of IPI 35280297Sjkim 36280297Sjkim 37280297Sjkim 38280297Sjkim##################################################################### 39280297Sjkim# CPU OPTIONS 40280297Sjkim 41280297Sjkim# 42280297Sjkim# You must specify at least one CPU (the one you intend to run on); 43280297Sjkim# deleting the specification for CPUs you don't need to use may make 44280297Sjkim# parts of the system run faster. 45280297Sjkim# 46280297Sjkimcpu I486_CPU 47280297Sjkimcpu I586_CPU # aka Pentium(tm) 48280297Sjkimcpu I686_CPU # aka Pentium Pro(tm) 49280297Sjkim 50280297Sjkim# 51280297Sjkim# Options for CPU features. 52280297Sjkim# 53280297Sjkim# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 54280297Sjkim# CPU if CPU supports it. The default is double-clock mode on 55280297Sjkim# BlueLightning CPU box. 56280297Sjkim# 57280297Sjkim# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 58280297Sjkim# BlueLightning CPU. It works only with Cyrix FPU, and this option 59280297Sjkim# should not be used with Intel FPU. 60280297Sjkim# 61280297Sjkim# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 62280297Sjkim# 63280297Sjkim# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 64280297Sjkim# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 65280297Sjkim# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 66280297Sjkim# 67280297Sjkim# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 68280297Sjkim# mapped mode. Default is 2-way set associative mode. 69280297Sjkim# 70280297Sjkim# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables 71280297Sjkim# reorder). This option should not be used if you use memory mapped 72280297Sjkim# I/O device(s). 73280297Sjkim# 74280297Sjkim# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 75280297Sjkim# machines. VmWare 3.x seems to emulate this instruction poorly, causing 76280297Sjkim# the guest OS to run very slowly. This problem appears to be fixed in 77280297Sjkim# VmWare 4.x, at least in version 4.5.2, so that enabling this option with 78280297Sjkim# VmWare 4.x will result in locking operations to be 20-30 times slower. 79280297Sjkim# Enabling this with an SMP kernel will cause the kernel to be unusable. 80280297Sjkim# 81280297Sjkim# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE. 82280297Sjkim# 83280297Sjkim# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 84280297Sjkim# 85280297Sjkim# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 86280297Sjkim# for i386 machines. 87280297Sjkim# 88280297Sjkim# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 89280297Sjkim# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 90280297Sjkim# (no clock delay). 91280297Sjkim# 92280297Sjkim# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used 93280297Sjkim# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 94280297Sjkim# The default value is 5. 95280297Sjkim# 96280297Sjkim# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 97280297Sjkim# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 98280297Sjkim# 1). 99280297Sjkim# 100280297Sjkim# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 101280297Sjkim# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 102280297Sjkim# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 103280297Sjkim# 104280297Sjkim# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 105280297Sjkim# 106280297Sjkim# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 107280297Sjkim# enters suspend mode following execution of HALT instruction. 108280297Sjkim# 109280297Sjkim# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 110280297Sjkim# 111280297Sjkim# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 112280297Sjkim# K5/K6/K6-2 CPUs. 113280297Sjkim# 114280297Sjkim# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 115280297Sjkim# flush at hold state. 116280297Sjkim# 117280297Sjkim# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 118280297Sjkim# without cache flush at hold state, and (2) write-back CPU cache on 119280297Sjkim# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 120280297Sjkim# 121280297Sjkim# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 122280297Sjkim# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 123280297Sjkim# executed. This option is only needed if I586_CPU is also defined, 124280297Sjkim# and should be included for any non-Pentium CPU that defines it. 125280297Sjkim# 126280297Sjkim# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 127280297Sjkim# which indicates that the 15-16MB range is *definitely* not being 128280297Sjkim# occupied by an ISA memory hole. 129280297Sjkim# 130280297Sjkim# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 131280297Sjkim# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 132280297Sjkim# These options may crash your system. 133280297Sjkim# 134280297Sjkim# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 135280297Sjkim# in write-through mode when revision < 2.7. If revision of Cyrix 136296317Sdelphij# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 137280297Sjkim# 138280297Sjkim# NOTE 3: This option may cause failures for software that requires 139280297Sjkim# locked cycles in order to operate correctly. 140280297Sjkim# 141280297Sjkimoptions CPU_BLUELIGHTNING_3X 142280297Sjkimoptions CPU_BLUELIGHTNING_FPU_OP_CACHE 143280297Sjkimoptions CPU_BTB_EN 144280297Sjkimoptions CPU_DIRECT_MAPPED_CACHE 145280297Sjkimoptions CPU_DISABLE_5X86_LSSER 146280297Sjkimoptions CPU_DISABLE_CMPXCHG 147280297Sjkim#options CPU_DISABLE_SSE 148280297Sjkimoptions CPU_FASTER_5X86_FPU 149280297Sjkimoptions CPU_I486_ON_386 150280297Sjkimoptions CPU_IORT 151280297Sjkimoptions CPU_L2_LATENCY=5 152280297Sjkimoptions CPU_LOOP_EN 153280297Sjkimoptions CPU_PPRO2CELERON 154280297Sjkimoptions CPU_RSTK_EN 155280297Sjkimoptions CPU_SUSP_HLT 156280297Sjkimoptions CPU_UPGRADE_HW_CACHE 157280297Sjkimoptions CPU_WT_ALLOC 158280297Sjkimoptions CYRIX_CACHE_WORKS 159280297Sjkimoptions CYRIX_CACHE_REALLY_WORKS 160280297Sjkim#options NO_F00F_HACK 161280297Sjkim 162280297Sjkim# Debug options 163280297Sjkimoptions NPX_DEBUG # enable npx debugging 164280297Sjkim 165280297Sjkim# 166280297Sjkim# PERFMON causes the driver for Pentium/Pentium Pro performance counters 167280297Sjkim# to be compiled. See perfmon(4) for more information. 168280297Sjkim# 169280297Sjkimoptions PERFMON 170280297Sjkim 171280297Sjkim 172280297Sjkim##################################################################### 173280297Sjkim# NETWORKING OPTIONS 174280297Sjkim 175280297Sjkim# 176280297Sjkim# DEVICE_POLLING adds support for mixed interrupt-polling handling 177280297Sjkim# of network device drivers, which has significant benefits in terms 178280297Sjkim# of robustness to overloads and responsivity, as well as permitting 179280297Sjkim# accurate scheduling of the CPU time between kernel network processing 180280297Sjkim# and other activities. The drawback is a moderate (up to 1/HZ seconds) 181280297Sjkim# potential increase in response times. 182280297Sjkim# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 183280297Sjkim# to achieve smoother behaviour. 184# Additionally, you can enable/disable polling at runtime with help of 185# the ifconfig(8) utility, and select the CPU fraction reserved to 186# userland with the sysctl variable kern.polling.user_frac 187# (default 50, range 0..100). 188# 189# Not all device drivers support this mode of operation at the time of 190# this writing. See polling(4) for more details. 191 192options DEVICE_POLLING 193 194# BPF_JITTER adds support for BPF just-in-time compiler. 195 196options BPF_JITTER 197 198 199##################################################################### 200# CLOCK OPTIONS 201 202# The following options are used for debugging clock behavior only, and 203# should not be used for production systems. 204 205# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at 206# startup until the user presses a key. (The i8254 clock is always 207# calibrated relative to the RTC (mc146818a) and this option causes the 208# calibration to be repeated.) 209options CLK_CALIBRATION_LOOP 210 211# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254 212# clock to actually be used. 213options CLK_USE_I8254_CALIBRATION 214 215 216##################################################################### 217# MISCELLANEOUS DEVICES AND OPTIONS 218 219# 220# sio: serial ports (see sio(4)), including support for various 221# PC Card devices, such as Modem and NICs 222# 223device sio 224hint.sio.0.at="isa" 225hint.sio.0.port="0x3F8" 226hint.sio.0.flags="0x10" 227hint.sio.0.irq="4" 228 229# `flags' specific to sio(4). 230# 0x10 enable console support for this unit. Other console flags 231# (if applicable) are ignored unless this is set. Enabling 232# console support does not make the unit the preferred console. 233# Boot with -h or set boot_serial=YES in the loader. For sio(4) 234# specifically, the 0x20 flag can also be set (see above). 235# Currently, at most one unit can have console support; the 236# first one (in config file order) with this flag set is 237# preferred. Setting this flag for sio0 gives the old behaviour. 238# 0x20 force this unit to be the console (unless there is another 239# higher priority console). This replaces the COMCONSOLE option. 240# 0x40 reserve this unit for low level console operations. Do not 241# access the device in any normal way. 242# 0x80 use this port for serial line gdb support in ddb. Also known 243# as debug port. 244# PnP `flags' 245# 0x1 disable probing of this device. Used to prevent your modem 246# from being attached as a PnP modem. 247# Other flags for sio that aren't documented in the man page. 248# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 249# ST16650A-compatible UARTs. 250 251# Options for sio: 252options COM_ESP # Code for Hayes ESP. 253options COM_MULTIPORT # Code for some cards with shared IRQs. 254options CONSPEED=115200 # Speed for serial console 255 # (default 9600). 256 257device speaker #Play IBM BASIC-style noises out your speaker 258hint.speaker.0.at="isa" 259hint.speaker.0.port="0x35" 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# MAXMEM specifies the amount of RAM on the machine; if this is not 280# specified, FreeBSD will first read the amount of memory from the CMOS 281# RAM, so the amount of memory will initially be limited to 64MB or 16MB 282# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 283# then attempt to detect the installed amount of RAM. If this probe 284# fails to detect >64MB RAM you will have to use the MAXMEM option. 285# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 286# be 131072 (128 * 1024). 287# 288# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 289# reset the CPU for reboot. This is needed on some systems with broken 290# keyboard controllers. 291 292options AUTO_EOI_1 293 294options MAXMEM=(128*1024) 295#options BROKEN_KEYBOARD_RESET 296options EPSON_BOUNCEDMA 297options EPSON_MEMWIN 298 299# 300# PCI bus & PCI options: 301# 302device pci 303 304# 305# AGP GART support 306device agp 307 308 309##################################################################### 310# HARDWARE DEVICE CONFIGURATION 311 312# PC98 keyboard 313device pckbd 314hint.pckbd.0.at="isa" 315hint.pckbd.0.port="0x041" 316hint.pckbd.0.irq="1" 317 318# GDC screen 319device gdc 320hint.gdc.0.at="isa" 321options LINE30 322 323# 324# The Numeric Processing eXtension driver. This is non-optional. 325device npx 326 327# 328# `flags' for npx0: 329# 0x01 don't use the npx registers to optimize bcopy. 330# 0x02 don't use the npx registers to optimize bzero. 331# 0x04 don't use the npx registers to optimize copyin or copyout. 332# The npx registers are normally used to optimize copying and zeroing when 333# all of the following conditions are satisfied: 334# I586_CPU is an option 335# the cpu is an i586 (perhaps not a Pentium) 336# the probe for npx0 succeeds 337# INT 16 exception handling works. 338# Then copying and zeroing using the npx registers is normally 30-100% faster. 339# The flags can be used to control cases where it doesn't work or is slower. 340# Setting them at boot time using hints works right (the optimizations 341# are not used until later in the bootstrap when npx0 is attached). 342# Flag 0x08 automatically disables the i586 optimized routines. 343# 344 345# 346# Optional devices: 347# 348 349# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 350# the /dev/3dfx0 device to work with glide implementations. This should get 351# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 352# the tdfx DRI module from XFree86 and is completely unrelated. 353# 354# To enable Linuxulator support, one must also include COMPAT_LINUX in the 355# config as well. The other option is to load both as modules. 356 357device tdfx # Enable 3Dfx Voodoo support 358device tdfx_linux # Enable Linuxulator support 359 360# Direct Rendering modules for 3D acceleration. 361device drm # DRM core module required by DRM drivers 362device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL 363device mgadrm # AGP Matrox G200, G400, G450, G550 364device r128drm # ATI Rage 128 365device radeondrm # ATI Radeon 366device savagedrm # S3 Savage3D, Savage4 367device sisdrm # SiS 300/305, 540, 630 368device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee 369options DRM_DEBUG # Include debug printfs (slow) 370 371# 372# Bus mouse 373# 374device mse 375hint.mse.0.at="isa" 376hint.mse.0.port="0x7fd9" 377hint.mse.0.irq="13" 378 379# 380# Network interfaces: 381# 382 383# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 384# (requires sppp) 385# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan) 386# ce: Cronyx Tau-PCI/32 sync single/dual port G.703/E1 serial adaptor 387# with 32 HDLC subchannels (requires sppp (default), or NETGRAPH if 388# NETGRAPH_CRONYX is configured) 389# cp: Cronyx Tau-PCI sync single/dual/four port 390# V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1 391# serial adaptor (requires sppp (default), or NETGRAPH if 392# NETGRAPH_CRONYX is configured) 393# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters and pccard 394# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 395# HP PC Lan+, various PC Card devices 396# (requires miibus) 397# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 398# Intel EtherExpress 399# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133. 400# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 401# OC-3141, OC-3540 and OC-3250. 402# ral: Ralink Technology IEEE 802.11 wireless adapter 403# sbni: Granch SBNI12-xx ISA and PCI adapters 404# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 405# ural: Ralink Technology RT2500USB IEEE 802.11 wireless adapter 406 407# Order for ISA/EISA devices is important here 408 409device ar 410device ce 411device cp 412device cs 413device ed 414hint.ed.0.at="isa" 415hint.ed.0.port="0x280" 416hint.ed.0.irq="5" 417hint.ed.0.maddr="0xd8000" 418device ie # Hints only required for Starlan 419hint.ie.2.at="isa" 420hint.ie.2.port="0x300" 421hint.ie.2.irq="5" 422hint.ie.2.maddr="0xd0000" 423# Hint for the PC98-only C-NET(98)S C-bus front-end of le(4). 424hint.le.0.at="isa" 425hint.le.0.port="0x03d0" 426hint.le.0.irq="6" 427device oltr 428device ral 429device sbni 430hint.sbni.0.at="isa" 431hint.sbni.0.port="0x210" 432hint.sbni.0.irq="0xefdead" 433hint.sbni.0.flags="0" 434device snc 435hint.snc.0.at="isa" 436hint.snc.0.port="0x888" 437hint.snc.0.irq="6" 438hint.snc.0.maddr="0xc0000" 439device sr 440device ural 441 442device ath 443device ath_hal # Atheros HAL (includes binary component) 444#device ath_rate_amrr # AMRR rate control for ath driver 445#device ath_rate_onoe # Onoe rate control for ath driver 446device ath_rate_sample # SampleRate rate control for the ath driver 447#device wlan # 802.11 layer 448 449# 450# SCSI host adapters: 451# 452# ct: WD33C93[ABC] based SCSI host adapters. 453# ncv: NCR 53C500 based SCSI host adapters. 454# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 455# stg: TMC 18C30, 18C50 based SCSI host adapters. 456 457device ct 458hint.ct.0.at="isa" 459device ncv 460device nsp 461device stg 462 463# 464# SafeNet crypto driver: can be moved to the MI NOTES as soon as 465# it's tested on a big-endian machine 466# 467device safe # SafeNet 1141 468options SAFE_DEBUG # enable debugging support: hw.safe.debug 469options SAFE_RNDTEST # enable rndtest support 470 471##################################################################### 472 473# 474# Miscellaneous hardware: 475# 476# apm: Laptop Advanced Power Management (experimental) 477# pmtimer: Timer device driver for power management events (APM or ACPI) 478# cy: Cyclades serial driver 479# digi: Digiboard driver 480 481# Notes on APM 482# The flags takes the following meaning for apm0: 483# 0x0020 Statclock is broken. 484 485device apm 486hint.apm.0.flags="0x20" 487device canbus 488device canbepm 489device cy 490options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 491device digi 492# BIOS & FEP/OS components of device digi. 493device digi_CX 494device digi_CX_PCI 495device digi_EPCX 496device digi_EPCX_PCI 497device digi_Xe 498device digi_Xem 499device digi_Xr 500device olpt 501hint.olpt.0.at="isa" 502hint.olpt.0.port="0x040" 503device pmc 504hint.pmc.0.at="isa" 505hint.pmc.0.port="0x8f0" 506device pmtimer # Adjust system timer at wakeup time 507 508# 509# Laptop/Notebook options: 510# 511# See also: 512# apm under `Miscellaneous hardware' 513# above. 514 515# For older notebooks that signal a powerfail condition (external 516# power supply dropped, or battery state low) by issuing an NMI: 517 518options POWERFAIL_NMI # make it beep instead of panicing 519 520#--------------------------------------------------------------------------- 521# ISDN4BSD 522# 523# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 524# 525# i4b passive ISDN cards support contains the following hardware drivers: 526# 527# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 528# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 529# ifpi - AVM Fritz!Card PCI driver 530# ifpi2 - AVM Fritz!Card PCI version 2 driver 531# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 532# ifpnp - AVM Fritz!Card PnP driver 533# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 534# 535# i4b active ISDN cards support contains the following hardware drivers: 536# 537# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 538# 539# Note that the ``options'' (if given) and ``device'' lines must BOTH 540# be uncommented to enable support for a given card ! 541# 542# In addition to a hardware driver (and probably an option) the mandatory 543# ISDN protocol stack devices and the mandatory support device must be 544# enabled as well as one or more devices from the optional devices section. 545# 546#--------------------------------------------------------------------------- 547# isic driver (Siemens/Infineon chipsets) 548# 549device isic 550# 551# PCI bus Cards: 552# -------------- 553# 554# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 555options ELSA_QS1PCI 556# 557#--------------------------------------------------------------------------- 558# ifpnp driver for AVM Fritz!Card PnP 559# 560# AVM Fritz!Card PnP 561device ifpnp 562# 563#--------------------------------------------------------------------------- 564# ihfc driver for Cologne Chip ISA chipsets (experimental!) 565# 566# Teles 16.3c ISA PnP 567# AcerISDN P10 ISA PnP 568# TELEINT ISDN SPEED No.1 569device ihfc 570# 571#--------------------------------------------------------------------------- 572# ifpi driver for AVM Fritz!Card PCI 573# 574# AVM Fritz!Card PCI 575device ifpi 576# 577#--------------------------------------------------------------------------- 578# ifpi2 driver for AVM Fritz!Card PCI version 2 579# 580# AVM Fritz!Card PCI version 2 581device ifpi2 582# 583#--------------------------------------------------------------------------- 584# iwic driver for Winbond W6692 chipset 585# 586# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 587device iwic 588# 589#--------------------------------------------------------------------------- 590# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset 591# 592# Traverse Technologies NETjet-S 593# Teles PCI-TJ 594device itjc 595# 596#--------------------------------------------------------------------------- 597# iavc driver (AVM active cards, needs i4bcapi driver!) 598# 599device iavc 600# 601#--------------------------------------------------------------------------- 602# ISDN Protocol Stack - mandatory for all hardware drivers 603# 604# Q.921 / layer 2 - i4b passive cards D channel handling 605device i4bq921 606# 607# Q.931 / layer 3 - i4b passive cards D channel handling 608device i4bq931 609# 610# layer 4 - i4b common passive and active card handling 611device i4b 612# 613#--------------------------------------------------------------------------- 614# ISDN devices - mandatory for all hardware drivers 615# 616# userland driver to do ISDN tracing (for passive cards only) 617device i4btrc 618options NI4BTRC=4 619# 620# userland driver to control the whole thing 621device i4bctl 622# 623#--------------------------------------------------------------------------- 624# ISDN devices - optional 625# 626# userland driver for access to raw B channel 627device i4brbch 628options NI4BRBCH=4 629# 630# userland driver for telephony 631device i4btel 632options NI4BTEL=2 633# 634#XXXBZ# IPR and ISPPP are not usable until I4B is locked. 635# network driver for IP over raw HDLC ISDN 636#XXXBZ#device i4bipr 637#XXXBZ#options NI4BIPR=4 638# enable VJ header compression detection for ipr i/f 639#XXXBZ#options IPR_VJ 640# enable logging of the first n IP packets to isdnd (n=32 here) 641#XXXBZ#options IPR_LOG=32 642# 643# network driver for sync PPP over ISDN; requires an equivalent 644# number of sppp device to be configured 645#XXXBZ#device i4bisppp 646#XXXBZ#options NI4BISPPP=4 647# 648# B-channel interface to the netgraph subsystem 649#XXXBZ#device i4bing 650#XXXBZ#options NI4BING=2 651# 652# CAPI driver needed for active ISDN cards (see iavc driver above) 653device i4bcapi 654# 655#--------------------------------------------------------------------------- 656 657# 658# Set the number of PV entries per process. Increasing this can 659# stop panics related to heavy use of shared memory. However, that can 660# (combined with large amounts of physical memory) cause panics at 661# boot time due the kernel running out of VM space. 662# 663# If you're tweaking this, you might also want to increase the sysctls 664# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 665# 666# The value below is the one more than the default. 667# 668options PMAP_SHPGPERPROC=201 669 670# 671# Change the size of the kernel virtual address space. Due to 672# constraints in loader(8) on i386, this must be a multiple of 4. 673# 256 = 1 GB of kernel address space. Increasing this also causes 674# a reduction of the address space in user processes. 512 splits 675# the 4GB cpu address space in half (2GB user, 2GB kernel). 676# 677options KVA_PAGES=260 678 679 680##################################################################### 681# ABI Emulation 682 683# Enable iBCS2 runtime support for SCO and ISC binaries 684options IBCS2 685 686# Emulate spx device for client side of SVR3 local X interface 687options SPX_HACK 688 689# Enable Linux ABI emulation 690options COMPAT_LINUX 691 692# Enable i386 a.out binary support 693options COMPAT_AOUT 694 695# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 696# and PSEUDOFS) 697options LINPROCFS 698 699# Enable the linux-like sys filesystem support (requires COMPAT_LINUX 700# and PSEUDOFS) 701options LINSYSFS 702 703# 704# SysVR4 ABI emulation 705# 706# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 707# a KLD module. 708# The STREAMS network emulation code can also be compiled statically or as a 709# module. If loaded as a module, it must be loaded before the svr4 module 710# (the /usr/sbin/svr4 script does this for you). If compiling statically, 711# the `streams' device must be configured into any kernel which also 712# specifies COMPAT_SVR4. It is possible to have a statically-configured 713# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 714# script understands that it doesn't need to load the `streams' module under 715# those circumstances. 716# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 717# (whether static or dynamic). 718# 719options COMPAT_SVR4 # build emulator statically 720options DEBUG_SVR4 # enable verbose debugging 721device streams # STREAMS network driver (required for svr4). 722 723 724##################################################################### 725# VM OPTIONS 726 727# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 728# kernel to use 4 MByte pages to map the kernel instead of 4k pages. 729# This saves on the amount of memory needed for page tables needed to 730# map the kernel. You should only disable this feature as a temporary 731# workaround if you are having problems with it enabled. 732# 733#options DISABLE_PSE 734 735# Disable the global pages PGE CPU feature. The PGE feature allows pages 736# to be marked with the PG_G bit. TLB entries for these pages are not 737# flushed from the cache when %cr3 is reloaded. This can make context 738# switches less expensive. You should only disable this feature as a 739# temporary workaround if you are having problems with it enabled. 740# 741#options DISABLE_PG_G 742 743# KSTACK_PAGES is the number of memory pages to assign to the kernel 744# stack of each thread. 745 746options KSTACK_PAGES=3 747 748##################################################################### 749 750# More undocumented options for linting. 751# Note that documenting these are not considered an affront. 752 753options FB_INSTALL_CDEV # install a CDEV entry in /dev 754 755# PECOFF module (Win32 Execution Format) 756options PECOFF_SUPPORT 757options PECOFF_DEBUG 758 759options I4B_SMP_WORKAROUND 760options I586_PMC_GUPROF=0x70000 761options KBDIO_DEBUG=2 762options KBD_MAXRETRY=4 763options KBD_MAXWAIT=6 764options KBD_RESETDELAY=201 765 766options TIMER_FREQ=((14318182+6)/12) 767 768options VM_KMEM_SIZE 769options VM_KMEM_SIZE_MAX 770options VM_KMEM_SIZE_SCALE 771 772 773##################################################################### 774# Devices we don't want to deal with 775 776nodevice bt 777nodevice adw 778nodevice aha 779nodevice ahb 780nodevice ahd 781nodevice mpt 782nodevice trm 783nodevice wds 784nodevice dpt 785nodevice ciss 786nodevice iir 787nodevice mly 788nodevice ida # Compaq Smart RAID 789nodevice mlx # Mylex DAC960 790nodevice amr # AMI MegaRAID 791nodevice twe # 3ware ATA RAID 792nodevice ataraid 793nodevice cm 794nodevice ex 795nodevice fea 796nodevice intpm 797nodevice alpm 798nodevice ichsmb 799nodevice viapm 800nodevice amdpm 801nodevice amdsmb 802nodevice nfpm 803nodevice nfsmb 804 805 806##################################################################### 807# Options we don't want to deal with 808 809nooption AHD_DEBUG 810nooption AHD_DEBUG_OPTS 811nooption AHD_REG_PRETTY_PRINT 812nooption ADW_ALLOW_MEMIO 813nooption DPT_LOST_IRQ 814nooption DPT_RESET_HBA 815nooption DPT_TIMEOUT_FACTOR 816nooption AAC_DEBUG 817 818 819##################################################################### 820# Make options we don't want to deal with 821