NOTES revision 145743
1# 2# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 3# 4# This file contains machine dependent kernel configuration notes. For 5# machine independent notes, look in /sys/conf/NOTES. 6# 7# $FreeBSD: head/sys/pc98/conf/NOTES 145743 2005-05-01 04:00:12Z nyan $ 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 i386 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 32# Mandatory: 33device apic # I/O apic 34 35# 36# Watchdog routines. 37# 38options MP_WATCHDOG 39 40# Debugging options. 41# 42options KDB_STOP_NMI # Stop CPUS using NMI instead of IPI 43 44 45 46##################################################################### 47# CPU OPTIONS 48 49# 50# You must specify at least one CPU (the one you intend to run on); 51# deleting the specification for CPUs you don't need to use may make 52# parts of the system run faster. 53# 54cpu I486_CPU 55cpu I586_CPU # aka Pentium(tm) 56cpu I686_CPU # aka Pentium Pro(tm) 57 58# 59# Options for CPU features. 60# 61# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 62# CPU if CPU supports it. The default is double-clock mode on 63# BlueLightning CPU box. 64# 65# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 66# BlueLightning CPU. It works only with Cyrix FPU, and this option 67# should not be used with Intel FPU. 68# 69# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 70# 71# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 72# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 73# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 74# 75# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 76# mapped mode. Default is 2-way set associative mode. 77# 78# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables 79# reorder). This option should not be used if you use memory mapped 80# I/O device(s). 81# 82# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32 83# machines. VmWare 3.x seems to emulate this instruction poorly, causing 84# the guest OS to run very slowly. This problem appears to be fixed in 85# VmWare 4.x, at least in version 4.5.2, so that enabling this option with 86# VmWare 4.x will result in locking operations to be 20-30 times slower. 87# Enabling this with an SMP kernel will cause the kernel to be unusable. 88# 89# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE. 90# 91# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default 92# on I686_CPU and above. 93# 94# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 95# 96# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 97# for i386 machines. 98# 99# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 100# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 101# (no clock delay). 102# 103# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used 104# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 105# The default value is 5. 106# 107# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 108# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 109# 1). 110# 111# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 112# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 113# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 114# 115# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 116# 117# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 118# enters suspend mode following execution of HALT instruction. 119# 120# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 121# 122# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 123# K5/K6/K6-2 CPUs. 124# 125# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 126# flush at hold state. 127# 128# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 129# without cache flush at hold state, and (2) write-back CPU cache on 130# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 131# 132# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 133# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 134# executed. This option is only needed if I586_CPU is also defined, 135# and should be included for any non-Pentium CPU that defines it. 136# 137# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 138# which indicates that the 15-16MB range is *definitely* not being 139# occupied by an ISA memory hole. 140# 141# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 142# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 143# These options may crash your system. 144# 145# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 146# in write-through mode when revision < 2.7. If revision of Cyrix 147# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 148# 149# NOTE 3: This option may cause failures for software that requires 150# locked cycles in order to operate correctly. 151# 152options CPU_BLUELIGHTNING_3X 153options CPU_BLUELIGHTNING_FPU_OP_CACHE 154options CPU_BTB_EN 155options CPU_DIRECT_MAPPED_CACHE 156options CPU_DISABLE_5X86_LSSER 157options CPU_DISABLE_CMPXCHG 158#options CPU_DISABLE_SSE 159options CPU_ENABLE_SSE 160options CPU_FASTER_5X86_FPU 161options CPU_I486_ON_386 162options CPU_IORT 163options CPU_L2_LATENCY=5 164options CPU_LOOP_EN 165options CPU_PPRO2CELERON 166options CPU_RSTK_EN 167options CPU_SUSP_HLT 168options CPU_UPGRADE_HW_CACHE 169options CPU_WT_ALLOC 170options CYRIX_CACHE_WORKS 171options CYRIX_CACHE_REALLY_WORKS 172#options NO_F00F_HACK 173 174# Debug options 175options NPX_DEBUG # enable npx debugging 176 177# 178# PERFMON causes the driver for Pentium/Pentium Pro performance counters 179# to be compiled. See perfmon(4) for more information. 180# 181options PERFMON 182 183 184##################################################################### 185# NETWORKING OPTIONS 186 187# 188# DEVICE_POLLING adds support for mixed interrupt-polling handling 189# of network device drivers, which has significant benefits in terms 190# of robustness to overloads and responsivity, as well as permitting 191# accurate scheduling of the CPU time between kernel network processing 192# and other activities. The drawback is a moderate (up to 1/HZ seconds) 193# potential increase in response times. 194# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 195# to achieve smoother behaviour. 196# Additionally, you can enable/disable polling at runtime with the 197# sysctl variable kern.polling.enable (defaults off), and select 198# the CPU fraction reserved to userland with the sysctl variable 199# kern.polling.user_frac (default 50, range 0..100). 200# 201# Not all device drivers support this mode of operation at the time of 202# this writing. See polling(4) for more details. 203 204options DEVICE_POLLING 205 206 207##################################################################### 208# CLOCK OPTIONS 209 210# The following options are used for debugging clock behavior only, and 211# should not be used for production systems. 212 213# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at 214# startup until the user presses a key. (The i8254 clock is always 215# calibrated relative to the RTC (mc146818a) and this option causes the 216# calibration to be repeated.) 217options CLK_CALIBRATION_LOOP 218 219# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254 220# clock to actually be used. 221options CLK_USE_I8254_CALIBRATION 222 223 224##################################################################### 225# MISCELLANEOUS DEVICES AND OPTIONS 226 227device speaker #Play IBM BASIC-style noises out your speaker 228hint.speaker.0.at="isa" 229hint.speaker.0.port="0x35" 230device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! 231device apm_saver # Requires APM 232 233 234##################################################################### 235# HARDWARE BUS CONFIGURATION 236 237# 238# ISA bus 239# 240device isa 241 242# 243# Options for `isa': 244# 245# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 246# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 247# This option breaks suspend/resume on some portables. 248# 249# MAXMEM specifies the amount of RAM on the machine; if this is not 250# specified, FreeBSD will first read the amount of memory from the CMOS 251# RAM, so the amount of memory will initially be limited to 64MB or 16MB 252# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 253# then attempt to detect the installed amount of RAM. If this probe 254# fails to detect >64MB RAM you will have to use the MAXMEM option. 255# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 256# be 131072 (128 * 1024). 257# 258# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 259# reset the CPU for reboot. This is needed on some systems with broken 260# keyboard controllers. 261 262options AUTO_EOI_1 263 264options MAXMEM=(128*1024) 265#options BROKEN_KEYBOARD_RESET 266options EPSON_BOUNCEDMA 267options EPSON_MEMWIN 268 269# 270# PCI bus & PCI options: 271# 272device pci 273 274# 275# AGP GART support 276device agp 277 278 279##################################################################### 280# HARDWARE DEVICE CONFIGURATION 281 282# PC98 keyboard 283device pckbd 284hint.pckbd.0.at="isa" 285hint.pckbd.0.port="0x041" 286hint.pckbd.0.irq="1" 287 288# These options are valid for other keyboard drivers as well. 289options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 290options KBD_INSTALL_CDEV # install a CDEV entry in /dev 291 292# GDC screen 293device gdc 294hint.gdc.0.at="isa" 295options LINE30 296 297# 298# The Numeric Processing eXtension driver. This is non-optional. 299device npx 300 301# 302# `flags' for npx0: 303# 0x01 don't use the npx registers to optimize bcopy. 304# 0x02 don't use the npx registers to optimize bzero. 305# 0x04 don't use the npx registers to optimize copyin or copyout. 306# The npx registers are normally used to optimize copying and zeroing when 307# all of the following conditions are satisfied: 308# I586_CPU is an option 309# the cpu is an i586 (perhaps not a Pentium) 310# the probe for npx0 succeeds 311# INT 16 exception handling works. 312# Then copying and zeroing using the npx registers is normally 30-100% faster. 313# The flags can be used to control cases where it doesn't work or is slower. 314# Setting them at boot time using hints works right (the optimizations 315# are not used until later in the bootstrap when npx0 is attached). 316# Flag 0x08 automatically disables the i586 optimized routines. 317# 318 319# 320# Optional devices: 321# 322 323# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 324# the /dev/3dfx0 device to work with glide implementations. This should get 325# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 326# the tdfx DRI module from XFree86 and is completely unrelated. 327# 328# To enable Linuxulator support, one must also include COMPAT_LINUX in the 329# config as well, or you will not have the dependencies. The other option 330# is to load both as modules. 331 332device tdfx # Enable 3Dfx Voodoo support 333options TDFX_LINUX # Enable Linuxulator support 334 335# Direct Rendering modules for 3D acceleration. 336device drm # DRM core module required by DRM drivers 337device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL 338device mgadrm # AGP Matrox G200, G400, G450, G550 339device r128drm # ATI Rage 128 340device radeondrm # ATI Radeon up to 9200 341device sisdrm # SiS 300/305, 540, 630 342device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee 343options DRM_DEBUG # Include debug printfs (slow) 344 345# 346# Bus mouse 347# 348device mse 349hint.mse.0.at="isa" 350hint.mse.0.port="0x7fd9" 351hint.mse.0.irq="13" 352 353# 354# Network interfaces: 355# 356 357# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 358# (requires sppp) 359# cp: Cronyx Tau-PCI sync single/dual/four port 360# V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1 361# serial adaptor (requires sppp (default), or NETGRAPH if 362# NETGRAPH_CRONYX is configured) 363# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 364# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf) 365# (requires miibus) 366# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 367# Intel EtherExpress 368# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 369# Am79C960) 370# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133. 371# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 372# OC-3141, OC-3540 and OC-3250. 373# sbni: Granch SBNI12-xx ISA and PCI adapters 374# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 375 376# Order for ISA/EISA devices is important here 377 378device ar 379device cp 380device ed 381#options ED_NO_MIIBUS # Disable ed miibus support 382hint.ed.0.at="isa" 383hint.ed.0.port="0x280" 384hint.ed.0.irq="5" 385hint.ed.0.maddr="0xd8000" 386device ie # Hints only required for Starlan 387hint.ie.2.at="isa" 388hint.ie.2.port="0x300" 389hint.ie.2.irq="5" 390hint.ie.2.maddr="0xd0000" 391device lnc 392hint.lnc.0.at="isa" 393hint.lnc.0.port="0x280" 394hint.lnc.0.irq="10" 395hint.lnc.0.drq="0" 396device sbni 397hint.sbni.0.at="isa" 398hint.sbni.0.port="0x210" 399hint.sbni.0.irq="0xefdead" 400hint.sbni.0.flags="0" 401device snc 402hint.snc.0.at="isa" 403hint.snc.0.port="0x888" 404hint.snc.0.irq="6" 405hint.snc.0.maddr="0xc0000" 406device sr 407device oltr 408 409# 410# SCSI host adapters: 411# 412# ct: WD33C93[ABC] based SCSI host adapters. 413# ncv: NCR 53C500 based SCSI host adapters. 414# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 415# stg: TMC 18C30, 18C50 based SCSI host adapters. 416 417device ct 418hint.ct.0.at="isa" 419device ncv 420device nsp 421device stg 422 423# 424# SafeNet crypto driver: can be moved to the MI NOTES as soon as 425# it's tested on a big-endian machine 426# 427device safe # SafeNet 1141 428options SAFE_DEBUG # enable debugging support: hw.safe.debug 429options SAFE_RNDTEST # enable rndtest support 430 431##################################################################### 432 433# 434# Miscellaneous hardware: 435# 436# apm: Laptop Advanced Power Management (experimental) 437# pmtimer: Timer device driver for power management events (APM or ACPI) 438# cy: Cyclades serial driver 439# digi: Digiboard driver 440 441# Notes on APM 442# The flags takes the following meaning for apm0: 443# 0x0020 Statclock is broken. 444 445device apm 446hint.apm.0.flags="0x20" 447device canbus 448device canbepm 449device cy 450options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 451device digi 452# BIOS & FEP/OS components of device digi. 453device digi_CX 454device digi_CX_PCI 455device digi_EPCX 456device digi_EPCX_PCI 457device digi_Xe 458device digi_Xem 459device digi_Xr 460device olpt 461hint.olpt.0.at="isa" 462hint.olpt.0.port="0x040" 463device pmc 464hint.pmc.0.at="isa" 465hint.pmc.0.port="0x8f0" 466device pmtimer # Adjust system timer at wakeup time 467# sx device is i386 and pc98 only at the moment. 468device sx 469options SX_DEBUG 470 471# 472# Laptop/Notebook options: 473# 474# See also: 475# apm under `Miscellaneous hardware' 476# above. 477 478# For older notebooks that signal a powerfail condition (external 479# power supply dropped, or battery state low) by issuing an NMI: 480 481options POWERFAIL_NMI # make it beep instead of panicing 482 483# 484# PC Card/PCMCIA 485# (OLDCARD) 486# 487# card: pccard slots 488# pcic: isa/pccard bridge 489device pcic 490hint.pcic.0.at="isa" 491#hint.pcic.1.at="isa" 492device card 493 494#--------------------------------------------------------------------------- 495# ISDN4BSD 496# 497# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 498# 499# i4b passive ISDN cards support contains the following hardware drivers: 500# 501# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 502# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 503# ifpi - AVM Fritz!Card PCI driver 504# ifpi2 - AVM Fritz!Card PCI version 2 driver 505# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 506# ifpnp - AVM Fritz!Card PnP driver 507# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 508# 509# i4b active ISDN cards support contains the following hardware drivers: 510# 511# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 512# 513# Note that the ``options'' (if given) and ``device'' lines must BOTH 514# be uncommented to enable support for a given card ! 515# 516# In addition to a hardware driver (and probably an option) the mandatory 517# ISDN protocol stack devices and the mandatory support device must be 518# enabled as well as one or more devices from the optional devices section. 519# 520#--------------------------------------------------------------------------- 521# isic driver (Siemens/Infineon chipsets) 522# 523device isic 524# 525# PCI bus Cards: 526# -------------- 527# 528# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 529options ELSA_QS1PCI 530# 531#--------------------------------------------------------------------------- 532# ifpnp driver for AVM Fritz!Card PnP 533# 534# AVM Fritz!Card PnP 535device ifpnp 536# 537#--------------------------------------------------------------------------- 538# ihfc driver for Cologne Chip ISA chipsets (experimental!) 539# 540# Teles 16.3c ISA PnP 541# AcerISDN P10 ISA PnP 542# TELEINT ISDN SPEED No.1 543device ihfc 544# 545#--------------------------------------------------------------------------- 546# ifpi driver for AVM Fritz!Card PCI 547# 548# AVM Fritz!Card PCI 549device ifpi 550# 551#--------------------------------------------------------------------------- 552# ifpi2 driver for AVM Fritz!Card PCI version 2 553# 554# AVM Fritz!Card PCI version 2 555device ifpi2 556# 557#--------------------------------------------------------------------------- 558# iwic driver for Winbond W6692 chipset 559# 560# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 561device iwic 562# 563#--------------------------------------------------------------------------- 564# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset 565# 566# Traverse Technologies NETjet-S 567# Teles PCI-TJ 568device itjc 569# 570#--------------------------------------------------------------------------- 571# iavc driver (AVM active cards, needs i4bcapi driver!) 572# 573device iavc 574# 575#--------------------------------------------------------------------------- 576# ISDN Protocol Stack - mandatory for all hardware drivers 577# 578# Q.921 / layer 2 - i4b passive cards D channel handling 579device i4bq921 580# 581# Q.931 / layer 3 - i4b passive cards D channel handling 582device i4bq931 583# 584# layer 4 - i4b common passive and active card handling 585device i4b 586# 587#--------------------------------------------------------------------------- 588# ISDN devices - mandatory for all hardware drivers 589# 590# userland driver to do ISDN tracing (for passive cards only) 591device i4btrc 592options NI4BTRC=4 593# 594# userland driver to control the whole thing 595device i4bctl 596# 597#--------------------------------------------------------------------------- 598# ISDN devices - optional 599# 600# userland driver for access to raw B channel 601device i4brbch 602options NI4BRBCH=4 603# 604# userland driver for telephony 605device i4btel 606options NI4BTEL=2 607# 608# network driver for IP over raw HDLC ISDN 609device i4bipr 610options NI4BIPR=4 611# enable VJ header compression detection for ipr i/f 612options IPR_VJ 613# enable logging of the first n IP packets to isdnd (n=32 here) 614options IPR_LOG=32 615# 616# network driver for sync PPP over ISDN; requires an equivalent 617# number of sppp device to be configured 618device i4bisppp 619options NI4BISPPP=4 620# 621# B-channel interface to the netgraph subsystem 622device i4bing 623options NI4BING=2 624# 625# CAPI driver needed for active ISDN cards (see iavc driver above) 626device i4bcapi 627# 628#--------------------------------------------------------------------------- 629 630# 631# Set the number of PV entries per process. Increasing this can 632# stop panics related to heavy use of shared memory. However, that can 633# (combined with large amounts of physical memory) cause panics at 634# boot time due the kernel running out of VM space. 635# 636# If you're tweaking this, you might also want to increase the sysctls 637# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 638# 639# The value below is the one more than the default. 640# 641options PMAP_SHPGPERPROC=201 642 643# 644# Change the size of the kernel virtual address space. Due to 645# constraints in loader(8) on i386, this must be a multiple of 4. 646# 256 = 1 GB of kernel address space. Increasing this also causes 647# a reduction of the address space in user processes. 512 splits 648# the 4GB cpu address space in half (2GB user, 2GB kernel). 649# 650options KVA_PAGES=260 651 652 653##################################################################### 654# ABI Emulation 655 656# Enable iBCS2 runtime support for SCO and ISC binaries 657options IBCS2 658 659# Emulate spx device for client side of SVR3 local X interface 660options SPX_HACK 661 662# Enable Linux ABI emulation 663options COMPAT_LINUX 664 665# Enable i386 a.out binary support 666options COMPAT_AOUT 667 668# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 669# and PSEUDOFS) 670options LINPROCFS 671 672# 673# SysVR4 ABI emulation 674# 675# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 676# a KLD module. 677# The STREAMS network emulation code can also be compiled statically or as a 678# module. If loaded as a module, it must be loaded before the svr4 module 679# (the /usr/sbin/svr4 script does this for you). If compiling statically, 680# the `streams' device must be configured into any kernel which also 681# specifies COMPAT_SVR4. It is possible to have a statically-configured 682# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 683# script understands that it doesn't need to load the `streams' module under 684# those circumstances. 685# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 686# (whether static or dynamic). 687# 688options COMPAT_SVR4 # build emulator statically 689options DEBUG_SVR4 # enable verbose debugging 690device streams # STREAMS network driver (required for svr4). 691 692 693##################################################################### 694# VM OPTIONS 695 696# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 697# kernel to use 4 MByte pages to map the kernel instead of 4k pages. 698# This saves on the amount of memory needed for page tables needed to 699# map the kernel. You should only disable this feature as a temporary 700# workaround if you are having problems with it enabled. 701# 702#options DISABLE_PSE 703 704# Disable the global pages PGE CPU feature. The PGE feature allows pages 705# to be marked with the PG_G bit. TLB entries for these pages are not 706# flushed from the cache when %cr3 is reloaded. This can make context 707# switches less expensive. You should only disable this feature as a 708# temporary workaround if you are having problems with it enabled. 709# 710#options DISABLE_PG_G 711 712# KSTACK_PAGES is the number of memory pages to assign to the kernel 713# stack of each thread. 714 715options KSTACK_PAGES=3 716 717##################################################################### 718 719# More undocumented options for linting. 720# Note that documenting these are not considered an affront. 721 722options FB_INSTALL_CDEV # install a CDEV entry in /dev 723 724# PECOFF module (Win32 Execution Format) 725options PECOFF_SUPPORT 726options PECOFF_DEBUG 727 728options I4B_SMP_WORKAROUND 729options I586_PMC_GUPROF=0x70000 730options KBDIO_DEBUG=2 731options KBD_MAXRETRY=4 732options KBD_MAXWAIT=6 733options KBD_RESETDELAY=201 734 735options TIMER_FREQ=((14318182+6)/12) 736 737options VM_KMEM_SIZE 738options VM_KMEM_SIZE_MAX 739options VM_KMEM_SIZE_SCALE 740 741 742# The I/O device 743device io 744 745 746##################################################################### 747# Devices we don't want to deal with 748 749nodevice atkbdc 750nodevice atkbd 751nodevice psm 752nodevice vga 753nodevice bt 754nodevice adw 755nodevice aha 756nodevice ahb 757nodevice ahd 758nodevice mpt 759nodevice trm 760nodevice wds 761nodevice asr 762nodevice dpt 763nodevice ciss 764nodevice iir 765nodevice mly 766nodevice ida # Compaq Smart RAID 767nodevice mlx # Mylex DAC960 768nodevice amr # AMI MegaRAID 769nodevice twe # 3ware ATA RAID 770nodevice ataraid 771nodevice cm 772nodevice cs 773nodevice ex 774nodevice fea 775nodevice cbb 776nodevice pccard 777nodevice cardbus 778nodevice intpm 779nodevice alpm 780nodevice ichsmb 781nodevice viapm 782nodevice amdpm 783nodevice nfpm 784 785 786##################################################################### 787# Options we don't want to deal with 788 789nooption VGA_DEBUG 790nooption VGA_WIDTH90 791nooption VGA_SLOW_IOACCESS 792nooption VGA_ALT_SEQACCESS 793nooption PSM_RESETAFTERSUSPEND 794nooption PSM_HOOKRESUME 795nooption ATKBD_DFLT_KEYMAP 796nooption AHD_DEBUG 797nooption AHD_DEBUG_OPTS 798nooption AHD_REG_PRETTY_PRINT 799nooption ADW_ALLOW_MEMIO 800nooption DPT_LOST_IRQ 801nooption DPT_RESET_HBA 802nooption DPT_TIMEOUT_FACTOR 803nooption AAC_DEBUG 804nooption ACPI_MAX_THREADS 805 806 807##################################################################### 808# Make options we don't want to deal with 809 810nomakeoption ATKBD_DFLT_KEYMAP 811