8# 9 10# 11# This directive is mandatory; it defines the architecture to be 12# configured for; in this case, the 386 family based PC-98 and 13# compatibles. 14# 15machine pc98 16options PC98 17 18# 19# We want LINT to cover profiling as well. 20profile 2 21 22 23##################################################################### 24# SMP OPTIONS: 25# 26# The apic device enables the use of the I/O APIC for interrupt delivery. 27# The apic device can be used in both UP and SMP kernels, but is required 28# for SMP kernels. Thus, the apic device is not strictly an SMP option, 29# but it is a prerequisite for SMP. 30# 31# Notes: 32# 33# Be sure to disable 'cpu I386_CPU' for SMP kernels. 34# 35# By default, mixed mode is used to route IRQ0 from the AT timer via 36# the 8259A master PIC through the ExtINT pin on the first I/O APIC. 37# This can be disabled via the NO_MIXED_MODE option. In that case, 38# IRQ0 will be routed via an intpin on the first I/O APIC. Not all 39# motherboards hook IRQ0 up to the first I/O APIC even though their 40# MP table or MADT may claim to do so. That is why mixed mode is 41# enabled by default. 42# 43 44# Mandatory: 45device apic # I/O apic 46 47# Optional: 48options NO_MIXED_MODE # Disable use of mixed mode 49 50 51##################################################################### 52# CPU OPTIONS 53 54# 55# You must specify at least one CPU (the one you intend to run on); 56# deleting the specification for CPUs you don't need to use may make 57# parts of the system run faster. 58# I386_CPU is mutually exclusive with the other CPU types. 59# 60#cpu I386_CPU 61cpu I486_CPU 62cpu I586_CPU # aka Pentium(tm) 63cpu I686_CPU # aka Pentium Pro(tm) 64 65# 66# Options for CPU features. 67# 68# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 69# CPU if CPU supports it. The default is double-clock mode on 70# BlueLightning CPU box. 71# 72# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 73# BlueLightning CPU. It works only with Cyrix FPU, and this option 74# should not be used with Intel FPU. 75# 76# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 77# 78# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 79# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 80# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 81# 82# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 83# mapped mode. Default is 2-way set associative mode. 84# 85# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables 86# reorder). This option should not be used if you use memory mapped 87# I/O device(s). 88# 89# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 90# machines. VmWare seems to emulate this instruction poorly, causing 91# the guest OS to run very slowly. Enabling this with an SMP kernel 92# will cause the kernel to be unusable. 93# 94# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE. 95# 96# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default 97# on I686_CPU and above. 98# 99# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 100# 101# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 102# for i386 machines. 103# 104# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 105# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 106# (no clock delay). 107# 108# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used 109# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 110# The default value is 5. 111# 112# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 113# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 114# 1). 115# 116# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 117# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 118# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 119# 120# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 121# 122# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 123# enters suspend mode following execution of HALT instruction. 124# 125# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 126# 127# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 128# K5/K6/K6-2 CPUs. 129# 130# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 131# flush at hold state. 132# 133# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 134# without cache flush at hold state, and (2) write-back CPU cache on 135# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 136# 137# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 138# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 139# executed. This option is only needed if I586_CPU is also defined, 140# and should be included for any non-Pentium CPU that defines it. 141# 142# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 143# which indicates that the 15-16MB range is *definitely* not being 144# occupied by an ISA memory hole. 145# 146# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 147# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 148# These options may crash your system. 149# 150# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 151# in write-through mode when revision < 2.7. If revision of Cyrix 152# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 153# 154# NOTE 3: This option may cause failures for software that requires 155# locked cycles in order to operate correctly. 156# 157options CPU_BLUELIGHTNING_3X 158options CPU_BLUELIGHTNING_FPU_OP_CACHE 159options CPU_BTB_EN 160options CPU_DIRECT_MAPPED_CACHE 161options CPU_DISABLE_5X86_LSSER 162options CPU_DISABLE_CMPXCHG 163#options CPU_DISABLE_SSE 164options CPU_ENABLE_SSE 165options CPU_FASTER_5X86_FPU 166options CPU_I486_ON_386 167options CPU_IORT 168options CPU_L2_LATENCY=5 169options CPU_LOOP_EN 170options CPU_PPRO2CELERON 171options CPU_RSTK_EN 172options CPU_SUSP_HLT 173options CPU_UPGRADE_HW_CACHE 174options CPU_WT_ALLOC 175options CYRIX_CACHE_WORKS 176options CYRIX_CACHE_REALLY_WORKS 177#options NO_F00F_HACK 178 179# Debug options 180options NPX_DEBUG # enable npx debugging 181 182# 183# PERFMON causes the driver for Pentium/Pentium Pro performance counters 184# to be compiled. See perfmon(4) for more information. 185# 186options PERFMON 187 188 189##################################################################### 190# NETWORKING OPTIONS 191 192# 193# DEVICE_POLLING adds support for mixed interrupt-polling handling 194# of network device drivers, which has significant benefits in terms 195# of robustness to overloads and responsivity, as well as permitting 196# accurate scheduling of the CPU time between kernel network processing 197# and other activities. The drawback is a moderate (up to 1/HZ seconds) 198# potential increase in response times. 199# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 200# to achieve smoother behaviour. 201# Additionally, you can enable/disable polling at runtime with the 202# sysctl variable kern.polling.enable (defaults off), and select 203# the CPU fraction reserved to userland with the sysctl variable 204# kern.polling.user_frac (default 50, range 0..100). 205# 206# Not all device drivers support this mode of operation at the time of 207# this writing. See polling(4) for more details. 208 209options DEVICE_POLLING 210 211 212##################################################################### 213# CLOCK OPTIONS 214 215# The following options are used for debugging clock behavior only, and 216# should not be used for production systems. 217 218# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at 219# startup until the user presses a key. (The i8254 clock is always 220# calibrated relative to the RTC (mc146818a) and this option causes the 221# calibration to be repeated.) 222options CLK_CALIBRATION_LOOP 223 224# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254 225# clock to actually be used. 226options CLK_USE_I8254_CALIBRATION 227 228 229##################################################################### 230# MISCELLANEOUS DEVICES AND OPTIONS 231 232device speaker #Play IBM BASIC-style noises out your speaker 233hint.speaker.0.at="isa" 234hint.speaker.0.port="0x35" 235device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! 236device apm_saver # Requires APM 237 238 239##################################################################### 240# HARDWARE BUS CONFIGURATION 241 242# 243# ISA bus 244# 245device isa 246 247# 248# Options for `isa': 249# 250# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 251# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 252# This option breaks suspend/resume on some portables. 253# 254# MAXMEM specifies the amount of RAM on the machine; if this is not 255# specified, FreeBSD will first read the amount of memory from the CMOS 256# RAM, so the amount of memory will initially be limited to 64MB or 16MB 257# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 258# then attempt to detect the installed amount of RAM. If this probe 259# fails to detect >64MB RAM you will have to use the MAXMEM option. 260# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 261# be 131072 (128 * 1024). 262# 263# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 264# reset the CPU for reboot. This is needed on some systems with broken 265# keyboard controllers. 266 267options AUTO_EOI_1 268 269options MAXMEM=(128*1024) 270#options BROKEN_KEYBOARD_RESET 271options EPSON_BOUNCEDMA 272options EPSON_MEMWIN 273 274# 275# PCI bus & PCI options: 276# 277device pci 278 279# 280# AGP GART support 281device agp 282 283 284##################################################################### 285# HARDWARE DEVICE CONFIGURATION 286 287# PC98 keyboard 288device pckbd 289hint.pckbd.0.at="isa" 290hint.pckbd.0.port="0x041" 291hint.pckbd.0.irq="1" 292 293# These options are valid for other keyboard drivers as well. 294options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 295options KBD_INSTALL_CDEV # install a CDEV entry in /dev 296 297# GDC screen 298device gdc 299hint.gdc.0.at="isa" 300options LINE30 301 302# 303# The Numeric Processing eXtension driver. In addition to this, you 304# may configure a math emulator (see above). If your machine has a 305# hardware FPU and the kernel configuration includes the npx device 306# *and* a math emulator compiled into the kernel, the hardware FPU 307# will be used, unless it is found to be broken or unless "flags" to 308# npx0 includes "0x08", which requests preference for the emulator. 309device npx 310 311# 312# `flags' for npx0: 313# 0x01 don't use the npx registers to optimize bcopy. 314# 0x02 don't use the npx registers to optimize bzero. 315# 0x04 don't use the npx registers to optimize copyin or copyout. 316# 0x08 use emulator even if hardware FPU is available. 317# The npx registers are normally used to optimize copying and zeroing when 318# all of the following conditions are satisfied: 319# I586_CPU is an option 320# the cpu is an i586 (perhaps not a Pentium) 321# the probe for npx0 succeeds 322# INT 16 exception handling works. 323# Then copying and zeroing using the npx registers is normally 30-100% faster. 324# The flags can be used to control cases where it doesn't work or is slower. 325# Setting them at boot time using userconfig works right (the optimizations 326# are not used until later in the bootstrap when npx0 is attached). 327# Flag 0x08 automatically disables the i586 optimized routines. 328# 329 330# 331# Optional devices: 332# 333 334# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 335# the /dev/3dfx0 device to work with glide implementations. This should get 336# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 337# the tdfx DRI module from XFree86 and is completely unrelated. 338# 339# To enable Linuxulator support, one must also include COMPAT_LINUX in the 340# config as well, or you will not have the dependencies. The other option 341# is to load both as modules. 342 343device tdfx # Enable 3Dfx Voodoo support 344options TDFX_LINUX # Enable Linuxulator support 345 346# DRM options: 347# mgadrm: AGP Matrox G200, G400, G450, G550 348# r128drm: ATI Rage 128 349# radeondrm: ATI Radeon up to 9000/9100 350# sisdrm: SiS 300/305,540,630 351# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee 352# DRM_DEBUG: include debug printfs, very slow 353# 354# mga requires AGP in the kernel, and it is recommended 355# for AGP r128 and radeon cards. 356 357device mgadrm 358device "r128drm" 359device radeondrm 360device sisdrm 361device tdfxdrm 362 363options DRM_DEBUG 364 365# 366# Bus mouse 367# 368device mse 369hint.mse.0.at="isa" 370hint.mse.0.port="0x7fd9" 371hint.mse.0.irq="13" 372 373# 374# Network interfaces: 375# 376 377# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 378# (requires sppp) 379# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 380# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf) 381# (requires miibus) 382# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 383# Intel EtherExpress 384# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 385# Am79C960) 386# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133. 387# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 388# OC-3141, OC-3540 and OC-3250. 389# sbni: Granch SBNI12-xx ISA and PCI adapters 390# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 391# wl: Lucent Wavelan (ISA card only). 392 393# Order for ISA/EISA devices is important here 394 395device ar 396device ed 397#options ED_NO_MIIBUS # Disable ed miibus support 398hint.ed.0.at="isa" 399hint.ed.0.port="0x280" 400hint.ed.0.irq="5" 401hint.ed.0.maddr="0xd8000" 402device ie # Hints only required for Starlan 403hint.ie.2.at="isa" 404hint.ie.2.port="0x300" 405hint.ie.2.irq="5" 406hint.ie.2.maddr="0xd0000" 407device lnc 408hint.lnc.0.at="isa" 409hint.lnc.0.port="0x280" 410hint.lnc.0.irq="10" 411hint.lnc.0.drq="0" 412device sbni 413hint.sbni.0.at="isa" 414hint.sbni.0.port="0x210" 415hint.sbni.0.irq="0xefdead" 416hint.sbni.0.flags="0" 417device snc 418hint.snc.0.at="isa" 419hint.snc.0.port="0x888" 420hint.snc.0.irq="6" 421hint.snc.0.maddr="0xc0000" 422device sr 423device oltr 424device wl 425hint.wl.0.at="isa" 426hint.wl.0.port="0x300" 427options WLCACHE # enables the signal-strength cache 428options WLDEBUG # enables verbose debugging output 429 430# 431# SCSI host adapters: 432# 433# ct: WD33C93[ABC] based SCSI host adapters. 434# ncv: NCR 53C500 based SCSI host adapters. 435# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 436# stg: TMC 18C30, 18C50 based SCSI host adapters. 437 438device ct 439hint.ct.0.at="isa" 440device ncv 441device nsp 442device stg 443 444# 445# SafeNet crypto driver: can be moved to the MI NOTES as soon as 446# it's tested on a big-endian machine 447# 448device safe # SafeNet 1141 449options SAFE_DEBUG # enable debugging support: hw.safe.debug 450options SAFE_RNDTEST # enable rndtest support 451 452##################################################################### 453 454# 455# Miscellaneous hardware: 456# 457# apm: Laptop Advanced Power Management (experimental) 458# pmtimer: Timer device driver for power management events (APM or ACPI) 459# cy: Cyclades serial driver 460# digi: Digiboard driver 461 462# Notes on APM 463# The flags takes the following meaning for apm0: 464# 0x0020 Statclock is broken. 465 466device apm 467hint.apm.0.flags="0x20" 468device canbus 469device canbepm
| 8# 9 10# 11# This directive is mandatory; it defines the architecture to be 12# configured for; in this case, the 386 family based PC-98 and 13# compatibles. 14# 15machine pc98 16options PC98 17 18# 19# We want LINT to cover profiling as well. 20profile 2 21 22 23##################################################################### 24# SMP OPTIONS: 25# 26# The apic device enables the use of the I/O APIC for interrupt delivery. 27# The apic device can be used in both UP and SMP kernels, but is required 28# for SMP kernels. Thus, the apic device is not strictly an SMP option, 29# but it is a prerequisite for SMP. 30# 31# Notes: 32# 33# Be sure to disable 'cpu I386_CPU' for SMP kernels. 34# 35# By default, mixed mode is used to route IRQ0 from the AT timer via 36# the 8259A master PIC through the ExtINT pin on the first I/O APIC. 37# This can be disabled via the NO_MIXED_MODE option. In that case, 38# IRQ0 will be routed via an intpin on the first I/O APIC. Not all 39# motherboards hook IRQ0 up to the first I/O APIC even though their 40# MP table or MADT may claim to do so. That is why mixed mode is 41# enabled by default. 42# 43 44# Mandatory: 45device apic # I/O apic 46 47# Optional: 48options NO_MIXED_MODE # Disable use of mixed mode 49 50 51##################################################################### 52# CPU OPTIONS 53 54# 55# You must specify at least one CPU (the one you intend to run on); 56# deleting the specification for CPUs you don't need to use may make 57# parts of the system run faster. 58# I386_CPU is mutually exclusive with the other CPU types. 59# 60#cpu I386_CPU 61cpu I486_CPU 62cpu I586_CPU # aka Pentium(tm) 63cpu I686_CPU # aka Pentium Pro(tm) 64 65# 66# Options for CPU features. 67# 68# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 69# CPU if CPU supports it. The default is double-clock mode on 70# BlueLightning CPU box. 71# 72# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 73# BlueLightning CPU. It works only with Cyrix FPU, and this option 74# should not be used with Intel FPU. 75# 76# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 77# 78# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 79# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 80# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 81# 82# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 83# mapped mode. Default is 2-way set associative mode. 84# 85# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables 86# reorder). This option should not be used if you use memory mapped 87# I/O device(s). 88# 89# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 90# machines. VmWare seems to emulate this instruction poorly, causing 91# the guest OS to run very slowly. Enabling this with an SMP kernel 92# will cause the kernel to be unusable. 93# 94# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE. 95# 96# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default 97# on I686_CPU and above. 98# 99# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 100# 101# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 102# for i386 machines. 103# 104# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 105# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 106# (no clock delay). 107# 108# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used 109# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 110# The default value is 5. 111# 112# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 113# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 114# 1). 115# 116# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 117# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 118# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 119# 120# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 121# 122# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 123# enters suspend mode following execution of HALT instruction. 124# 125# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 126# 127# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 128# K5/K6/K6-2 CPUs. 129# 130# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 131# flush at hold state. 132# 133# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 134# without cache flush at hold state, and (2) write-back CPU cache on 135# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 136# 137# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 138# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 139# executed. This option is only needed if I586_CPU is also defined, 140# and should be included for any non-Pentium CPU that defines it. 141# 142# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 143# which indicates that the 15-16MB range is *definitely* not being 144# occupied by an ISA memory hole. 145# 146# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 147# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 148# These options may crash your system. 149# 150# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 151# in write-through mode when revision < 2.7. If revision of Cyrix 152# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 153# 154# NOTE 3: This option may cause failures for software that requires 155# locked cycles in order to operate correctly. 156# 157options CPU_BLUELIGHTNING_3X 158options CPU_BLUELIGHTNING_FPU_OP_CACHE 159options CPU_BTB_EN 160options CPU_DIRECT_MAPPED_CACHE 161options CPU_DISABLE_5X86_LSSER 162options CPU_DISABLE_CMPXCHG 163#options CPU_DISABLE_SSE 164options CPU_ENABLE_SSE 165options CPU_FASTER_5X86_FPU 166options CPU_I486_ON_386 167options CPU_IORT 168options CPU_L2_LATENCY=5 169options CPU_LOOP_EN 170options CPU_PPRO2CELERON 171options CPU_RSTK_EN 172options CPU_SUSP_HLT 173options CPU_UPGRADE_HW_CACHE 174options CPU_WT_ALLOC 175options CYRIX_CACHE_WORKS 176options CYRIX_CACHE_REALLY_WORKS 177#options NO_F00F_HACK 178 179# Debug options 180options NPX_DEBUG # enable npx debugging 181 182# 183# PERFMON causes the driver for Pentium/Pentium Pro performance counters 184# to be compiled. See perfmon(4) for more information. 185# 186options PERFMON 187 188 189##################################################################### 190# NETWORKING OPTIONS 191 192# 193# DEVICE_POLLING adds support for mixed interrupt-polling handling 194# of network device drivers, which has significant benefits in terms 195# of robustness to overloads and responsivity, as well as permitting 196# accurate scheduling of the CPU time between kernel network processing 197# and other activities. The drawback is a moderate (up to 1/HZ seconds) 198# potential increase in response times. 199# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 200# to achieve smoother behaviour. 201# Additionally, you can enable/disable polling at runtime with the 202# sysctl variable kern.polling.enable (defaults off), and select 203# the CPU fraction reserved to userland with the sysctl variable 204# kern.polling.user_frac (default 50, range 0..100). 205# 206# Not all device drivers support this mode of operation at the time of 207# this writing. See polling(4) for more details. 208 209options DEVICE_POLLING 210 211 212##################################################################### 213# CLOCK OPTIONS 214 215# The following options are used for debugging clock behavior only, and 216# should not be used for production systems. 217 218# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at 219# startup until the user presses a key. (The i8254 clock is always 220# calibrated relative to the RTC (mc146818a) and this option causes the 221# calibration to be repeated.) 222options CLK_CALIBRATION_LOOP 223 224# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254 225# clock to actually be used. 226options CLK_USE_I8254_CALIBRATION 227 228 229##################################################################### 230# MISCELLANEOUS DEVICES AND OPTIONS 231 232device speaker #Play IBM BASIC-style noises out your speaker 233hint.speaker.0.at="isa" 234hint.speaker.0.port="0x35" 235device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! 236device apm_saver # Requires APM 237 238 239##################################################################### 240# HARDWARE BUS CONFIGURATION 241 242# 243# ISA bus 244# 245device isa 246 247# 248# Options for `isa': 249# 250# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 251# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 252# This option breaks suspend/resume on some portables. 253# 254# MAXMEM specifies the amount of RAM on the machine; if this is not 255# specified, FreeBSD will first read the amount of memory from the CMOS 256# RAM, so the amount of memory will initially be limited to 64MB or 16MB 257# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 258# then attempt to detect the installed amount of RAM. If this probe 259# fails to detect >64MB RAM you will have to use the MAXMEM option. 260# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 261# be 131072 (128 * 1024). 262# 263# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 264# reset the CPU for reboot. This is needed on some systems with broken 265# keyboard controllers. 266 267options AUTO_EOI_1 268 269options MAXMEM=(128*1024) 270#options BROKEN_KEYBOARD_RESET 271options EPSON_BOUNCEDMA 272options EPSON_MEMWIN 273 274# 275# PCI bus & PCI options: 276# 277device pci 278 279# 280# AGP GART support 281device agp 282 283 284##################################################################### 285# HARDWARE DEVICE CONFIGURATION 286 287# PC98 keyboard 288device pckbd 289hint.pckbd.0.at="isa" 290hint.pckbd.0.port="0x041" 291hint.pckbd.0.irq="1" 292 293# These options are valid for other keyboard drivers as well. 294options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 295options KBD_INSTALL_CDEV # install a CDEV entry in /dev 296 297# GDC screen 298device gdc 299hint.gdc.0.at="isa" 300options LINE30 301 302# 303# The Numeric Processing eXtension driver. In addition to this, you 304# may configure a math emulator (see above). If your machine has a 305# hardware FPU and the kernel configuration includes the npx device 306# *and* a math emulator compiled into the kernel, the hardware FPU 307# will be used, unless it is found to be broken or unless "flags" to 308# npx0 includes "0x08", which requests preference for the emulator. 309device npx 310 311# 312# `flags' for npx0: 313# 0x01 don't use the npx registers to optimize bcopy. 314# 0x02 don't use the npx registers to optimize bzero. 315# 0x04 don't use the npx registers to optimize copyin or copyout. 316# 0x08 use emulator even if hardware FPU is available. 317# The npx registers are normally used to optimize copying and zeroing when 318# all of the following conditions are satisfied: 319# I586_CPU is an option 320# the cpu is an i586 (perhaps not a Pentium) 321# the probe for npx0 succeeds 322# INT 16 exception handling works. 323# Then copying and zeroing using the npx registers is normally 30-100% faster. 324# The flags can be used to control cases where it doesn't work or is slower. 325# Setting them at boot time using userconfig works right (the optimizations 326# are not used until later in the bootstrap when npx0 is attached). 327# Flag 0x08 automatically disables the i586 optimized routines. 328# 329 330# 331# Optional devices: 332# 333 334# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 335# the /dev/3dfx0 device to work with glide implementations. This should get 336# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 337# the tdfx DRI module from XFree86 and is completely unrelated. 338# 339# To enable Linuxulator support, one must also include COMPAT_LINUX in the 340# config as well, or you will not have the dependencies. The other option 341# is to load both as modules. 342 343device tdfx # Enable 3Dfx Voodoo support 344options TDFX_LINUX # Enable Linuxulator support 345 346# DRM options: 347# mgadrm: AGP Matrox G200, G400, G450, G550 348# r128drm: ATI Rage 128 349# radeondrm: ATI Radeon up to 9000/9100 350# sisdrm: SiS 300/305,540,630 351# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee 352# DRM_DEBUG: include debug printfs, very slow 353# 354# mga requires AGP in the kernel, and it is recommended 355# for AGP r128 and radeon cards. 356 357device mgadrm 358device "r128drm" 359device radeondrm 360device sisdrm 361device tdfxdrm 362 363options DRM_DEBUG 364 365# 366# Bus mouse 367# 368device mse 369hint.mse.0.at="isa" 370hint.mse.0.port="0x7fd9" 371hint.mse.0.irq="13" 372 373# 374# Network interfaces: 375# 376 377# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 378# (requires sppp) 379# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 380# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf) 381# (requires miibus) 382# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 383# Intel EtherExpress 384# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 385# Am79C960) 386# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133. 387# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 388# OC-3141, OC-3540 and OC-3250. 389# sbni: Granch SBNI12-xx ISA and PCI adapters 390# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 391# wl: Lucent Wavelan (ISA card only). 392 393# Order for ISA/EISA devices is important here 394 395device ar 396device ed 397#options ED_NO_MIIBUS # Disable ed miibus support 398hint.ed.0.at="isa" 399hint.ed.0.port="0x280" 400hint.ed.0.irq="5" 401hint.ed.0.maddr="0xd8000" 402device ie # Hints only required for Starlan 403hint.ie.2.at="isa" 404hint.ie.2.port="0x300" 405hint.ie.2.irq="5" 406hint.ie.2.maddr="0xd0000" 407device lnc 408hint.lnc.0.at="isa" 409hint.lnc.0.port="0x280" 410hint.lnc.0.irq="10" 411hint.lnc.0.drq="0" 412device sbni 413hint.sbni.0.at="isa" 414hint.sbni.0.port="0x210" 415hint.sbni.0.irq="0xefdead" 416hint.sbni.0.flags="0" 417device snc 418hint.snc.0.at="isa" 419hint.snc.0.port="0x888" 420hint.snc.0.irq="6" 421hint.snc.0.maddr="0xc0000" 422device sr 423device oltr 424device wl 425hint.wl.0.at="isa" 426hint.wl.0.port="0x300" 427options WLCACHE # enables the signal-strength cache 428options WLDEBUG # enables verbose debugging output 429 430# 431# SCSI host adapters: 432# 433# ct: WD33C93[ABC] based SCSI host adapters. 434# ncv: NCR 53C500 based SCSI host adapters. 435# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 436# stg: TMC 18C30, 18C50 based SCSI host adapters. 437 438device ct 439hint.ct.0.at="isa" 440device ncv 441device nsp 442device stg 443 444# 445# SafeNet crypto driver: can be moved to the MI NOTES as soon as 446# it's tested on a big-endian machine 447# 448device safe # SafeNet 1141 449options SAFE_DEBUG # enable debugging support: hw.safe.debug 450options SAFE_RNDTEST # enable rndtest support 451 452##################################################################### 453 454# 455# Miscellaneous hardware: 456# 457# apm: Laptop Advanced Power Management (experimental) 458# pmtimer: Timer device driver for power management events (APM or ACPI) 459# cy: Cyclades serial driver 460# digi: Digiboard driver 461 462# Notes on APM 463# The flags takes the following meaning for apm0: 464# 0x0020 Statclock is broken. 465 466device apm 467hint.apm.0.flags="0x20" 468device canbus 469device canbepm
|
646# 647# Set the number of PV entries per process. Increasing this can 648# stop panics related to heavy use of shared memory. However, that can 649# (combined with large amounts of physical memory) cause panics at 650# boot time due the kernel running out of VM space. 651# 652# If you're tweaking this, you might also want to increase the sysctls 653# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 654# 655# The value below is the one more than the default. 656# 657options PMAP_SHPGPERPROC=201 658 659# 660# Change the size of the kernel virtual address space. Due to 661# constraints in loader(8) on i386, this must be a multiple of 4. 662# 256 = 1 GB of kernel address space. Increasing this also causes 663# a reduction of the address space in user processes. 512 splits 664# the 4GB cpu address space in half (2GB user, 2GB kernel). 665# 666options KVA_PAGES=260 667 668 669##################################################################### 670# ABI Emulation 671 672# Enable iBCS2 runtime support for SCO and ISC binaries 673options IBCS2 674 675# Emulate spx device for client side of SVR3 local X interface 676options SPX_HACK 677 678# Enable Linux ABI emulation 679options COMPAT_LINUX 680 681# Enable i386 a.out binary support 682options COMPAT_AOUT 683 684# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 685# and PSEUDOFS) 686options LINPROCFS 687 688# 689# SysVR4 ABI emulation 690# 691# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 692# a KLD module. 693# The STREAMS network emulation code can also be compiled statically or as a 694# module. If loaded as a module, it must be loaded before the svr4 module 695# (the /usr/sbin/svr4 script does this for you). If compiling statically, 696# the `streams' device must be configured into any kernel which also 697# specifies COMPAT_SVR4. It is possible to have a statically-configured 698# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 699# script understands that it doesn't need to load the `streams' module under 700# those circumstances. 701# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 702# (whether static or dynamic). 703# 704options COMPAT_SVR4 # build emulator statically 705options DEBUG_SVR4 # enable verbose debugging 706device streams # STREAMS network driver (required for svr4). 707 708 709##################################################################### 710# VM OPTIONS 711 712# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 713# kernel to use a 4 MByte pages to map the kernel instead of 4k pages. 714# This saves on the amount of memory needed for page tables needed to 715# map the kernel. You should only disable this feature as a temporary 716# workaround if you are having problems with it enabled. 717# 718#options DISABLE_PSE 719 720# Disable the global pages PGE CPU feature. The PGE feature allows pages 721# to be marked with the PG_G bit. TLB entries for these pages are not 722# flushed from the cache when %cr3 is reloaded. This can make context 723# switches less expensive. You should only disable this feature as a 724# temporary workaround if you are having problems with it enabled. 725# 726#options DISABLE_PG_G 727 728# KSTACK_PAGES is the number of memory pages to assign to the kernel 729# stack of each thread. 730 731options KSTACK_PAGES=3 732 733##################################################################### 734 735# More undocumented options for linting. 736# Note that documenting these are not considered an affront. 737 738options FB_INSTALL_CDEV # install a CDEV entry in /dev 739 740# PECOFF module (Win32 Execution Format) 741options PECOFF_SUPPORT 742options PECOFF_DEBUG 743 744options I4B_SMP_WORKAROUND 745options I586_PMC_GUPROF=0x70000 746options KBDIO_DEBUG=2 747options KBD_MAXRETRY=4 748options KBD_MAXWAIT=6 749options KBD_RESETDELAY=201 750 751options TIMER_FREQ=((14318182+6)/12) 752 753options VM_KMEM_SIZE 754options VM_KMEM_SIZE_MAX 755options VM_KMEM_SIZE_SCALE 756 757 758##################################################################### 759# Devices we don't want to deal with 760 761nodevice atkbdc 762nodevice atkbd 763nodevice psm 764nodevice vga 765nodevice bt 766nodevice adw 767nodevice aha 768nodevice ahb 769nodevice ahd 770nodevice mpt 771nodevice trm 772nodevice wds 773nodevice asr 774nodevice dpt 775nodevice ciss 776nodevice iir 777nodevice mly 778nodevice ida # Compaq Smart RAID 779nodevice mlx # Mylex DAC960 780nodevice amr # AMI MegaRAID 781nodevice twe # 3ware ATA RAID 782nodevice ataraid 783nodevice cm 784nodevice cs 785nodevice ex 786nodevice fea 787nodevice cbb 788nodevice pccard 789nodevice cardbus 790nodevice intpm 791nodevice alpm 792nodevice ichsmb 793nodevice viapm 794nodevice amdpm 795nodevice nfpm 796 797 798##################################################################### 799# Options we don't want to deal with 800 801nooption VGA_DEBUG 802nooption VGA_WIDTH90 803nooption VGA_SLOW_IOACCESS 804nooption VGA_ALT_SEQACCESS 805nooption PSM_RESETAFTERSUSPEND 806nooption PSM_HOOKRESUME 807nooption ATKBD_DFLT_KEYMAP 808nooption AHD_DEBUG 809nooption AHD_DEBUG_OPTS 810nooption AHD_REG_PRETTY_PRINT 811nooption ADW_ALLOW_MEMIO 812nooption DPT_LOST_IRQ 813nooption DPT_RESET_HBA 814nooption DPT_TIMEOUT_FACTOR 815nooption AAC_DEBUG 816nooption ACPI_MAX_THREADS 817 818 819##################################################################### 820# Make options we don't want to deal with 821 822nomakeoption ATKBD_DFLT_KEYMAP
| 645# 646# Set the number of PV entries per process. Increasing this can 647# stop panics related to heavy use of shared memory. However, that can 648# (combined with large amounts of physical memory) cause panics at 649# boot time due the kernel running out of VM space. 650# 651# If you're tweaking this, you might also want to increase the sysctls 652# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 653# 654# The value below is the one more than the default. 655# 656options PMAP_SHPGPERPROC=201 657 658# 659# Change the size of the kernel virtual address space. Due to 660# constraints in loader(8) on i386, this must be a multiple of 4. 661# 256 = 1 GB of kernel address space. Increasing this also causes 662# a reduction of the address space in user processes. 512 splits 663# the 4GB cpu address space in half (2GB user, 2GB kernel). 664# 665options KVA_PAGES=260 666 667 668##################################################################### 669# ABI Emulation 670 671# Enable iBCS2 runtime support for SCO and ISC binaries 672options IBCS2 673 674# Emulate spx device for client side of SVR3 local X interface 675options SPX_HACK 676 677# Enable Linux ABI emulation 678options COMPAT_LINUX 679 680# Enable i386 a.out binary support 681options COMPAT_AOUT 682 683# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 684# and PSEUDOFS) 685options LINPROCFS 686 687# 688# SysVR4 ABI emulation 689# 690# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 691# a KLD module. 692# The STREAMS network emulation code can also be compiled statically or as a 693# module. If loaded as a module, it must be loaded before the svr4 module 694# (the /usr/sbin/svr4 script does this for you). If compiling statically, 695# the `streams' device must be configured into any kernel which also 696# specifies COMPAT_SVR4. It is possible to have a statically-configured 697# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 698# script understands that it doesn't need to load the `streams' module under 699# those circumstances. 700# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 701# (whether static or dynamic). 702# 703options COMPAT_SVR4 # build emulator statically 704options DEBUG_SVR4 # enable verbose debugging 705device streams # STREAMS network driver (required for svr4). 706 707 708##################################################################### 709# VM OPTIONS 710 711# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 712# kernel to use a 4 MByte pages to map the kernel instead of 4k pages. 713# This saves on the amount of memory needed for page tables needed to 714# map the kernel. You should only disable this feature as a temporary 715# workaround if you are having problems with it enabled. 716# 717#options DISABLE_PSE 718 719# Disable the global pages PGE CPU feature. The PGE feature allows pages 720# to be marked with the PG_G bit. TLB entries for these pages are not 721# flushed from the cache when %cr3 is reloaded. This can make context 722# switches less expensive. You should only disable this feature as a 723# temporary workaround if you are having problems with it enabled. 724# 725#options DISABLE_PG_G 726 727# KSTACK_PAGES is the number of memory pages to assign to the kernel 728# stack of each thread. 729 730options KSTACK_PAGES=3 731 732##################################################################### 733 734# More undocumented options for linting. 735# Note that documenting these are not considered an affront. 736 737options FB_INSTALL_CDEV # install a CDEV entry in /dev 738 739# PECOFF module (Win32 Execution Format) 740options PECOFF_SUPPORT 741options PECOFF_DEBUG 742 743options I4B_SMP_WORKAROUND 744options I586_PMC_GUPROF=0x70000 745options KBDIO_DEBUG=2 746options KBD_MAXRETRY=4 747options KBD_MAXWAIT=6 748options KBD_RESETDELAY=201 749 750options TIMER_FREQ=((14318182+6)/12) 751 752options VM_KMEM_SIZE 753options VM_KMEM_SIZE_MAX 754options VM_KMEM_SIZE_SCALE 755 756 757##################################################################### 758# Devices we don't want to deal with 759 760nodevice atkbdc 761nodevice atkbd 762nodevice psm 763nodevice vga 764nodevice bt 765nodevice adw 766nodevice aha 767nodevice ahb 768nodevice ahd 769nodevice mpt 770nodevice trm 771nodevice wds 772nodevice asr 773nodevice dpt 774nodevice ciss 775nodevice iir 776nodevice mly 777nodevice ida # Compaq Smart RAID 778nodevice mlx # Mylex DAC960 779nodevice amr # AMI MegaRAID 780nodevice twe # 3ware ATA RAID 781nodevice ataraid 782nodevice cm 783nodevice cs 784nodevice ex 785nodevice fea 786nodevice cbb 787nodevice pccard 788nodevice cardbus 789nodevice intpm 790nodevice alpm 791nodevice ichsmb 792nodevice viapm 793nodevice amdpm 794nodevice nfpm 795 796 797##################################################################### 798# Options we don't want to deal with 799 800nooption VGA_DEBUG 801nooption VGA_WIDTH90 802nooption VGA_SLOW_IOACCESS 803nooption VGA_ALT_SEQACCESS 804nooption PSM_RESETAFTERSUSPEND 805nooption PSM_HOOKRESUME 806nooption ATKBD_DFLT_KEYMAP 807nooption AHD_DEBUG 808nooption AHD_DEBUG_OPTS 809nooption AHD_REG_PRETTY_PRINT 810nooption ADW_ALLOW_MEMIO 811nooption DPT_LOST_IRQ 812nooption DPT_RESET_HBA 813nooption DPT_TIMEOUT_FACTOR 814nooption AAC_DEBUG 815nooption ACPI_MAX_THREADS 816 817 818##################################################################### 819# Make options we don't want to deal with 820 821nomakeoption ATKBD_DFLT_KEYMAP
|