NOTES revision 145743
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 145743 2005-05-01 04:00:12Z nyan $ 8111314Snyan# 9111314Snyan 10111314Snyan# 11111314Snyan# This directive is mandatory; it defines the architecture to be 12111314Snyan# configured for; in this case, the 386 family based PC-98 and 13111314Snyan# compatibles. 14111314Snyan# 15144512Simpmachine pc98 i386 16111314Snyanoptions PC98 17111314Snyan 18125234Snyan# 19127520Snyan# We want LINT to cover profiling as well. 20111314Snyanprofile 2 21111314Snyan 22111314Snyan 23111314Snyan##################################################################### 24111314Snyan# SMP OPTIONS: 25111314Snyan# 26122755Snyan# The apic device enables the use of the I/O APIC for interrupt delivery. 27122755Snyan# The apic device can be used in both UP and SMP kernels, but is required 28122755Snyan# for SMP kernels. Thus, the apic device is not strictly an SMP option, 29122755Snyan# but it is a prerequisite for SMP. 30111314Snyan# 31111314Snyan 32111314Snyan# Mandatory: 33122056Snyandevice apic # I/O apic 34124795Snyan 35142783Snyan# 36142783Snyan# Watchdog routines. 37142783Snyan# 38142783Snyanoptions MP_WATCHDOG 39142783Snyan 40145743Snyan# Debugging options. 41145743Snyan# 42145743Snyanoptions KDB_STOP_NMI # Stop CPUS using NMI instead of IPI 43145743Snyan 44145743Snyan 45111314Snyan 46111314Snyan##################################################################### 47111314Snyan# CPU OPTIONS 48111314Snyan 49111314Snyan# 50111314Snyan# You must specify at least one CPU (the one you intend to run on); 51111314Snyan# deleting the specification for CPUs you don't need to use may make 52111314Snyan# parts of the system run faster. 53111314Snyan# 54111314Snyancpu I486_CPU 55111314Snyancpu I586_CPU # aka Pentium(tm) 56111314Snyancpu I686_CPU # aka Pentium Pro(tm) 57111314Snyan 58111314Snyan# 59111314Snyan# Options for CPU features. 60111314Snyan# 61124795Snyan# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 62124795Snyan# CPU if CPU supports it. The default is double-clock mode on 63124795Snyan# BlueLightning CPU box. 64124795Snyan# 65111314Snyan# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 66111314Snyan# BlueLightning CPU. It works only with Cyrix FPU, and this option 67111314Snyan# should not be used with Intel FPU. 68111314Snyan# 69111314Snyan# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 70111314Snyan# 71111314Snyan# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 72111314Snyan# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 73111314Snyan# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 74111314Snyan# 75124795Snyan# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 76124795Snyan# mapped mode. Default is 2-way set associative mode. 77124795Snyan# 78127520Snyan# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables 79111314Snyan# reorder). This option should not be used if you use memory mapped 80111314Snyan# I/O device(s). 81111314Snyan# 82125234Snyan# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 83137526Snyan# machines. VmWare 3.x seems to emulate this instruction poorly, causing 84137526Snyan# the guest OS to run very slowly. This problem appears to be fixed in 85137526Snyan# VmWare 4.x, at least in version 4.5.2, so that enabling this option with 86137526Snyan# VmWare 4.x will result in locking operations to be 20-30 times slower. 87137526Snyan# Enabling this with an SMP kernel will cause the kernel to be unusable. 88124795Snyan# 89127520Snyan# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE. 90124795Snyan# 91111314Snyan# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default 92111314Snyan# on I686_CPU and above. 93111314Snyan# 94111314Snyan# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 95111314Snyan# 96111314Snyan# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 97111314Snyan# for i386 machines. 98111314Snyan# 99111314Snyan# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 100111314Snyan# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 101111314Snyan# (no clock delay). 102111314Snyan# 103125234Snyan# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used 104111314Snyan# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 105111314Snyan# The default value is 5. 106111314Snyan# 107111314Snyan# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 108111314Snyan# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 109111314Snyan# 1). 110111314Snyan# 111111314Snyan# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 112111314Snyan# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 113111314Snyan# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 114111314Snyan# 115111314Snyan# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 116111314Snyan# 117111314Snyan# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 118111314Snyan# enters suspend mode following execution of HALT instruction. 119111314Snyan# 120111314Snyan# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 121111314Snyan# 122111314Snyan# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 123125234Snyan# K5/K6/K6-2 CPUs. 124111314Snyan# 125111314Snyan# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 126111314Snyan# flush at hold state. 127111314Snyan# 128111314Snyan# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 129111314Snyan# without cache flush at hold state, and (2) write-back CPU cache on 130111314Snyan# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 131111314Snyan# 132111314Snyan# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 133111314Snyan# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 134111314Snyan# executed. This option is only needed if I586_CPU is also defined, 135111314Snyan# and should be included for any non-Pentium CPU that defines it. 136111314Snyan# 137111314Snyan# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 138111314Snyan# which indicates that the 15-16MB range is *definitely* not being 139111314Snyan# occupied by an ISA memory hole. 140111314Snyan# 141111314Snyan# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 142111314Snyan# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 143111314Snyan# These options may crash your system. 144111314Snyan# 145111314Snyan# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 146111314Snyan# in write-through mode when revision < 2.7. If revision of Cyrix 147111314Snyan# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 148111314Snyan# 149111314Snyan# NOTE 3: This option may cause failures for software that requires 150111314Snyan# locked cycles in order to operate correctly. 151111314Snyan# 152124795Snyanoptions CPU_BLUELIGHTNING_3X 153111314Snyanoptions CPU_BLUELIGHTNING_FPU_OP_CACHE 154111314Snyanoptions CPU_BTB_EN 155111314Snyanoptions CPU_DIRECT_MAPPED_CACHE 156111314Snyanoptions CPU_DISABLE_5X86_LSSER 157124795Snyanoptions CPU_DISABLE_CMPXCHG 158124795Snyan#options CPU_DISABLE_SSE 159111314Snyanoptions CPU_ENABLE_SSE 160111314Snyanoptions CPU_FASTER_5X86_FPU 161111314Snyanoptions CPU_I486_ON_386 162111314Snyanoptions CPU_IORT 163111314Snyanoptions CPU_L2_LATENCY=5 164111314Snyanoptions CPU_LOOP_EN 165111314Snyanoptions CPU_PPRO2CELERON 166111314Snyanoptions CPU_RSTK_EN 167111314Snyanoptions CPU_SUSP_HLT 168111314Snyanoptions CPU_UPGRADE_HW_CACHE 169111314Snyanoptions CPU_WT_ALLOC 170111314Snyanoptions CYRIX_CACHE_WORKS 171111314Snyanoptions CYRIX_CACHE_REALLY_WORKS 172111314Snyan#options NO_F00F_HACK 173111314Snyan 174111314Snyan# Debug options 175124795Snyanoptions NPX_DEBUG # enable npx debugging 176111314Snyan 177111314Snyan# 178111314Snyan# PERFMON causes the driver for Pentium/Pentium Pro performance counters 179111314Snyan# to be compiled. See perfmon(4) for more information. 180111314Snyan# 181111314Snyanoptions PERFMON 182111314Snyan 183111314Snyan 184111314Snyan##################################################################### 185111314Snyan# NETWORKING OPTIONS 186111314Snyan 187111314Snyan# 188111314Snyan# DEVICE_POLLING adds support for mixed interrupt-polling handling 189111314Snyan# of network device drivers, which has significant benefits in terms 190111314Snyan# of robustness to overloads and responsivity, as well as permitting 191111314Snyan# accurate scheduling of the CPU time between kernel network processing 192124795Snyan# and other activities. The drawback is a moderate (up to 1/HZ seconds) 193111314Snyan# potential increase in response times. 194111314Snyan# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 195111314Snyan# to achieve smoother behaviour. 196111314Snyan# Additionally, you can enable/disable polling at runtime with the 197111314Snyan# sysctl variable kern.polling.enable (defaults off), and select 198111314Snyan# the CPU fraction reserved to userland with the sysctl variable 199111314Snyan# kern.polling.user_frac (default 50, range 0..100). 200111314Snyan# 201124408Snyan# Not all device drivers support this mode of operation at the time of 202124408Snyan# this writing. See polling(4) for more details. 203111314Snyan 204111314Snyanoptions DEVICE_POLLING 205111314Snyan 206111314Snyan 207111314Snyan##################################################################### 208111314Snyan# CLOCK OPTIONS 209111314Snyan 210111314Snyan# The following options are used for debugging clock behavior only, and 211111314Snyan# should not be used for production systems. 212111314Snyan 213123984Sbde# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at 214123984Sbde# startup until the user presses a key. (The i8254 clock is always 215123984Sbde# calibrated relative to the RTC (mc146818a) and this option causes the 216123984Sbde# calibration to be repeated.) 217111314Snyanoptions CLK_CALIBRATION_LOOP 218111314Snyan 219123984Sbde# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254 220123984Sbde# clock to actually be used. 221111314Snyanoptions CLK_USE_I8254_CALIBRATION 222111314Snyan 223111314Snyan 224111314Snyan##################################################################### 225111314Snyan# MISCELLANEOUS DEVICES AND OPTIONS 226111314Snyan 227111314Snyandevice speaker #Play IBM BASIC-style noises out your speaker 228111314Snyanhint.speaker.0.at="isa" 229111314Snyanhint.speaker.0.port="0x35" 230124795Snyandevice gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! 231111314Snyandevice apm_saver # Requires APM 232111314Snyan 233111314Snyan 234111314Snyan##################################################################### 235111314Snyan# HARDWARE BUS CONFIGURATION 236111314Snyan 237111314Snyan# 238111314Snyan# ISA bus 239111314Snyan# 240111314Snyandevice isa 241111314Snyan 242111314Snyan# 243111314Snyan# Options for `isa': 244111314Snyan# 245111314Snyan# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 246111314Snyan# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 247111314Snyan# This option breaks suspend/resume on some portables. 248111314Snyan# 249111314Snyan# MAXMEM specifies the amount of RAM on the machine; if this is not 250111314Snyan# specified, FreeBSD will first read the amount of memory from the CMOS 251111314Snyan# RAM, so the amount of memory will initially be limited to 64MB or 16MB 252111314Snyan# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 253111314Snyan# then attempt to detect the installed amount of RAM. If this probe 254111314Snyan# fails to detect >64MB RAM you will have to use the MAXMEM option. 255111314Snyan# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 256111314Snyan# be 131072 (128 * 1024). 257111314Snyan# 258111314Snyan# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 259111314Snyan# reset the CPU for reboot. This is needed on some systems with broken 260111314Snyan# keyboard controllers. 261111314Snyan 262111314Snyanoptions AUTO_EOI_1 263111314Snyan 264111314Snyanoptions MAXMEM=(128*1024) 265111314Snyan#options BROKEN_KEYBOARD_RESET 266111314Snyanoptions EPSON_BOUNCEDMA 267111314Snyanoptions EPSON_MEMWIN 268111314Snyan 269111314Snyan# 270111314Snyan# PCI bus & PCI options: 271111314Snyan# 272111314Snyandevice pci 273111314Snyan 274111314Snyan# 275111314Snyan# AGP GART support 276111314Snyandevice agp 277111314Snyan 278111314Snyan 279111314Snyan##################################################################### 280111314Snyan# HARDWARE DEVICE CONFIGURATION 281111314Snyan 282111314Snyan# PC98 keyboard 283111314Snyandevice pckbd 284111314Snyanhint.pckbd.0.at="isa" 285111314Snyanhint.pckbd.0.port="0x041" 286111314Snyanhint.pckbd.0.irq="1" 287111314Snyan 288111314Snyan# These options are valid for other keyboard drivers as well. 289111314Snyanoptions KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 290111314Snyanoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 291111314Snyan 292111314Snyan# GDC screen 293111314Snyandevice gdc 294111314Snyanhint.gdc.0.at="isa" 295111314Snyanoptions LINE30 296111314Snyan 297111314Snyan# 298131815Snyan# The Numeric Processing eXtension driver. This is non-optional. 299111314Snyandevice npx 300111314Snyan 301111314Snyan# 302111314Snyan# `flags' for npx0: 303111314Snyan# 0x01 don't use the npx registers to optimize bcopy. 304111314Snyan# 0x02 don't use the npx registers to optimize bzero. 305111314Snyan# 0x04 don't use the npx registers to optimize copyin or copyout. 306111314Snyan# The npx registers are normally used to optimize copying and zeroing when 307111314Snyan# all of the following conditions are satisfied: 308111314Snyan# I586_CPU is an option 309111314Snyan# the cpu is an i586 (perhaps not a Pentium) 310111314Snyan# the probe for npx0 succeeds 311111314Snyan# INT 16 exception handling works. 312111314Snyan# Then copying and zeroing using the npx registers is normally 30-100% faster. 313111314Snyan# The flags can be used to control cases where it doesn't work or is slower. 314140371Sru# Setting them at boot time using hints works right (the optimizations 315111314Snyan# are not used until later in the bootstrap when npx0 is attached). 316111314Snyan# Flag 0x08 automatically disables the i586 optimized routines. 317111314Snyan# 318111314Snyan 319111314Snyan# 320111314Snyan# Optional devices: 321111314Snyan# 322111314Snyan 323124795Snyan# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 324124795Snyan# the /dev/3dfx0 device to work with glide implementations. This should get 325124795Snyan# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 326111314Snyan# the tdfx DRI module from XFree86 and is completely unrelated. 327111314Snyan# 328111314Snyan# To enable Linuxulator support, one must also include COMPAT_LINUX in the 329124795Snyan# config as well, or you will not have the dependencies. The other option 330111314Snyan# is to load both as modules. 331111314Snyan 332126708Snyandevice tdfx # Enable 3Dfx Voodoo support 333111314Snyanoptions TDFX_LINUX # Enable Linuxulator support 334111314Snyan 335145183Snyan# Direct Rendering modules for 3D acceleration. 336145183Snyandevice drm # DRM core module required by DRM drivers 337145183Snyandevice mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL 338145183Snyandevice mgadrm # AGP Matrox G200, G400, G450, G550 339145183Snyandevice r128drm # ATI Rage 128 340145183Snyandevice radeondrm # ATI Radeon up to 9200 341145183Snyandevice sisdrm # SiS 300/305, 540, 630 342145183Snyandevice tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee 343145183Snyanoptions DRM_DEBUG # Include debug printfs (slow) 344111314Snyan 345111314Snyan# 346111314Snyan# Bus mouse 347111314Snyan# 348111314Snyandevice mse 349111314Snyanhint.mse.0.at="isa" 350111314Snyanhint.mse.0.port="0x7fd9" 351111314Snyanhint.mse.0.irq="13" 352111314Snyan 353111314Snyan# 354111314Snyan# Network interfaces: 355111314Snyan# 356111314Snyan 357111314Snyan# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 358111314Snyan# (requires sppp) 359129384Snyan# cp: Cronyx Tau-PCI sync single/dual/four port 360129384Snyan# V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1 361129384Snyan# serial adaptor (requires sppp (default), or NETGRAPH if 362129384Snyan# NETGRAPH_CRONYX is configured) 363111314Snyan# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 364125234Snyan# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf) 365111314Snyan# (requires miibus) 366111314Snyan# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 367111314Snyan# Intel EtherExpress 368111314Snyan# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 369111314Snyan# Am79C960) 370126708Snyan# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133. 371111314Snyan# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 372126708Snyan# OC-3141, OC-3540 and OC-3250. 373126708Snyan# sbni: Granch SBNI12-xx ISA and PCI adapters 374111314Snyan# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 375111314Snyan 376111314Snyan# Order for ISA/EISA devices is important here 377111314Snyan 378111314Snyandevice ar 379129384Snyandevice cp 380111314Snyandevice ed 381111314Snyan#options ED_NO_MIIBUS # Disable ed miibus support 382111314Snyanhint.ed.0.at="isa" 383111314Snyanhint.ed.0.port="0x280" 384111314Snyanhint.ed.0.irq="5" 385111314Snyanhint.ed.0.maddr="0xd8000" 386112840Smdodddevice ie # Hints only required for Starlan 387112840Smdoddhint.ie.2.at="isa" 388112840Smdoddhint.ie.2.port="0x300" 389112840Smdoddhint.ie.2.irq="5" 390112840Smdoddhint.ie.2.maddr="0xd0000" 391111314Snyandevice lnc 392111314Snyanhint.lnc.0.at="isa" 393111314Snyanhint.lnc.0.port="0x280" 394111314Snyanhint.lnc.0.irq="10" 395111314Snyanhint.lnc.0.drq="0" 396111314Snyandevice sbni 397111314Snyanhint.sbni.0.at="isa" 398111314Snyanhint.sbni.0.port="0x210" 399111314Snyanhint.sbni.0.irq="0xefdead" 400111314Snyanhint.sbni.0.flags="0" 401111314Snyandevice snc 402111314Snyanhint.snc.0.at="isa" 403111314Snyanhint.snc.0.port="0x888" 404111314Snyanhint.snc.0.irq="6" 405111314Snyanhint.snc.0.maddr="0xc0000" 406111314Snyandevice sr 407111314Snyandevice oltr 408111314Snyan 409125234Snyan# 410111314Snyan# SCSI host adapters: 411125234Snyan# 412111314Snyan# ct: WD33C93[ABC] based SCSI host adapters. 413111314Snyan# ncv: NCR 53C500 based SCSI host adapters. 414111314Snyan# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 415111314Snyan# stg: TMC 18C30, 18C50 based SCSI host adapters. 416111314Snyan 417111314Snyandevice ct 418111314Snyanhint.ct.0.at="isa" 419126708Snyandevice ncv 420126708Snyandevice nsp 421126708Snyandevice stg 422111314Snyan 423111314Snyan# 424117918Snyan# SafeNet crypto driver: can be moved to the MI NOTES as soon as 425117918Snyan# it's tested on a big-endian machine 426117918Snyan# 427117918Snyandevice safe # SafeNet 1141 428142783Snyanoptions SAFE_DEBUG # enable debugging support: hw.safe.debug 429142783Snyanoptions SAFE_RNDTEST # enable rndtest support 430117918Snyan 431117918Snyan##################################################################### 432117918Snyan 433117918Snyan# 434111314Snyan# Miscellaneous hardware: 435111314Snyan# 436111314Snyan# apm: Laptop Advanced Power Management (experimental) 437111314Snyan# pmtimer: Timer device driver for power management events (APM or ACPI) 438124795Snyan# cy: Cyclades serial driver 439111314Snyan# digi: Digiboard driver 440111314Snyan 441111314Snyan# Notes on APM 442111314Snyan# The flags takes the following meaning for apm0: 443111314Snyan# 0x0020 Statclock is broken. 444111314Snyan 445111314Snyandevice apm 446111314Snyanhint.apm.0.flags="0x20" 447111314Snyandevice canbus 448111314Snyandevice canbepm 449128876Sbdedevice cy 450127945Snyanoptions CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 451111314Snyandevice digi 452111314Snyan# BIOS & FEP/OS components of device digi. 453111314Snyandevice digi_CX 454111314Snyandevice digi_CX_PCI 455111314Snyandevice digi_EPCX 456111314Snyandevice digi_EPCX_PCI 457111314Snyandevice digi_Xe 458111314Snyandevice digi_Xem 459111314Snyandevice digi_Xr 460124795Snyandevice olpt 461124795Snyanhint.olpt.0.at="isa" 462124795Snyanhint.olpt.0.port="0x040" 463128221Simpdevice pmc 464128221Simphint.pmc.0.at="isa" 465128221Simphint.pmc.0.port="0x8f0" 466128221Simpdevice pmtimer # Adjust system timer at wakeup time 467128221Simp# sx device is i386 and pc98 only at the moment. 468128221Simpdevice sx 469128221Simpoptions SX_DEBUG 470111314Snyan 471111314Snyan# 472111314Snyan# Laptop/Notebook options: 473111314Snyan# 474111314Snyan# See also: 475111314Snyan# apm under `Miscellaneous hardware' 476111314Snyan# above. 477111314Snyan 478111314Snyan# For older notebooks that signal a powerfail condition (external 479111314Snyan# power supply dropped, or battery state low) by issuing an NMI: 480111314Snyan 481111314Snyanoptions POWERFAIL_NMI # make it beep instead of panicing 482111314Snyan 483111314Snyan# 484111314Snyan# PC Card/PCMCIA 485111314Snyan# (OLDCARD) 486111314Snyan# 487111314Snyan# card: pccard slots 488111314Snyan# pcic: isa/pccard bridge 489111314Snyandevice pcic 490111314Snyanhint.pcic.0.at="isa" 491111314Snyan#hint.pcic.1.at="isa" 492132155Sdesdevice card 493111314Snyan 494111314Snyan#--------------------------------------------------------------------------- 495111314Snyan# ISDN4BSD 496111314Snyan# 497111314Snyan# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 498111314Snyan# 499111314Snyan# i4b passive ISDN cards support contains the following hardware drivers: 500111314Snyan# 501111314Snyan# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 502111314Snyan# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 503111314Snyan# ifpi - AVM Fritz!Card PCI driver 504111314Snyan# ifpi2 - AVM Fritz!Card PCI version 2 driver 505111314Snyan# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 506125234Snyan# ifpnp - AVM Fritz!Card PnP driver 507111314Snyan# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 508111314Snyan# 509111314Snyan# i4b active ISDN cards support contains the following hardware drivers: 510111314Snyan# 511111314Snyan# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 512111314Snyan# 513111314Snyan# Note that the ``options'' (if given) and ``device'' lines must BOTH 514111314Snyan# be uncommented to enable support for a given card ! 515111314Snyan# 516111314Snyan# In addition to a hardware driver (and probably an option) the mandatory 517125234Snyan# ISDN protocol stack devices and the mandatory support device must be 518111314Snyan# enabled as well as one or more devices from the optional devices section. 519111314Snyan# 520111314Snyan#--------------------------------------------------------------------------- 521111314Snyan# isic driver (Siemens/Infineon chipsets) 522111314Snyan# 523111314Snyandevice isic 524111314Snyan# 525111314Snyan# PCI bus Cards: 526111314Snyan# -------------- 527111314Snyan# 528111314Snyan# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 529111314Snyanoptions ELSA_QS1PCI 530111314Snyan# 531111314Snyan#--------------------------------------------------------------------------- 532111314Snyan# ifpnp driver for AVM Fritz!Card PnP 533111314Snyan# 534111314Snyan# AVM Fritz!Card PnP 535126708Snyandevice ifpnp 536111314Snyan# 537111314Snyan#--------------------------------------------------------------------------- 538111314Snyan# ihfc driver for Cologne Chip ISA chipsets (experimental!) 539111314Snyan# 540111314Snyan# Teles 16.3c ISA PnP 541111314Snyan# AcerISDN P10 ISA PnP 542111314Snyan# TELEINT ISDN SPEED No.1 543126708Snyandevice ihfc 544111314Snyan# 545111314Snyan#--------------------------------------------------------------------------- 546111314Snyan# ifpi driver for AVM Fritz!Card PCI 547111314Snyan# 548111314Snyan# AVM Fritz!Card PCI 549126708Snyandevice ifpi 550111314Snyan# 551111314Snyan#--------------------------------------------------------------------------- 552111314Snyan# ifpi2 driver for AVM Fritz!Card PCI version 2 553111314Snyan# 554111314Snyan# AVM Fritz!Card PCI version 2 555134634Srudevice ifpi2 556111314Snyan# 557111314Snyan#--------------------------------------------------------------------------- 558111314Snyan# iwic driver for Winbond W6692 chipset 559111314Snyan# 560111314Snyan# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 561126708Snyandevice iwic 562111314Snyan# 563111314Snyan#--------------------------------------------------------------------------- 564125234Snyan# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset 565111314Snyan# 566111314Snyan# Traverse Technologies NETjet-S 567111314Snyan# Teles PCI-TJ 568126708Snyandevice itjc 569111314Snyan# 570111314Snyan#--------------------------------------------------------------------------- 571111314Snyan# iavc driver (AVM active cards, needs i4bcapi driver!) 572111314Snyan# 573126708Snyandevice iavc 574111314Snyan# 575111314Snyan#--------------------------------------------------------------------------- 576111314Snyan# ISDN Protocol Stack - mandatory for all hardware drivers 577111314Snyan# 578111314Snyan# Q.921 / layer 2 - i4b passive cards D channel handling 579134634Srudevice i4bq921 580111314Snyan# 581111314Snyan# Q.931 / layer 3 - i4b passive cards D channel handling 582134634Srudevice i4bq931 583111314Snyan# 584111314Snyan# layer 4 - i4b common passive and active card handling 585134634Srudevice i4b 586111314Snyan# 587111314Snyan#--------------------------------------------------------------------------- 588111314Snyan# ISDN devices - mandatory for all hardware drivers 589111314Snyan# 590111314Snyan# userland driver to do ISDN tracing (for passive cards only) 591134634Srudevice i4btrc 592142783Snyanoptions NI4BTRC=4 593111314Snyan# 594111314Snyan# userland driver to control the whole thing 595134634Srudevice i4bctl 596111314Snyan# 597111314Snyan#--------------------------------------------------------------------------- 598111314Snyan# ISDN devices - optional 599111314Snyan# 600111314Snyan# userland driver for access to raw B channel 601134634Srudevice i4brbch 602142783Snyanoptions NI4BRBCH=4 603111314Snyan# 604111314Snyan# userland driver for telephony 605134634Srudevice i4btel 606134634Sruoptions NI4BTEL=2 607111314Snyan# 608111314Snyan# network driver for IP over raw HDLC ISDN 609134634Srudevice i4bipr 610134634Sruoptions NI4BIPR=4 611111314Snyan# enable VJ header compression detection for ipr i/f 612111314Snyanoptions IPR_VJ 613111314Snyan# enable logging of the first n IP packets to isdnd (n=32 here) 614111314Snyanoptions IPR_LOG=32 615111314Snyan# 616111314Snyan# network driver for sync PPP over ISDN; requires an equivalent 617111314Snyan# number of sppp device to be configured 618134634Srudevice i4bisppp 619134634Sruoptions NI4BISPPP=4 620111314Snyan# 621111314Snyan# B-channel interface to the netgraph subsystem 622134634Srudevice i4bing 623142783Snyanoptions NI4BING=2 624111314Snyan# 625111314Snyan# CAPI driver needed for active ISDN cards (see iavc driver above) 626134634Srudevice i4bcapi 627111314Snyan# 628111314Snyan#--------------------------------------------------------------------------- 629111314Snyan 630111314Snyan# 631111314Snyan# Set the number of PV entries per process. Increasing this can 632124795Snyan# stop panics related to heavy use of shared memory. However, that can 633111314Snyan# (combined with large amounts of physical memory) cause panics at 634111314Snyan# boot time due the kernel running out of VM space. 635111314Snyan# 636111314Snyan# If you're tweaking this, you might also want to increase the sysctls 637111314Snyan# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 638111314Snyan# 639111314Snyan# The value below is the one more than the default. 640111314Snyan# 641111314Snyanoptions PMAP_SHPGPERPROC=201 642111314Snyan 643111314Snyan# 644111314Snyan# Change the size of the kernel virtual address space. Due to 645111314Snyan# constraints in loader(8) on i386, this must be a multiple of 4. 646111314Snyan# 256 = 1 GB of kernel address space. Increasing this also causes 647111314Snyan# a reduction of the address space in user processes. 512 splits 648111314Snyan# the 4GB cpu address space in half (2GB user, 2GB kernel). 649111314Snyan# 650111314Snyanoptions KVA_PAGES=260 651111314Snyan 652111314Snyan 653111314Snyan##################################################################### 654111314Snyan# ABI Emulation 655111314Snyan 656111314Snyan# Enable iBCS2 runtime support for SCO and ISC binaries 657111314Snyanoptions IBCS2 658111314Snyan 659111314Snyan# Emulate spx device for client side of SVR3 local X interface 660111314Snyanoptions SPX_HACK 661111314Snyan 662111314Snyan# Enable Linux ABI emulation 663111314Snyanoptions COMPAT_LINUX 664111314Snyan 665111314Snyan# Enable i386 a.out binary support 666111314Snyanoptions COMPAT_AOUT 667111314Snyan 668111314Snyan# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 669111314Snyan# and PSEUDOFS) 670111314Snyanoptions LINPROCFS 671111314Snyan 672111314Snyan# 673111314Snyan# SysVR4 ABI emulation 674111314Snyan# 675111314Snyan# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 676125234Snyan# a KLD module. 677125234Snyan# The STREAMS network emulation code can also be compiled statically or as a 678111314Snyan# module. If loaded as a module, it must be loaded before the svr4 module 679111314Snyan# (the /usr/sbin/svr4 script does this for you). If compiling statically, 680111314Snyan# the `streams' device must be configured into any kernel which also 681125234Snyan# specifies COMPAT_SVR4. It is possible to have a statically-configured 682111314Snyan# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 683111314Snyan# script understands that it doesn't need to load the `streams' module under 684111314Snyan# those circumstances. 685111314Snyan# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 686125234Snyan# (whether static or dynamic). 687125234Snyan# 688111314Snyanoptions COMPAT_SVR4 # build emulator statically 689111314Snyanoptions DEBUG_SVR4 # enable verbose debugging 690111314Snyandevice streams # STREAMS network driver (required for svr4). 691111314Snyan 692111314Snyan 693111314Snyan##################################################################### 694111314Snyan# VM OPTIONS 695111314Snyan 696111314Snyan# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 697130596Snyan# kernel to use 4 MByte pages to map the kernel instead of 4k pages. 698111314Snyan# This saves on the amount of memory needed for page tables needed to 699111314Snyan# map the kernel. You should only disable this feature as a temporary 700111314Snyan# workaround if you are having problems with it enabled. 701111314Snyan# 702111314Snyan#options DISABLE_PSE 703111314Snyan 704111314Snyan# Disable the global pages PGE CPU feature. The PGE feature allows pages 705111314Snyan# to be marked with the PG_G bit. TLB entries for these pages are not 706111314Snyan# flushed from the cache when %cr3 is reloaded. This can make context 707111314Snyan# switches less expensive. You should only disable this feature as a 708111314Snyan# temporary workaround if you are having problems with it enabled. 709111314Snyan# 710111314Snyan#options DISABLE_PG_G 711111314Snyan 712111314Snyan# KSTACK_PAGES is the number of memory pages to assign to the kernel 713111314Snyan# stack of each thread. 714111314Snyan 715111314Snyanoptions KSTACK_PAGES=3 716111314Snyan 717111314Snyan##################################################################### 718111314Snyan 719111314Snyan# More undocumented options for linting. 720111314Snyan# Note that documenting these are not considered an affront. 721111314Snyan 722111314Snyanoptions FB_INSTALL_CDEV # install a CDEV entry in /dev 723111314Snyan 724111314Snyan# PECOFF module (Win32 Execution Format) 725111314Snyanoptions PECOFF_SUPPORT 726111314Snyanoptions PECOFF_DEBUG 727111314Snyan 728111314Snyanoptions I4B_SMP_WORKAROUND 729111314Snyanoptions I586_PMC_GUPROF=0x70000 730111314Snyanoptions KBDIO_DEBUG=2 731111314Snyanoptions KBD_MAXRETRY=4 732111314Snyanoptions KBD_MAXWAIT=6 733111314Snyanoptions KBD_RESETDELAY=201 734111314Snyan 735111314Snyanoptions TIMER_FREQ=((14318182+6)/12) 736111314Snyan 737111314Snyanoptions VM_KMEM_SIZE 738111314Snyanoptions VM_KMEM_SIZE_MAX 739111314Snyanoptions VM_KMEM_SIZE_SCALE 740111314Snyan 741111500Sobrien 742132960Snyan# The I/O device 743132960Snyandevice io 744132960Snyan 745132960Snyan 746111500Sobrien##################################################################### 747111500Sobrien# Devices we don't want to deal with 748111500Sobrien 749111500Sobriennodevice atkbdc 750111500Sobriennodevice atkbd 751111500Sobriennodevice psm 752111500Sobriennodevice vga 753116382Snyannodevice bt 754116382Snyannodevice adw 755111500Sobriennodevice aha 756116382Snyannodevice ahb 757116382Snyannodevice ahd 758116382Snyannodevice mpt 759116382Snyannodevice trm 760111500Sobriennodevice wds 761111500Sobriennodevice asr 762111500Sobriennodevice dpt 763111500Sobriennodevice ciss 764111500Sobriennodevice iir 765111500Sobriennodevice mly 766111500Sobriennodevice ida # Compaq Smart RAID 767111500Sobriennodevice mlx # Mylex DAC960 768111500Sobriennodevice amr # AMI MegaRAID 769111500Sobriennodevice twe # 3ware ATA RAID 770125086Snyannodevice ataraid 771116382Snyannodevice cm 772116382Snyannodevice cs 773116382Snyannodevice ex 774116382Snyannodevice fea 775111500Sobriennodevice cbb 776111500Sobriennodevice pccard 777111500Sobriennodevice cardbus 778116382Snyannodevice intpm 779116382Snyannodevice alpm 780116382Snyannodevice ichsmb 781116382Snyannodevice viapm 782116382Snyannodevice amdpm 783116382Snyannodevice nfpm 784111582Sru 785111582Sru 786111582Sru##################################################################### 787111582Sru# Options we don't want to deal with 788111582Sru 789111582Srunooption VGA_DEBUG 790111582Srunooption VGA_WIDTH90 791111582Srunooption VGA_SLOW_IOACCESS 792111582Srunooption VGA_ALT_SEQACCESS 793111582Srunooption PSM_RESETAFTERSUSPEND 794111582Srunooption PSM_HOOKRESUME 795111582Srunooption ATKBD_DFLT_KEYMAP 796116382Snyannooption AHD_DEBUG 797116382Snyannooption AHD_DEBUG_OPTS 798116382Snyannooption AHD_REG_PRETTY_PRINT 799116382Snyannooption ADW_ALLOW_MEMIO 800111582Srunooption DPT_LOST_IRQ 801111582Srunooption DPT_RESET_HBA 802111582Srunooption DPT_TIMEOUT_FACTOR 803116382Snyannooption AAC_DEBUG 804116382Snyannooption ACPI_MAX_THREADS 805111582Sru 806111582Sru 807111582Sru##################################################################### 808111582Sru# Make options we don't want to deal with 809111582Sru 810111582Srunomakeoption ATKBD_DFLT_KEYMAP 811