NOTES revision 160813
1111314Snyan# 2111314Snyan# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 3111314Snyan# 4111314Snyan# This file contains machine dependent kernel configuration notes. For 5111314Snyan# machine independent notes, look in /sys/conf/NOTES. 6111314Snyan# 7111314Snyan# $FreeBSD: head/sys/pc98/conf/NOTES 160813 2006-07-29 18:38:54Z marcel $ 8111314Snyan# 9111314Snyan 10111314Snyanoptions PC98 11111314Snyan 12125234Snyan# 13127520Snyan# We want LINT to cover profiling as well. 14111314Snyanprofile 2 15111314Snyan 16111314Snyan 17111314Snyan##################################################################### 18111314Snyan# SMP OPTIONS: 19111314Snyan# 20122755Snyan# The apic device enables the use of the I/O APIC for interrupt delivery. 21122755Snyan# The apic device can be used in both UP and SMP kernels, but is required 22122755Snyan# for SMP kernels. Thus, the apic device is not strictly an SMP option, 23122755Snyan# but it is a prerequisite for SMP. 24111314Snyan# 25111314Snyan 26111314Snyan# Mandatory: 27122056Snyandevice apic # I/O apic 28124795Snyan 29142783Snyan# 30142783Snyan# Watchdog routines. 31142783Snyan# 32142783Snyanoptions MP_WATCHDOG 33142783Snyan 34145743Snyan# Debugging options. 35145743Snyan# 36151634Sjhboptions STOP_NMI # Stop CPUS using NMI instead of IPI 37145743Snyan 38145743Snyan 39111314Snyan 40111314Snyan##################################################################### 41111314Snyan# CPU OPTIONS 42111314Snyan 43111314Snyan# 44111314Snyan# You must specify at least one CPU (the one you intend to run on); 45111314Snyan# deleting the specification for CPUs you don't need to use may make 46111314Snyan# parts of the system run faster. 47111314Snyan# 48111314Snyancpu I486_CPU 49111314Snyancpu I586_CPU # aka Pentium(tm) 50111314Snyancpu I686_CPU # aka Pentium Pro(tm) 51111314Snyan 52111314Snyan# 53111314Snyan# Options for CPU features. 54111314Snyan# 55124795Snyan# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 56124795Snyan# CPU if CPU supports it. The default is double-clock mode on 57124795Snyan# BlueLightning CPU box. 58124795Snyan# 59111314Snyan# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 60111314Snyan# BlueLightning CPU. It works only with Cyrix FPU, and this option 61111314Snyan# should not be used with Intel FPU. 62111314Snyan# 63111314Snyan# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 64111314Snyan# 65111314Snyan# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 66111314Snyan# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 67111314Snyan# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 68111314Snyan# 69124795Snyan# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 70124795Snyan# mapped mode. Default is 2-way set associative mode. 71124795Snyan# 72127520Snyan# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables 73111314Snyan# reorder). This option should not be used if you use memory mapped 74111314Snyan# I/O device(s). 75111314Snyan# 76125234Snyan# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 77137526Snyan# machines. VmWare 3.x seems to emulate this instruction poorly, causing 78137526Snyan# the guest OS to run very slowly. This problem appears to be fixed in 79137526Snyan# VmWare 4.x, at least in version 4.5.2, so that enabling this option with 80137526Snyan# VmWare 4.x will result in locking operations to be 20-30 times slower. 81137526Snyan# Enabling this with an SMP kernel will cause the kernel to be unusable. 82124795Snyan# 83127520Snyan# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE. 84124795Snyan# 85111314Snyan# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 86111314Snyan# 87111314Snyan# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 88111314Snyan# for i386 machines. 89111314Snyan# 90111314Snyan# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 91111314Snyan# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 92111314Snyan# (no clock delay). 93111314Snyan# 94125234Snyan# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used 95111314Snyan# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 96111314Snyan# The default value is 5. 97111314Snyan# 98111314Snyan# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 99111314Snyan# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 100111314Snyan# 1). 101111314Snyan# 102111314Snyan# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 103111314Snyan# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 104111314Snyan# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 105111314Snyan# 106111314Snyan# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 107111314Snyan# 108111314Snyan# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 109111314Snyan# enters suspend mode following execution of HALT instruction. 110111314Snyan# 111111314Snyan# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 112111314Snyan# 113111314Snyan# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 114125234Snyan# K5/K6/K6-2 CPUs. 115111314Snyan# 116111314Snyan# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 117111314Snyan# flush at hold state. 118111314Snyan# 119111314Snyan# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 120111314Snyan# without cache flush at hold state, and (2) write-back CPU cache on 121111314Snyan# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 122111314Snyan# 123111314Snyan# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 124111314Snyan# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 125111314Snyan# executed. This option is only needed if I586_CPU is also defined, 126111314Snyan# and should be included for any non-Pentium CPU that defines it. 127111314Snyan# 128111314Snyan# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 129111314Snyan# which indicates that the 15-16MB range is *definitely* not being 130111314Snyan# occupied by an ISA memory hole. 131111314Snyan# 132111314Snyan# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 133111314Snyan# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 134111314Snyan# These options may crash your system. 135111314Snyan# 136111314Snyan# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 137111314Snyan# in write-through mode when revision < 2.7. If revision of Cyrix 138111314Snyan# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 139111314Snyan# 140111314Snyan# NOTE 3: This option may cause failures for software that requires 141111314Snyan# locked cycles in order to operate correctly. 142111314Snyan# 143124795Snyanoptions CPU_BLUELIGHTNING_3X 144111314Snyanoptions CPU_BLUELIGHTNING_FPU_OP_CACHE 145111314Snyanoptions CPU_BTB_EN 146111314Snyanoptions CPU_DIRECT_MAPPED_CACHE 147111314Snyanoptions CPU_DISABLE_5X86_LSSER 148124795Snyanoptions CPU_DISABLE_CMPXCHG 149124795Snyan#options CPU_DISABLE_SSE 150111314Snyanoptions CPU_FASTER_5X86_FPU 151111314Snyanoptions CPU_I486_ON_386 152111314Snyanoptions CPU_IORT 153111314Snyanoptions CPU_L2_LATENCY=5 154111314Snyanoptions CPU_LOOP_EN 155111314Snyanoptions CPU_PPRO2CELERON 156111314Snyanoptions CPU_RSTK_EN 157111314Snyanoptions CPU_SUSP_HLT 158111314Snyanoptions CPU_UPGRADE_HW_CACHE 159111314Snyanoptions CPU_WT_ALLOC 160111314Snyanoptions CYRIX_CACHE_WORKS 161111314Snyanoptions CYRIX_CACHE_REALLY_WORKS 162111314Snyan#options NO_F00F_HACK 163111314Snyan 164111314Snyan# Debug options 165124795Snyanoptions NPX_DEBUG # enable npx debugging 166111314Snyan 167111314Snyan# 168111314Snyan# PERFMON causes the driver for Pentium/Pentium Pro performance counters 169111314Snyan# to be compiled. See perfmon(4) for more information. 170111314Snyan# 171111314Snyanoptions PERFMON 172111314Snyan 173111314Snyan 174111314Snyan##################################################################### 175111314Snyan# NETWORKING OPTIONS 176111314Snyan 177111314Snyan# 178111314Snyan# DEVICE_POLLING adds support for mixed interrupt-polling handling 179111314Snyan# of network device drivers, which has significant benefits in terms 180111314Snyan# of robustness to overloads and responsivity, as well as permitting 181111314Snyan# accurate scheduling of the CPU time between kernel network processing 182124795Snyan# and other activities. The drawback is a moderate (up to 1/HZ seconds) 183111314Snyan# potential increase in response times. 184111314Snyan# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 185111314Snyan# to achieve smoother behaviour. 186151051Sglebius# Additionally, you can enable/disable polling at runtime with help of 187151051Sglebius# the ifconfig(8) utility, and select the CPU fraction reserved to 188151051Sglebius# userland with the sysctl variable kern.polling.user_frac 189151051Sglebius# (default 50, range 0..100). 190111314Snyan# 191124408Snyan# Not all device drivers support this mode of operation at the time of 192124408Snyan# this writing. See polling(4) for more details. 193111314Snyan 194111314Snyanoptions DEVICE_POLLING 195111314Snyan 196111314Snyan 197111314Snyan##################################################################### 198111314Snyan# CLOCK OPTIONS 199111314Snyan 200111314Snyan# The following options are used for debugging clock behavior only, and 201111314Snyan# should not be used for production systems. 202111314Snyan 203123984Sbde# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at 204123984Sbde# startup until the user presses a key. (The i8254 clock is always 205123984Sbde# calibrated relative to the RTC (mc146818a) and this option causes the 206123984Sbde# calibration to be repeated.) 207111314Snyanoptions CLK_CALIBRATION_LOOP 208111314Snyan 209123984Sbde# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254 210123984Sbde# clock to actually be used. 211111314Snyanoptions CLK_USE_I8254_CALIBRATION 212111314Snyan 213111314Snyan 214111314Snyan##################################################################### 215111314Snyan# MISCELLANEOUS DEVICES AND OPTIONS 216111314Snyan 217160813Smarcel# 218160813Smarcel# sio: serial ports (see sio(4)), including support for various 219160813Smarcel# PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf) 220160813Smarcel# 221160813Smarceldevice sio 222160813Smarcelhint.sio.0.at="isa" 223160813Smarcelhint.sio.0.port="0x3F8" 224160813Smarcelhint.sio.0.flags="0x10" 225160813Smarcelhint.sio.0.irq="4" 226160813Smarcel 227160813Smarcel# `flags' specific to sio(4). 228160813Smarcel# 0x10 enable console support for this unit. Other console flags 229160813Smarcel# (if applicable) are ignored unless this is set. Enabling 230160813Smarcel# console support does not make the unit the preferred console. 231160813Smarcel# Boot with -h or set boot_serial=YES in the loader. For sio(4) 232160813Smarcel# specifically, the 0x20 flag can also be set (see above). 233160813Smarcel# Currently, at most one unit can have console support; the 234160813Smarcel# first one (in config file order) with this flag set is 235160813Smarcel# preferred. Setting this flag for sio0 gives the old behaviour. 236160813Smarcel# 0x20 force this unit to be the console (unless there is another 237160813Smarcel# higher priority console). This replaces the COMCONSOLE option. 238160813Smarcel# 0x40 reserve this unit for low level console operations. Do not 239160813Smarcel# access the device in any normal way. 240160813Smarcel# 0x80 use this port for serial line gdb support in ddb. Also known 241160813Smarcel# as debug port. 242160813Smarcel# PnP `flags' 243160813Smarcel# 0x1 disable probing of this device. Used to prevent your modem 244160813Smarcel# from being attached as a PnP modem. 245160813Smarcel# Other flags for sio that aren't documented in the man page. 246160813Smarcel# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 247160813Smarcel# ST16650A-compatible UARTs. 248160813Smarcel 249160813Smarcel# Options for sio: 250160813Smarceloptions COM_ESP # Code for Hayes ESP. 251160813Smarceloptions COM_MULTIPORT # Code for some cards with shared IRQs. 252160813Smarceloptions CONSPEED=115200 # Speed for serial console 253160813Smarcel # (default 9600). 254160813Smarcel 255111314Snyandevice speaker #Play IBM BASIC-style noises out your speaker 256111314Snyanhint.speaker.0.at="isa" 257111314Snyanhint.speaker.0.port="0x35" 258124795Snyandevice gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! 259111314Snyandevice apm_saver # Requires APM 260111314Snyan 261111314Snyan 262111314Snyan##################################################################### 263111314Snyan# HARDWARE BUS CONFIGURATION 264111314Snyan 265111314Snyan# 266111314Snyan# ISA bus 267111314Snyan# 268111314Snyandevice isa 269111314Snyan 270111314Snyan# 271111314Snyan# Options for `isa': 272111314Snyan# 273111314Snyan# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 274111314Snyan# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 275111314Snyan# This option breaks suspend/resume on some portables. 276111314Snyan# 277111314Snyan# MAXMEM specifies the amount of RAM on the machine; if this is not 278111314Snyan# specified, FreeBSD will first read the amount of memory from the CMOS 279111314Snyan# RAM, so the amount of memory will initially be limited to 64MB or 16MB 280111314Snyan# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 281111314Snyan# then attempt to detect the installed amount of RAM. If this probe 282111314Snyan# fails to detect >64MB RAM you will have to use the MAXMEM option. 283111314Snyan# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 284111314Snyan# be 131072 (128 * 1024). 285111314Snyan# 286111314Snyan# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 287111314Snyan# reset the CPU for reboot. This is needed on some systems with broken 288111314Snyan# keyboard controllers. 289111314Snyan 290111314Snyanoptions AUTO_EOI_1 291111314Snyan 292111314Snyanoptions MAXMEM=(128*1024) 293111314Snyan#options BROKEN_KEYBOARD_RESET 294111314Snyanoptions EPSON_BOUNCEDMA 295111314Snyanoptions EPSON_MEMWIN 296111314Snyan 297111314Snyan# 298111314Snyan# PCI bus & PCI options: 299111314Snyan# 300111314Snyandevice pci 301111314Snyan 302111314Snyan# 303111314Snyan# AGP GART support 304111314Snyandevice agp 305111314Snyan 306111314Snyan 307111314Snyan##################################################################### 308111314Snyan# HARDWARE DEVICE CONFIGURATION 309111314Snyan 310111314Snyan# PC98 keyboard 311111314Snyandevice pckbd 312111314Snyanhint.pckbd.0.at="isa" 313111314Snyanhint.pckbd.0.port="0x041" 314111314Snyanhint.pckbd.0.irq="1" 315111314Snyan 316111314Snyan# These options are valid for other keyboard drivers as well. 317111314Snyanoptions KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 318111314Snyanoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 319111314Snyan 320111314Snyan# GDC screen 321111314Snyandevice gdc 322111314Snyanhint.gdc.0.at="isa" 323111314Snyanoptions LINE30 324111314Snyan 325111314Snyan# 326131815Snyan# The Numeric Processing eXtension driver. This is non-optional. 327111314Snyandevice npx 328111314Snyan 329111314Snyan# 330111314Snyan# `flags' for npx0: 331111314Snyan# 0x01 don't use the npx registers to optimize bcopy. 332111314Snyan# 0x02 don't use the npx registers to optimize bzero. 333111314Snyan# 0x04 don't use the npx registers to optimize copyin or copyout. 334111314Snyan# The npx registers are normally used to optimize copying and zeroing when 335111314Snyan# all of the following conditions are satisfied: 336111314Snyan# I586_CPU is an option 337111314Snyan# the cpu is an i586 (perhaps not a Pentium) 338111314Snyan# the probe for npx0 succeeds 339111314Snyan# INT 16 exception handling works. 340111314Snyan# Then copying and zeroing using the npx registers is normally 30-100% faster. 341111314Snyan# The flags can be used to control cases where it doesn't work or is slower. 342140371Sru# Setting them at boot time using hints works right (the optimizations 343111314Snyan# are not used until later in the bootstrap when npx0 is attached). 344111314Snyan# Flag 0x08 automatically disables the i586 optimized routines. 345111314Snyan# 346111314Snyan 347111314Snyan# 348111314Snyan# Optional devices: 349111314Snyan# 350111314Snyan 351124795Snyan# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 352124795Snyan# the /dev/3dfx0 device to work with glide implementations. This should get 353124795Snyan# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 354111314Snyan# the tdfx DRI module from XFree86 and is completely unrelated. 355111314Snyan# 356111314Snyan# To enable Linuxulator support, one must also include COMPAT_LINUX in the 357156272Snyan# config as well. The other option is to load both as modules. 358111314Snyan 359126708Snyandevice tdfx # Enable 3Dfx Voodoo support 360156272Snyandevice tdfx_linux # Enable Linuxulator support 361111314Snyan 362145183Snyan# Direct Rendering modules for 3D acceleration. 363145183Snyandevice drm # DRM core module required by DRM drivers 364145183Snyandevice mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL 365145183Snyandevice mgadrm # AGP Matrox G200, G400, G450, G550 366145183Snyandevice r128drm # ATI Rage 128 367148235Snyandevice radeondrm # ATI Radeon 368152952Snyandevice savagedrm # S3 Savage3D, Savage4 369145183Snyandevice sisdrm # SiS 300/305, 540, 630 370145183Snyandevice tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee 371145183Snyanoptions DRM_DEBUG # Include debug printfs (slow) 372111314Snyan 373111314Snyan# 374111314Snyan# Bus mouse 375111314Snyan# 376111314Snyandevice mse 377111314Snyanhint.mse.0.at="isa" 378111314Snyanhint.mse.0.port="0x7fd9" 379111314Snyanhint.mse.0.irq="13" 380111314Snyan 381111314Snyan# 382111314Snyan# Network interfaces: 383111314Snyan# 384111314Snyan 385111314Snyan# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 386111314Snyan# (requires sppp) 387158357Snyan# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan) 388155215Snyan# ce: Cronyx Tau-PCI/32 sync single/dual port G.703/E1 serial adaptor 389155215Snyan# with 32 HDLC subchannels (requires sppp (default), or NETGRAPH if 390155215Snyan# NETGRAPH_CRONYX is configured) 391129384Snyan# cp: Cronyx Tau-PCI sync single/dual/four port 392129384Snyan# V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1 393129384Snyan# serial adaptor (requires sppp (default), or NETGRAPH if 394129384Snyan# NETGRAPH_CRONYX is configured) 395153581Simp# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters and pccard 396111314Snyan# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 397150555Simp# HP PC Lan+, various PC Card devices 398111314Snyan# (requires miibus) 399111314Snyan# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 400111314Snyan# Intel EtherExpress 401126708Snyan# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133. 402111314Snyan# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 403126708Snyan# OC-3141, OC-3540 and OC-3250. 404159549Sjhb# ral: Ralink Technology IEEE 802.11 wireless adapter 405126708Snyan# sbni: Granch SBNI12-xx ISA and PCI adapters 406111314Snyan# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 407159549Sjhb# ural: Ralink Technology RT2500USB IEEE 802.11 wireless adapter 408111314Snyan 409111314Snyan# Order for ISA/EISA devices is important here 410111314Snyan 411111314Snyandevice ar 412155215Snyandevice ce 413129384Snyandevice cp 414153581Simpdevice cs 415111314Snyandevice ed 416111314Snyanhint.ed.0.at="isa" 417111314Snyanhint.ed.0.port="0x280" 418111314Snyanhint.ed.0.irq="5" 419111314Snyanhint.ed.0.maddr="0xd8000" 420112840Smdodddevice ie # Hints only required for Starlan 421112840Smdoddhint.ie.2.at="isa" 422112840Smdoddhint.ie.2.port="0x300" 423112840Smdoddhint.ie.2.irq="5" 424112840Smdoddhint.ie.2.maddr="0xd0000" 425158712Smarius# Hint for the PC98-only C-NET(98)S C-bus front-end of le(4). 426158712Smariushint.le.0.at="isa" 427158712Smariushint.le.0.port="0x03d0" 428158712Smariushint.le.0.irq="6" 429159549Sjhbdevice oltr 430159549Sjhbdevice ral 431111314Snyandevice sbni 432111314Snyanhint.sbni.0.at="isa" 433111314Snyanhint.sbni.0.port="0x210" 434111314Snyanhint.sbni.0.irq="0xefdead" 435111314Snyanhint.sbni.0.flags="0" 436111314Snyandevice snc 437111314Snyanhint.snc.0.at="isa" 438111314Snyanhint.snc.0.port="0x888" 439111314Snyanhint.snc.0.irq="6" 440111314Snyanhint.snc.0.maddr="0xc0000" 441111314Snyandevice sr 442159549Sjhbdevice ural 443111314Snyan 444158357Snyandevice ath 445158357Snyandevice ath_hal # Atheros HAL (includes binary component) 446158357Snyan#device ath_rate_amrr # AMRR rate control for ath driver 447158357Snyan#device ath_rate_onoe # Onoe rate control for ath driver 448158357Snyandevice ath_rate_sample # SampleRate rate control for the ath driver 449158357Snyan#device wlan # 802.11 layer 450158357Snyan 451125234Snyan# 452111314Snyan# SCSI host adapters: 453125234Snyan# 454111314Snyan# ct: WD33C93[ABC] based SCSI host adapters. 455111314Snyan# ncv: NCR 53C500 based SCSI host adapters. 456111314Snyan# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 457111314Snyan# stg: TMC 18C30, 18C50 based SCSI host adapters. 458111314Snyan 459111314Snyandevice ct 460111314Snyanhint.ct.0.at="isa" 461126708Snyandevice ncv 462126708Snyandevice nsp 463126708Snyandevice stg 464111314Snyan 465111314Snyan# 466117918Snyan# SafeNet crypto driver: can be moved to the MI NOTES as soon as 467117918Snyan# it's tested on a big-endian machine 468117918Snyan# 469117918Snyandevice safe # SafeNet 1141 470142783Snyanoptions SAFE_DEBUG # enable debugging support: hw.safe.debug 471142783Snyanoptions SAFE_RNDTEST # enable rndtest support 472117918Snyan 473117918Snyan##################################################################### 474117918Snyan 475117918Snyan# 476111314Snyan# Miscellaneous hardware: 477111314Snyan# 478111314Snyan# apm: Laptop Advanced Power Management (experimental) 479111314Snyan# pmtimer: Timer device driver for power management events (APM or ACPI) 480124795Snyan# cy: Cyclades serial driver 481111314Snyan# digi: Digiboard driver 482111314Snyan 483111314Snyan# Notes on APM 484111314Snyan# The flags takes the following meaning for apm0: 485111314Snyan# 0x0020 Statclock is broken. 486111314Snyan 487111314Snyandevice apm 488111314Snyanhint.apm.0.flags="0x20" 489111314Snyandevice canbus 490111314Snyandevice canbepm 491128876Sbdedevice cy 492127945Snyanoptions CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 493111314Snyandevice digi 494111314Snyan# BIOS & FEP/OS components of device digi. 495111314Snyandevice digi_CX 496111314Snyandevice digi_CX_PCI 497111314Snyandevice digi_EPCX 498111314Snyandevice digi_EPCX_PCI 499111314Snyandevice digi_Xe 500111314Snyandevice digi_Xem 501111314Snyandevice digi_Xr 502124795Snyandevice olpt 503124795Snyanhint.olpt.0.at="isa" 504124795Snyanhint.olpt.0.port="0x040" 505128221Simpdevice pmc 506128221Simphint.pmc.0.at="isa" 507128221Simphint.pmc.0.port="0x8f0" 508128221Simpdevice pmtimer # Adjust system timer at wakeup time 509111314Snyan 510111314Snyan# 511111314Snyan# Laptop/Notebook options: 512111314Snyan# 513111314Snyan# See also: 514111314Snyan# apm under `Miscellaneous hardware' 515111314Snyan# above. 516111314Snyan 517111314Snyan# For older notebooks that signal a powerfail condition (external 518111314Snyan# power supply dropped, or battery state low) by issuing an NMI: 519111314Snyan 520111314Snyanoptions POWERFAIL_NMI # make it beep instead of panicing 521111314Snyan 522111314Snyan#--------------------------------------------------------------------------- 523111314Snyan# ISDN4BSD 524111314Snyan# 525111314Snyan# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 526111314Snyan# 527111314Snyan# i4b passive ISDN cards support contains the following hardware drivers: 528111314Snyan# 529111314Snyan# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 530111314Snyan# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 531111314Snyan# ifpi - AVM Fritz!Card PCI driver 532111314Snyan# ifpi2 - AVM Fritz!Card PCI version 2 driver 533111314Snyan# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 534125234Snyan# ifpnp - AVM Fritz!Card PnP driver 535111314Snyan# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 536111314Snyan# 537111314Snyan# i4b active ISDN cards support contains the following hardware drivers: 538111314Snyan# 539111314Snyan# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 540111314Snyan# 541111314Snyan# Note that the ``options'' (if given) and ``device'' lines must BOTH 542111314Snyan# be uncommented to enable support for a given card ! 543111314Snyan# 544111314Snyan# In addition to a hardware driver (and probably an option) the mandatory 545125234Snyan# ISDN protocol stack devices and the mandatory support device must be 546111314Snyan# enabled as well as one or more devices from the optional devices section. 547111314Snyan# 548111314Snyan#--------------------------------------------------------------------------- 549111314Snyan# isic driver (Siemens/Infineon chipsets) 550111314Snyan# 551111314Snyandevice isic 552111314Snyan# 553111314Snyan# PCI bus Cards: 554111314Snyan# -------------- 555111314Snyan# 556111314Snyan# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 557111314Snyanoptions ELSA_QS1PCI 558111314Snyan# 559111314Snyan#--------------------------------------------------------------------------- 560111314Snyan# ifpnp driver for AVM Fritz!Card PnP 561111314Snyan# 562111314Snyan# AVM Fritz!Card PnP 563126708Snyandevice ifpnp 564111314Snyan# 565111314Snyan#--------------------------------------------------------------------------- 566111314Snyan# ihfc driver for Cologne Chip ISA chipsets (experimental!) 567111314Snyan# 568111314Snyan# Teles 16.3c ISA PnP 569111314Snyan# AcerISDN P10 ISA PnP 570111314Snyan# TELEINT ISDN SPEED No.1 571126708Snyandevice ihfc 572111314Snyan# 573111314Snyan#--------------------------------------------------------------------------- 574111314Snyan# ifpi driver for AVM Fritz!Card PCI 575111314Snyan# 576111314Snyan# AVM Fritz!Card PCI 577126708Snyandevice ifpi 578111314Snyan# 579111314Snyan#--------------------------------------------------------------------------- 580111314Snyan# ifpi2 driver for AVM Fritz!Card PCI version 2 581111314Snyan# 582111314Snyan# AVM Fritz!Card PCI version 2 583134634Srudevice ifpi2 584111314Snyan# 585111314Snyan#--------------------------------------------------------------------------- 586111314Snyan# iwic driver for Winbond W6692 chipset 587111314Snyan# 588111314Snyan# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 589126708Snyandevice iwic 590111314Snyan# 591111314Snyan#--------------------------------------------------------------------------- 592125234Snyan# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset 593111314Snyan# 594111314Snyan# Traverse Technologies NETjet-S 595111314Snyan# Teles PCI-TJ 596126708Snyandevice itjc 597111314Snyan# 598111314Snyan#--------------------------------------------------------------------------- 599111314Snyan# iavc driver (AVM active cards, needs i4bcapi driver!) 600111314Snyan# 601126708Snyandevice iavc 602111314Snyan# 603111314Snyan#--------------------------------------------------------------------------- 604111314Snyan# ISDN Protocol Stack - mandatory for all hardware drivers 605111314Snyan# 606111314Snyan# Q.921 / layer 2 - i4b passive cards D channel handling 607134634Srudevice i4bq921 608111314Snyan# 609111314Snyan# Q.931 / layer 3 - i4b passive cards D channel handling 610134634Srudevice i4bq931 611111314Snyan# 612111314Snyan# layer 4 - i4b common passive and active card handling 613134634Srudevice i4b 614111314Snyan# 615111314Snyan#--------------------------------------------------------------------------- 616111314Snyan# ISDN devices - mandatory for all hardware drivers 617111314Snyan# 618111314Snyan# userland driver to do ISDN tracing (for passive cards only) 619134634Srudevice i4btrc 620142783Snyanoptions NI4BTRC=4 621111314Snyan# 622111314Snyan# userland driver to control the whole thing 623134634Srudevice i4bctl 624111314Snyan# 625111314Snyan#--------------------------------------------------------------------------- 626111314Snyan# ISDN devices - optional 627111314Snyan# 628111314Snyan# userland driver for access to raw B channel 629134634Srudevice i4brbch 630142783Snyanoptions NI4BRBCH=4 631111314Snyan# 632111314Snyan# userland driver for telephony 633134634Srudevice i4btel 634134634Sruoptions NI4BTEL=2 635111314Snyan# 636111314Snyan# network driver for IP over raw HDLC ISDN 637134634Srudevice i4bipr 638134634Sruoptions NI4BIPR=4 639111314Snyan# enable VJ header compression detection for ipr i/f 640111314Snyanoptions IPR_VJ 641111314Snyan# enable logging of the first n IP packets to isdnd (n=32 here) 642111314Snyanoptions IPR_LOG=32 643111314Snyan# 644111314Snyan# network driver for sync PPP over ISDN; requires an equivalent 645111314Snyan# number of sppp device to be configured 646134634Srudevice i4bisppp 647134634Sruoptions NI4BISPPP=4 648111314Snyan# 649111314Snyan# B-channel interface to the netgraph subsystem 650134634Srudevice i4bing 651142783Snyanoptions NI4BING=2 652111314Snyan# 653111314Snyan# CAPI driver needed for active ISDN cards (see iavc driver above) 654134634Srudevice i4bcapi 655111314Snyan# 656111314Snyan#--------------------------------------------------------------------------- 657111314Snyan 658111314Snyan# 659111314Snyan# Set the number of PV entries per process. Increasing this can 660124795Snyan# stop panics related to heavy use of shared memory. However, that can 661111314Snyan# (combined with large amounts of physical memory) cause panics at 662111314Snyan# boot time due the kernel running out of VM space. 663111314Snyan# 664111314Snyan# If you're tweaking this, you might also want to increase the sysctls 665111314Snyan# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 666111314Snyan# 667111314Snyan# The value below is the one more than the default. 668111314Snyan# 669111314Snyanoptions PMAP_SHPGPERPROC=201 670111314Snyan 671111314Snyan# 672111314Snyan# Change the size of the kernel virtual address space. Due to 673111314Snyan# constraints in loader(8) on i386, this must be a multiple of 4. 674111314Snyan# 256 = 1 GB of kernel address space. Increasing this also causes 675111314Snyan# a reduction of the address space in user processes. 512 splits 676111314Snyan# the 4GB cpu address space in half (2GB user, 2GB kernel). 677111314Snyan# 678111314Snyanoptions KVA_PAGES=260 679111314Snyan 680111314Snyan 681111314Snyan##################################################################### 682111314Snyan# ABI Emulation 683111314Snyan 684111314Snyan# Enable iBCS2 runtime support for SCO and ISC binaries 685111314Snyanoptions IBCS2 686111314Snyan 687111314Snyan# Emulate spx device for client side of SVR3 local X interface 688111314Snyanoptions SPX_HACK 689111314Snyan 690111314Snyan# Enable Linux ABI emulation 691111314Snyanoptions COMPAT_LINUX 692111314Snyan 693111314Snyan# Enable i386 a.out binary support 694111314Snyanoptions COMPAT_AOUT 695111314Snyan 696111314Snyan# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 697111314Snyan# and PSEUDOFS) 698111314Snyanoptions LINPROCFS 699111314Snyan 700158381Sambrisko# Enable the linux-like sys filesystem support (requires COMPAT_LINUX 701158381Sambrisko# and PSEUDOFS) 702158381Sambriskooptions LINSYSFS 703158381Sambrisko 704111314Snyan# 705111314Snyan# SysVR4 ABI emulation 706111314Snyan# 707111314Snyan# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 708125234Snyan# a KLD module. 709125234Snyan# The STREAMS network emulation code can also be compiled statically or as a 710111314Snyan# module. If loaded as a module, it must be loaded before the svr4 module 711111314Snyan# (the /usr/sbin/svr4 script does this for you). If compiling statically, 712111314Snyan# the `streams' device must be configured into any kernel which also 713125234Snyan# specifies COMPAT_SVR4. It is possible to have a statically-configured 714111314Snyan# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 715111314Snyan# script understands that it doesn't need to load the `streams' module under 716111314Snyan# those circumstances. 717111314Snyan# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 718125234Snyan# (whether static or dynamic). 719125234Snyan# 720111314Snyanoptions COMPAT_SVR4 # build emulator statically 721111314Snyanoptions DEBUG_SVR4 # enable verbose debugging 722111314Snyandevice streams # STREAMS network driver (required for svr4). 723111314Snyan 724111314Snyan 725111314Snyan##################################################################### 726111314Snyan# VM OPTIONS 727111314Snyan 728111314Snyan# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 729130596Snyan# kernel to use 4 MByte pages to map the kernel instead of 4k pages. 730111314Snyan# This saves on the amount of memory needed for page tables needed to 731111314Snyan# map the kernel. You should only disable this feature as a temporary 732111314Snyan# workaround if you are having problems with it enabled. 733111314Snyan# 734111314Snyan#options DISABLE_PSE 735111314Snyan 736111314Snyan# Disable the global pages PGE CPU feature. The PGE feature allows pages 737111314Snyan# to be marked with the PG_G bit. TLB entries for these pages are not 738111314Snyan# flushed from the cache when %cr3 is reloaded. This can make context 739111314Snyan# switches less expensive. You should only disable this feature as a 740111314Snyan# temporary workaround if you are having problems with it enabled. 741111314Snyan# 742111314Snyan#options DISABLE_PG_G 743111314Snyan 744111314Snyan# KSTACK_PAGES is the number of memory pages to assign to the kernel 745111314Snyan# stack of each thread. 746111314Snyan 747111314Snyanoptions KSTACK_PAGES=3 748111314Snyan 749111314Snyan##################################################################### 750111314Snyan 751111314Snyan# More undocumented options for linting. 752111314Snyan# Note that documenting these are not considered an affront. 753111314Snyan 754111314Snyanoptions FB_INSTALL_CDEV # install a CDEV entry in /dev 755111314Snyan 756111314Snyan# PECOFF module (Win32 Execution Format) 757111314Snyanoptions PECOFF_SUPPORT 758111314Snyanoptions PECOFF_DEBUG 759111314Snyan 760111314Snyanoptions I4B_SMP_WORKAROUND 761111314Snyanoptions I586_PMC_GUPROF=0x70000 762111314Snyanoptions KBDIO_DEBUG=2 763111314Snyanoptions KBD_MAXRETRY=4 764111314Snyanoptions KBD_MAXWAIT=6 765111314Snyanoptions KBD_RESETDELAY=201 766111314Snyan 767111314Snyanoptions TIMER_FREQ=((14318182+6)/12) 768111314Snyan 769111314Snyanoptions VM_KMEM_SIZE 770111314Snyanoptions VM_KMEM_SIZE_MAX 771111314Snyanoptions VM_KMEM_SIZE_SCALE 772111314Snyan 773111500Sobrien 774132960Snyan# The I/O device 775132960Snyandevice io 776132960Snyan 777132960Snyan 778111500Sobrien##################################################################### 779111500Sobrien# Devices we don't want to deal with 780111500Sobrien 781111500Sobriennodevice atkbdc 782111500Sobriennodevice atkbd 783111500Sobriennodevice psm 784111500Sobriennodevice vga 785116382Snyannodevice bt 786116382Snyannodevice adw 787111500Sobriennodevice aha 788116382Snyannodevice ahb 789116382Snyannodevice ahd 790116382Snyannodevice mpt 791116382Snyannodevice trm 792111500Sobriennodevice wds 793111500Sobriennodevice dpt 794111500Sobriennodevice ciss 795111500Sobriennodevice iir 796111500Sobriennodevice mly 797111500Sobriennodevice ida # Compaq Smart RAID 798111500Sobriennodevice mlx # Mylex DAC960 799111500Sobriennodevice amr # AMI MegaRAID 800111500Sobriennodevice twe # 3ware ATA RAID 801125086Snyannodevice ataraid 802116382Snyannodevice cm 803116382Snyannodevice ex 804116382Snyannodevice fea 805116382Snyannodevice intpm 806116382Snyannodevice alpm 807116382Snyannodevice ichsmb 808116382Snyannodevice viapm 809116382Snyannodevice amdpm 810153643Snyannodevice amdsmb 811116382Snyannodevice nfpm 812153643Snyannodevice nfsmb 813111582Sru 814111582Sru 815111582Sru##################################################################### 816111582Sru# Options we don't want to deal with 817111582Sru 818111582Srunooption VGA_DEBUG 819111582Srunooption VGA_WIDTH90 820111582Srunooption VGA_SLOW_IOACCESS 821111582Srunooption VGA_ALT_SEQACCESS 822111582Srunooption PSM_RESETAFTERSUSPEND 823111582Srunooption PSM_HOOKRESUME 824111582Srunooption ATKBD_DFLT_KEYMAP 825116382Snyannooption AHD_DEBUG 826116382Snyannooption AHD_DEBUG_OPTS 827116382Snyannooption AHD_REG_PRETTY_PRINT 828116382Snyannooption ADW_ALLOW_MEMIO 829111582Srunooption DPT_LOST_IRQ 830111582Srunooption DPT_RESET_HBA 831111582Srunooption DPT_TIMEOUT_FACTOR 832116382Snyannooption AAC_DEBUG 833116382Snyannooption ACPI_MAX_THREADS 834111582Sru 835111582Sru 836111582Sru##################################################################### 837111582Sru# Make options we don't want to deal with 838111582Sru 839111582Srunomakeoption ATKBD_DFLT_KEYMAP 840