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