NOTES revision 145183
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 145183 2005-04-17 10:43:43Z 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 40111314Snyan 41111314Snyan##################################################################### 42111314Snyan# CPU OPTIONS 43111314Snyan 44111314Snyan# 45111314Snyan# You must specify at least one CPU (the one you intend to run on); 46111314Snyan# deleting the specification for CPUs you don't need to use may make 47111314Snyan# parts of the system run faster. 48111314Snyan# 49111314Snyancpu I486_CPU 50111314Snyancpu I586_CPU # aka Pentium(tm) 51111314Snyancpu I686_CPU # aka Pentium Pro(tm) 52111314Snyan 53111314Snyan# 54111314Snyan# Options for CPU features. 55111314Snyan# 56124795Snyan# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 57124795Snyan# CPU if CPU supports it. The default is double-clock mode on 58124795Snyan# BlueLightning CPU box. 59124795Snyan# 60111314Snyan# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 61111314Snyan# BlueLightning CPU. It works only with Cyrix FPU, and this option 62111314Snyan# should not be used with Intel FPU. 63111314Snyan# 64111314Snyan# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 65111314Snyan# 66111314Snyan# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 67111314Snyan# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 68111314Snyan# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 69111314Snyan# 70124795Snyan# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 71124795Snyan# mapped mode. Default is 2-way set associative mode. 72124795Snyan# 73127520Snyan# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables 74111314Snyan# reorder). This option should not be used if you use memory mapped 75111314Snyan# I/O device(s). 76111314Snyan# 77125234Snyan# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 78137526Snyan# machines. VmWare 3.x seems to emulate this instruction poorly, causing 79137526Snyan# the guest OS to run very slowly. This problem appears to be fixed in 80137526Snyan# VmWare 4.x, at least in version 4.5.2, so that enabling this option with 81137526Snyan# VmWare 4.x will result in locking operations to be 20-30 times slower. 82137526Snyan# Enabling this with an SMP kernel will cause the kernel to be unusable. 83124795Snyan# 84127520Snyan# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE. 85124795Snyan# 86111314Snyan# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default 87111314Snyan# on I686_CPU and above. 88111314Snyan# 89111314Snyan# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 90111314Snyan# 91111314Snyan# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 92111314Snyan# for i386 machines. 93111314Snyan# 94111314Snyan# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 95111314Snyan# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 96111314Snyan# (no clock delay). 97111314Snyan# 98125234Snyan# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used 99111314Snyan# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 100111314Snyan# The default value is 5. 101111314Snyan# 102111314Snyan# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 103111314Snyan# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 104111314Snyan# 1). 105111314Snyan# 106111314Snyan# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 107111314Snyan# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 108111314Snyan# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 109111314Snyan# 110111314Snyan# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 111111314Snyan# 112111314Snyan# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 113111314Snyan# enters suspend mode following execution of HALT instruction. 114111314Snyan# 115111314Snyan# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 116111314Snyan# 117111314Snyan# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 118125234Snyan# K5/K6/K6-2 CPUs. 119111314Snyan# 120111314Snyan# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 121111314Snyan# flush at hold state. 122111314Snyan# 123111314Snyan# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 124111314Snyan# without cache flush at hold state, and (2) write-back CPU cache on 125111314Snyan# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 126111314Snyan# 127111314Snyan# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 128111314Snyan# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 129111314Snyan# executed. This option is only needed if I586_CPU is also defined, 130111314Snyan# and should be included for any non-Pentium CPU that defines it. 131111314Snyan# 132111314Snyan# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 133111314Snyan# which indicates that the 15-16MB range is *definitely* not being 134111314Snyan# occupied by an ISA memory hole. 135111314Snyan# 136111314Snyan# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 137111314Snyan# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 138111314Snyan# These options may crash your system. 139111314Snyan# 140111314Snyan# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 141111314Snyan# in write-through mode when revision < 2.7. If revision of Cyrix 142111314Snyan# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 143111314Snyan# 144111314Snyan# NOTE 3: This option may cause failures for software that requires 145111314Snyan# locked cycles in order to operate correctly. 146111314Snyan# 147124795Snyanoptions CPU_BLUELIGHTNING_3X 148111314Snyanoptions CPU_BLUELIGHTNING_FPU_OP_CACHE 149111314Snyanoptions CPU_BTB_EN 150111314Snyanoptions CPU_DIRECT_MAPPED_CACHE 151111314Snyanoptions CPU_DISABLE_5X86_LSSER 152124795Snyanoptions CPU_DISABLE_CMPXCHG 153124795Snyan#options CPU_DISABLE_SSE 154111314Snyanoptions CPU_ENABLE_SSE 155111314Snyanoptions CPU_FASTER_5X86_FPU 156111314Snyanoptions CPU_I486_ON_386 157111314Snyanoptions CPU_IORT 158111314Snyanoptions CPU_L2_LATENCY=5 159111314Snyanoptions CPU_LOOP_EN 160111314Snyanoptions CPU_PPRO2CELERON 161111314Snyanoptions CPU_RSTK_EN 162111314Snyanoptions CPU_SUSP_HLT 163111314Snyanoptions CPU_UPGRADE_HW_CACHE 164111314Snyanoptions CPU_WT_ALLOC 165111314Snyanoptions CYRIX_CACHE_WORKS 166111314Snyanoptions CYRIX_CACHE_REALLY_WORKS 167111314Snyan#options NO_F00F_HACK 168111314Snyan 169111314Snyan# Debug options 170124795Snyanoptions NPX_DEBUG # enable npx debugging 171111314Snyan 172111314Snyan# 173111314Snyan# PERFMON causes the driver for Pentium/Pentium Pro performance counters 174111314Snyan# to be compiled. See perfmon(4) for more information. 175111314Snyan# 176111314Snyanoptions PERFMON 177111314Snyan 178111314Snyan 179111314Snyan##################################################################### 180111314Snyan# NETWORKING OPTIONS 181111314Snyan 182111314Snyan# 183111314Snyan# DEVICE_POLLING adds support for mixed interrupt-polling handling 184111314Snyan# of network device drivers, which has significant benefits in terms 185111314Snyan# of robustness to overloads and responsivity, as well as permitting 186111314Snyan# accurate scheduling of the CPU time between kernel network processing 187124795Snyan# and other activities. The drawback is a moderate (up to 1/HZ seconds) 188111314Snyan# potential increase in response times. 189111314Snyan# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 190111314Snyan# to achieve smoother behaviour. 191111314Snyan# Additionally, you can enable/disable polling at runtime with the 192111314Snyan# sysctl variable kern.polling.enable (defaults off), and select 193111314Snyan# the CPU fraction reserved to userland with the sysctl variable 194111314Snyan# kern.polling.user_frac (default 50, range 0..100). 195111314Snyan# 196124408Snyan# Not all device drivers support this mode of operation at the time of 197124408Snyan# this writing. See polling(4) for more details. 198111314Snyan 199111314Snyanoptions DEVICE_POLLING 200111314Snyan 201111314Snyan 202111314Snyan##################################################################### 203111314Snyan# CLOCK OPTIONS 204111314Snyan 205111314Snyan# The following options are used for debugging clock behavior only, and 206111314Snyan# should not be used for production systems. 207111314Snyan 208123984Sbde# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at 209123984Sbde# startup until the user presses a key. (The i8254 clock is always 210123984Sbde# calibrated relative to the RTC (mc146818a) and this option causes the 211123984Sbde# calibration to be repeated.) 212111314Snyanoptions CLK_CALIBRATION_LOOP 213111314Snyan 214123984Sbde# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254 215123984Sbde# clock to actually be used. 216111314Snyanoptions CLK_USE_I8254_CALIBRATION 217111314Snyan 218111314Snyan 219111314Snyan##################################################################### 220111314Snyan# MISCELLANEOUS DEVICES AND OPTIONS 221111314Snyan 222111314Snyandevice speaker #Play IBM BASIC-style noises out your speaker 223111314Snyanhint.speaker.0.at="isa" 224111314Snyanhint.speaker.0.port="0x35" 225124795Snyandevice gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! 226111314Snyandevice apm_saver # Requires APM 227111314Snyan 228111314Snyan 229111314Snyan##################################################################### 230111314Snyan# HARDWARE BUS CONFIGURATION 231111314Snyan 232111314Snyan# 233111314Snyan# ISA bus 234111314Snyan# 235111314Snyandevice isa 236111314Snyan 237111314Snyan# 238111314Snyan# Options for `isa': 239111314Snyan# 240111314Snyan# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 241111314Snyan# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 242111314Snyan# This option breaks suspend/resume on some portables. 243111314Snyan# 244111314Snyan# MAXMEM specifies the amount of RAM on the machine; if this is not 245111314Snyan# specified, FreeBSD will first read the amount of memory from the CMOS 246111314Snyan# RAM, so the amount of memory will initially be limited to 64MB or 16MB 247111314Snyan# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 248111314Snyan# then attempt to detect the installed amount of RAM. If this probe 249111314Snyan# fails to detect >64MB RAM you will have to use the MAXMEM option. 250111314Snyan# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 251111314Snyan# be 131072 (128 * 1024). 252111314Snyan# 253111314Snyan# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 254111314Snyan# reset the CPU for reboot. This is needed on some systems with broken 255111314Snyan# keyboard controllers. 256111314Snyan 257111314Snyanoptions AUTO_EOI_1 258111314Snyan 259111314Snyanoptions MAXMEM=(128*1024) 260111314Snyan#options BROKEN_KEYBOARD_RESET 261111314Snyanoptions EPSON_BOUNCEDMA 262111314Snyanoptions EPSON_MEMWIN 263111314Snyan 264111314Snyan# 265111314Snyan# PCI bus & PCI options: 266111314Snyan# 267111314Snyandevice pci 268111314Snyan 269111314Snyan# 270111314Snyan# AGP GART support 271111314Snyandevice agp 272111314Snyan 273111314Snyan 274111314Snyan##################################################################### 275111314Snyan# HARDWARE DEVICE CONFIGURATION 276111314Snyan 277111314Snyan# PC98 keyboard 278111314Snyandevice pckbd 279111314Snyanhint.pckbd.0.at="isa" 280111314Snyanhint.pckbd.0.port="0x041" 281111314Snyanhint.pckbd.0.irq="1" 282111314Snyan 283111314Snyan# These options are valid for other keyboard drivers as well. 284111314Snyanoptions KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 285111314Snyanoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 286111314Snyan 287111314Snyan# GDC screen 288111314Snyandevice gdc 289111314Snyanhint.gdc.0.at="isa" 290111314Snyanoptions LINE30 291111314Snyan 292111314Snyan# 293131815Snyan# The Numeric Processing eXtension driver. This is non-optional. 294111314Snyandevice npx 295111314Snyan 296111314Snyan# 297111314Snyan# `flags' for npx0: 298111314Snyan# 0x01 don't use the npx registers to optimize bcopy. 299111314Snyan# 0x02 don't use the npx registers to optimize bzero. 300111314Snyan# 0x04 don't use the npx registers to optimize copyin or copyout. 301111314Snyan# The npx registers are normally used to optimize copying and zeroing when 302111314Snyan# all of the following conditions are satisfied: 303111314Snyan# I586_CPU is an option 304111314Snyan# the cpu is an i586 (perhaps not a Pentium) 305111314Snyan# the probe for npx0 succeeds 306111314Snyan# INT 16 exception handling works. 307111314Snyan# Then copying and zeroing using the npx registers is normally 30-100% faster. 308111314Snyan# The flags can be used to control cases where it doesn't work or is slower. 309140371Sru# Setting them at boot time using hints works right (the optimizations 310111314Snyan# are not used until later in the bootstrap when npx0 is attached). 311111314Snyan# Flag 0x08 automatically disables the i586 optimized routines. 312111314Snyan# 313111314Snyan 314111314Snyan# 315111314Snyan# Optional devices: 316111314Snyan# 317111314Snyan 318124795Snyan# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 319124795Snyan# the /dev/3dfx0 device to work with glide implementations. This should get 320124795Snyan# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 321111314Snyan# the tdfx DRI module from XFree86 and is completely unrelated. 322111314Snyan# 323111314Snyan# To enable Linuxulator support, one must also include COMPAT_LINUX in the 324124795Snyan# config as well, or you will not have the dependencies. The other option 325111314Snyan# is to load both as modules. 326111314Snyan 327126708Snyandevice tdfx # Enable 3Dfx Voodoo support 328111314Snyanoptions TDFX_LINUX # Enable Linuxulator support 329111314Snyan 330145183Snyan# Direct Rendering modules for 3D acceleration. 331145183Snyandevice drm # DRM core module required by DRM drivers 332145183Snyandevice mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL 333145183Snyandevice mgadrm # AGP Matrox G200, G400, G450, G550 334145183Snyandevice r128drm # ATI Rage 128 335145183Snyandevice radeondrm # ATI Radeon up to 9200 336145183Snyandevice sisdrm # SiS 300/305, 540, 630 337145183Snyandevice tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee 338145183Snyanoptions DRM_DEBUG # Include debug printfs (slow) 339111314Snyan 340111314Snyan# 341111314Snyan# Bus mouse 342111314Snyan# 343111314Snyandevice mse 344111314Snyanhint.mse.0.at="isa" 345111314Snyanhint.mse.0.port="0x7fd9" 346111314Snyanhint.mse.0.irq="13" 347111314Snyan 348111314Snyan# 349111314Snyan# Network interfaces: 350111314Snyan# 351111314Snyan 352111314Snyan# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 353111314Snyan# (requires sppp) 354129384Snyan# cp: Cronyx Tau-PCI sync single/dual/four port 355129384Snyan# V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1 356129384Snyan# serial adaptor (requires sppp (default), or NETGRAPH if 357129384Snyan# NETGRAPH_CRONYX is configured) 358111314Snyan# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 359125234Snyan# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf) 360111314Snyan# (requires miibus) 361111314Snyan# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 362111314Snyan# Intel EtherExpress 363111314Snyan# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 364111314Snyan# Am79C960) 365126708Snyan# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133. 366111314Snyan# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 367126708Snyan# OC-3141, OC-3540 and OC-3250. 368126708Snyan# sbni: Granch SBNI12-xx ISA and PCI adapters 369111314Snyan# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 370111314Snyan 371111314Snyan# Order for ISA/EISA devices is important here 372111314Snyan 373111314Snyandevice ar 374129384Snyandevice cp 375111314Snyandevice ed 376111314Snyan#options ED_NO_MIIBUS # Disable ed miibus support 377111314Snyanhint.ed.0.at="isa" 378111314Snyanhint.ed.0.port="0x280" 379111314Snyanhint.ed.0.irq="5" 380111314Snyanhint.ed.0.maddr="0xd8000" 381112840Smdodddevice ie # Hints only required for Starlan 382112840Smdoddhint.ie.2.at="isa" 383112840Smdoddhint.ie.2.port="0x300" 384112840Smdoddhint.ie.2.irq="5" 385112840Smdoddhint.ie.2.maddr="0xd0000" 386111314Snyandevice lnc 387111314Snyanhint.lnc.0.at="isa" 388111314Snyanhint.lnc.0.port="0x280" 389111314Snyanhint.lnc.0.irq="10" 390111314Snyanhint.lnc.0.drq="0" 391111314Snyandevice sbni 392111314Snyanhint.sbni.0.at="isa" 393111314Snyanhint.sbni.0.port="0x210" 394111314Snyanhint.sbni.0.irq="0xefdead" 395111314Snyanhint.sbni.0.flags="0" 396111314Snyandevice snc 397111314Snyanhint.snc.0.at="isa" 398111314Snyanhint.snc.0.port="0x888" 399111314Snyanhint.snc.0.irq="6" 400111314Snyanhint.snc.0.maddr="0xc0000" 401111314Snyandevice sr 402111314Snyandevice oltr 403111314Snyan 404125234Snyan# 405111314Snyan# SCSI host adapters: 406125234Snyan# 407111314Snyan# ct: WD33C93[ABC] based SCSI host adapters. 408111314Snyan# ncv: NCR 53C500 based SCSI host adapters. 409111314Snyan# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 410111314Snyan# stg: TMC 18C30, 18C50 based SCSI host adapters. 411111314Snyan 412111314Snyandevice ct 413111314Snyanhint.ct.0.at="isa" 414126708Snyandevice ncv 415126708Snyandevice nsp 416126708Snyandevice stg 417111314Snyan 418111314Snyan# 419117918Snyan# SafeNet crypto driver: can be moved to the MI NOTES as soon as 420117918Snyan# it's tested on a big-endian machine 421117918Snyan# 422117918Snyandevice safe # SafeNet 1141 423142783Snyanoptions SAFE_DEBUG # enable debugging support: hw.safe.debug 424142783Snyanoptions SAFE_RNDTEST # enable rndtest support 425117918Snyan 426117918Snyan##################################################################### 427117918Snyan 428117918Snyan# 429111314Snyan# Miscellaneous hardware: 430111314Snyan# 431111314Snyan# apm: Laptop Advanced Power Management (experimental) 432111314Snyan# pmtimer: Timer device driver for power management events (APM or ACPI) 433124795Snyan# cy: Cyclades serial driver 434111314Snyan# digi: Digiboard driver 435111314Snyan 436111314Snyan# Notes on APM 437111314Snyan# The flags takes the following meaning for apm0: 438111314Snyan# 0x0020 Statclock is broken. 439111314Snyan 440111314Snyandevice apm 441111314Snyanhint.apm.0.flags="0x20" 442111314Snyandevice canbus 443111314Snyandevice canbepm 444128876Sbdedevice cy 445127945Snyanoptions CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 446111314Snyandevice digi 447111314Snyan# BIOS & FEP/OS components of device digi. 448111314Snyandevice digi_CX 449111314Snyandevice digi_CX_PCI 450111314Snyandevice digi_EPCX 451111314Snyandevice digi_EPCX_PCI 452111314Snyandevice digi_Xe 453111314Snyandevice digi_Xem 454111314Snyandevice digi_Xr 455124795Snyandevice olpt 456124795Snyanhint.olpt.0.at="isa" 457124795Snyanhint.olpt.0.port="0x040" 458128221Simpdevice pmc 459128221Simphint.pmc.0.at="isa" 460128221Simphint.pmc.0.port="0x8f0" 461128221Simpdevice pmtimer # Adjust system timer at wakeup time 462128221Simp# sx device is i386 and pc98 only at the moment. 463128221Simpdevice sx 464128221Simpoptions SX_DEBUG 465111314Snyan 466111314Snyan# 467111314Snyan# Laptop/Notebook options: 468111314Snyan# 469111314Snyan# See also: 470111314Snyan# apm under `Miscellaneous hardware' 471111314Snyan# above. 472111314Snyan 473111314Snyan# For older notebooks that signal a powerfail condition (external 474111314Snyan# power supply dropped, or battery state low) by issuing an NMI: 475111314Snyan 476111314Snyanoptions POWERFAIL_NMI # make it beep instead of panicing 477111314Snyan 478111314Snyan# 479111314Snyan# PC Card/PCMCIA 480111314Snyan# (OLDCARD) 481111314Snyan# 482111314Snyan# card: pccard slots 483111314Snyan# pcic: isa/pccard bridge 484111314Snyandevice pcic 485111314Snyanhint.pcic.0.at="isa" 486111314Snyan#hint.pcic.1.at="isa" 487132155Sdesdevice card 488111314Snyan 489111314Snyan#--------------------------------------------------------------------------- 490111314Snyan# ISDN4BSD 491111314Snyan# 492111314Snyan# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 493111314Snyan# 494111314Snyan# i4b passive ISDN cards support contains the following hardware drivers: 495111314Snyan# 496111314Snyan# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 497111314Snyan# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 498111314Snyan# ifpi - AVM Fritz!Card PCI driver 499111314Snyan# ifpi2 - AVM Fritz!Card PCI version 2 driver 500111314Snyan# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 501125234Snyan# ifpnp - AVM Fritz!Card PnP driver 502111314Snyan# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 503111314Snyan# 504111314Snyan# i4b active ISDN cards support contains the following hardware drivers: 505111314Snyan# 506111314Snyan# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 507111314Snyan# 508111314Snyan# Note that the ``options'' (if given) and ``device'' lines must BOTH 509111314Snyan# be uncommented to enable support for a given card ! 510111314Snyan# 511111314Snyan# In addition to a hardware driver (and probably an option) the mandatory 512125234Snyan# ISDN protocol stack devices and the mandatory support device must be 513111314Snyan# enabled as well as one or more devices from the optional devices section. 514111314Snyan# 515111314Snyan#--------------------------------------------------------------------------- 516111314Snyan# isic driver (Siemens/Infineon chipsets) 517111314Snyan# 518111314Snyandevice isic 519111314Snyan# 520111314Snyan# PCI bus Cards: 521111314Snyan# -------------- 522111314Snyan# 523111314Snyan# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 524111314Snyanoptions ELSA_QS1PCI 525111314Snyan# 526111314Snyan#--------------------------------------------------------------------------- 527111314Snyan# ifpnp driver for AVM Fritz!Card PnP 528111314Snyan# 529111314Snyan# AVM Fritz!Card PnP 530126708Snyandevice ifpnp 531111314Snyan# 532111314Snyan#--------------------------------------------------------------------------- 533111314Snyan# ihfc driver for Cologne Chip ISA chipsets (experimental!) 534111314Snyan# 535111314Snyan# Teles 16.3c ISA PnP 536111314Snyan# AcerISDN P10 ISA PnP 537111314Snyan# TELEINT ISDN SPEED No.1 538126708Snyandevice ihfc 539111314Snyan# 540111314Snyan#--------------------------------------------------------------------------- 541111314Snyan# ifpi driver for AVM Fritz!Card PCI 542111314Snyan# 543111314Snyan# AVM Fritz!Card PCI 544126708Snyandevice ifpi 545111314Snyan# 546111314Snyan#--------------------------------------------------------------------------- 547111314Snyan# ifpi2 driver for AVM Fritz!Card PCI version 2 548111314Snyan# 549111314Snyan# AVM Fritz!Card PCI version 2 550134634Srudevice ifpi2 551111314Snyan# 552111314Snyan#--------------------------------------------------------------------------- 553111314Snyan# iwic driver for Winbond W6692 chipset 554111314Snyan# 555111314Snyan# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 556126708Snyandevice iwic 557111314Snyan# 558111314Snyan#--------------------------------------------------------------------------- 559125234Snyan# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset 560111314Snyan# 561111314Snyan# Traverse Technologies NETjet-S 562111314Snyan# Teles PCI-TJ 563126708Snyandevice itjc 564111314Snyan# 565111314Snyan#--------------------------------------------------------------------------- 566111314Snyan# iavc driver (AVM active cards, needs i4bcapi driver!) 567111314Snyan# 568126708Snyandevice iavc 569111314Snyan# 570111314Snyan#--------------------------------------------------------------------------- 571111314Snyan# ISDN Protocol Stack - mandatory for all hardware drivers 572111314Snyan# 573111314Snyan# Q.921 / layer 2 - i4b passive cards D channel handling 574134634Srudevice i4bq921 575111314Snyan# 576111314Snyan# Q.931 / layer 3 - i4b passive cards D channel handling 577134634Srudevice i4bq931 578111314Snyan# 579111314Snyan# layer 4 - i4b common passive and active card handling 580134634Srudevice i4b 581111314Snyan# 582111314Snyan#--------------------------------------------------------------------------- 583111314Snyan# ISDN devices - mandatory for all hardware drivers 584111314Snyan# 585111314Snyan# userland driver to do ISDN tracing (for passive cards only) 586134634Srudevice i4btrc 587142783Snyanoptions NI4BTRC=4 588111314Snyan# 589111314Snyan# userland driver to control the whole thing 590134634Srudevice i4bctl 591111314Snyan# 592111314Snyan#--------------------------------------------------------------------------- 593111314Snyan# ISDN devices - optional 594111314Snyan# 595111314Snyan# userland driver for access to raw B channel 596134634Srudevice i4brbch 597142783Snyanoptions NI4BRBCH=4 598111314Snyan# 599111314Snyan# userland driver for telephony 600134634Srudevice i4btel 601134634Sruoptions NI4BTEL=2 602111314Snyan# 603111314Snyan# network driver for IP over raw HDLC ISDN 604134634Srudevice i4bipr 605134634Sruoptions NI4BIPR=4 606111314Snyan# enable VJ header compression detection for ipr i/f 607111314Snyanoptions IPR_VJ 608111314Snyan# enable logging of the first n IP packets to isdnd (n=32 here) 609111314Snyanoptions IPR_LOG=32 610111314Snyan# 611111314Snyan# network driver for sync PPP over ISDN; requires an equivalent 612111314Snyan# number of sppp device to be configured 613134634Srudevice i4bisppp 614134634Sruoptions NI4BISPPP=4 615111314Snyan# 616111314Snyan# B-channel interface to the netgraph subsystem 617134634Srudevice i4bing 618142783Snyanoptions NI4BING=2 619111314Snyan# 620111314Snyan# CAPI driver needed for active ISDN cards (see iavc driver above) 621134634Srudevice i4bcapi 622111314Snyan# 623111314Snyan#--------------------------------------------------------------------------- 624111314Snyan 625111314Snyan# 626111314Snyan# Set the number of PV entries per process. Increasing this can 627124795Snyan# stop panics related to heavy use of shared memory. However, that can 628111314Snyan# (combined with large amounts of physical memory) cause panics at 629111314Snyan# boot time due the kernel running out of VM space. 630111314Snyan# 631111314Snyan# If you're tweaking this, you might also want to increase the sysctls 632111314Snyan# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 633111314Snyan# 634111314Snyan# The value below is the one more than the default. 635111314Snyan# 636111314Snyanoptions PMAP_SHPGPERPROC=201 637111314Snyan 638111314Snyan# 639111314Snyan# Change the size of the kernel virtual address space. Due to 640111314Snyan# constraints in loader(8) on i386, this must be a multiple of 4. 641111314Snyan# 256 = 1 GB of kernel address space. Increasing this also causes 642111314Snyan# a reduction of the address space in user processes. 512 splits 643111314Snyan# the 4GB cpu address space in half (2GB user, 2GB kernel). 644111314Snyan# 645111314Snyanoptions KVA_PAGES=260 646111314Snyan 647111314Snyan 648111314Snyan##################################################################### 649111314Snyan# ABI Emulation 650111314Snyan 651111314Snyan# Enable iBCS2 runtime support for SCO and ISC binaries 652111314Snyanoptions IBCS2 653111314Snyan 654111314Snyan# Emulate spx device for client side of SVR3 local X interface 655111314Snyanoptions SPX_HACK 656111314Snyan 657111314Snyan# Enable Linux ABI emulation 658111314Snyanoptions COMPAT_LINUX 659111314Snyan 660111314Snyan# Enable i386 a.out binary support 661111314Snyanoptions COMPAT_AOUT 662111314Snyan 663111314Snyan# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 664111314Snyan# and PSEUDOFS) 665111314Snyanoptions LINPROCFS 666111314Snyan 667111314Snyan# 668111314Snyan# SysVR4 ABI emulation 669111314Snyan# 670111314Snyan# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 671125234Snyan# a KLD module. 672125234Snyan# The STREAMS network emulation code can also be compiled statically or as a 673111314Snyan# module. If loaded as a module, it must be loaded before the svr4 module 674111314Snyan# (the /usr/sbin/svr4 script does this for you). If compiling statically, 675111314Snyan# the `streams' device must be configured into any kernel which also 676125234Snyan# specifies COMPAT_SVR4. It is possible to have a statically-configured 677111314Snyan# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 678111314Snyan# script understands that it doesn't need to load the `streams' module under 679111314Snyan# those circumstances. 680111314Snyan# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 681125234Snyan# (whether static or dynamic). 682125234Snyan# 683111314Snyanoptions COMPAT_SVR4 # build emulator statically 684111314Snyanoptions DEBUG_SVR4 # enable verbose debugging 685111314Snyandevice streams # STREAMS network driver (required for svr4). 686111314Snyan 687111314Snyan 688111314Snyan##################################################################### 689111314Snyan# VM OPTIONS 690111314Snyan 691111314Snyan# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 692130596Snyan# kernel to use 4 MByte pages to map the kernel instead of 4k pages. 693111314Snyan# This saves on the amount of memory needed for page tables needed to 694111314Snyan# map the kernel. You should only disable this feature as a temporary 695111314Snyan# workaround if you are having problems with it enabled. 696111314Snyan# 697111314Snyan#options DISABLE_PSE 698111314Snyan 699111314Snyan# Disable the global pages PGE CPU feature. The PGE feature allows pages 700111314Snyan# to be marked with the PG_G bit. TLB entries for these pages are not 701111314Snyan# flushed from the cache when %cr3 is reloaded. This can make context 702111314Snyan# switches less expensive. You should only disable this feature as a 703111314Snyan# temporary workaround if you are having problems with it enabled. 704111314Snyan# 705111314Snyan#options DISABLE_PG_G 706111314Snyan 707111314Snyan# KSTACK_PAGES is the number of memory pages to assign to the kernel 708111314Snyan# stack of each thread. 709111314Snyan 710111314Snyanoptions KSTACK_PAGES=3 711111314Snyan 712111314Snyan##################################################################### 713111314Snyan 714111314Snyan# More undocumented options for linting. 715111314Snyan# Note that documenting these are not considered an affront. 716111314Snyan 717111314Snyanoptions FB_INSTALL_CDEV # install a CDEV entry in /dev 718111314Snyan 719111314Snyan# PECOFF module (Win32 Execution Format) 720111314Snyanoptions PECOFF_SUPPORT 721111314Snyanoptions PECOFF_DEBUG 722111314Snyan 723111314Snyanoptions I4B_SMP_WORKAROUND 724111314Snyanoptions I586_PMC_GUPROF=0x70000 725111314Snyanoptions KBDIO_DEBUG=2 726111314Snyanoptions KBD_MAXRETRY=4 727111314Snyanoptions KBD_MAXWAIT=6 728111314Snyanoptions KBD_RESETDELAY=201 729111314Snyan 730111314Snyanoptions TIMER_FREQ=((14318182+6)/12) 731111314Snyan 732111314Snyanoptions VM_KMEM_SIZE 733111314Snyanoptions VM_KMEM_SIZE_MAX 734111314Snyanoptions VM_KMEM_SIZE_SCALE 735111314Snyan 736111500Sobrien 737132960Snyan# The I/O device 738132960Snyandevice io 739132960Snyan 740132960Snyan 741111500Sobrien##################################################################### 742111500Sobrien# Devices we don't want to deal with 743111500Sobrien 744111500Sobriennodevice atkbdc 745111500Sobriennodevice atkbd 746111500Sobriennodevice psm 747111500Sobriennodevice vga 748116382Snyannodevice bt 749116382Snyannodevice adw 750111500Sobriennodevice aha 751116382Snyannodevice ahb 752116382Snyannodevice ahd 753116382Snyannodevice mpt 754116382Snyannodevice trm 755111500Sobriennodevice wds 756111500Sobriennodevice asr 757111500Sobriennodevice dpt 758111500Sobriennodevice ciss 759111500Sobriennodevice iir 760111500Sobriennodevice mly 761111500Sobriennodevice ida # Compaq Smart RAID 762111500Sobriennodevice mlx # Mylex DAC960 763111500Sobriennodevice amr # AMI MegaRAID 764111500Sobriennodevice twe # 3ware ATA RAID 765125086Snyannodevice ataraid 766116382Snyannodevice cm 767116382Snyannodevice cs 768116382Snyannodevice ex 769116382Snyannodevice fea 770111500Sobriennodevice cbb 771111500Sobriennodevice pccard 772111500Sobriennodevice cardbus 773116382Snyannodevice intpm 774116382Snyannodevice alpm 775116382Snyannodevice ichsmb 776116382Snyannodevice viapm 777116382Snyannodevice amdpm 778116382Snyannodevice nfpm 779111582Sru 780111582Sru 781111582Sru##################################################################### 782111582Sru# Options we don't want to deal with 783111582Sru 784111582Srunooption VGA_DEBUG 785111582Srunooption VGA_WIDTH90 786111582Srunooption VGA_SLOW_IOACCESS 787111582Srunooption VGA_ALT_SEQACCESS 788111582Srunooption PSM_RESETAFTERSUSPEND 789111582Srunooption PSM_HOOKRESUME 790111582Srunooption ATKBD_DFLT_KEYMAP 791116382Snyannooption AHD_DEBUG 792116382Snyannooption AHD_DEBUG_OPTS 793116382Snyannooption AHD_REG_PRETTY_PRINT 794116382Snyannooption ADW_ALLOW_MEMIO 795111582Srunooption DPT_LOST_IRQ 796111582Srunooption DPT_RESET_HBA 797111582Srunooption DPT_TIMEOUT_FACTOR 798116382Snyannooption AAC_DEBUG 799116382Snyannooption ACPI_MAX_THREADS 800111582Sru 801111582Sru 802111582Sru##################################################################### 803111582Sru# Make options we don't want to deal with 804111582Sru 805111582Srunomakeoption ATKBD_DFLT_KEYMAP 806