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 124795 2004-01-21 16:28:19Z 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 --- 22 unchanged lines hidden (view full) --- 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); --- 4 unchanged lines hidden (view full) --- 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 a SMP kernel 92# will cause the kernel to be unusable. 93# 94# CPU_DISABLE_SSE explicitly prevent 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 --- 32 unchanged lines hidden (view full) --- 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# --- 21 unchanged lines hidden (view full) --- 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 --- 36 unchanged lines hidden (view full) --- 280# 281# AGP GART support 282device agp 283 284 285##################################################################### 286# HARDWARE DEVICE CONFIGURATION 287 |
288# PC98 keyboard 289device pckbd 290hint.pckbd.0.at="isa" 291hint.pckbd.0.port="0x041" 292hint.pckbd.0.irq="1" 293 294# These options are valid for other keyboard drivers as well. 295options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap --- 31 unchanged lines hidden (view full) --- 327# are not used until later in the bootstrap when npx0 is attached). 328# Flag 0x08 automatically disables the i586 optimized routines. 329# 330 331# 332# Optional devices: 333# 334 |
335# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 336# the /dev/3dfx0 device to work with glide implementations. This should get 337# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as |
338# the tdfx DRI module from XFree86 and is completely unrelated. 339# 340# To enable Linuxulator support, one must also include COMPAT_LINUX in the |
341# config as well, or you will not have the dependencies. The other option |
342# is to load both as modules. 343 344device tdfx # Enable 3Dfx Voodoo support 345options TDFX_LINUX # Enable Linuxulator support 346 347# DRM options: 348# mgadrm: AGP Matrox G200, G400, G450, G550 349# r128drm: ATI Rage 128 --- 136 unchanged lines hidden (view full) --- 486# 487# Miscellaneous hardware: 488# 489# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 490# ctx: Cortex-I frame grabber 491# apm: Laptop Advanced Power Management (experimental) 492# pmtimer: Timer device driver for power management events (APM or ACPI) 493# spigot: The Creative Labs Video Spigot video-acquisition board |
494# cy: Cyclades serial driver |
495# digi: Digiboard driver 496# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB 497# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 498# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 499 500# Notes on APM 501# The flags takes the following meaning for apm0: 502# 0x0020 Statclock is broken. |
503 504# Notes on the spigot: 505# The video spigot is at 0xad6. This port address can not be changed. 506# The irq values may only be 10, 11, or 15 507# I/O memory is an 8kb region. Possible values are: 508# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 509# The start address must be on an even boundary. 510# Add the following option if you want to allow non-root users to be able --- 4 unchanged lines hidden (view full) --- 515# Notes on the Specialix SI/XIO driver: 516# The host card is memory, not IO mapped. 517# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 518# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 519# The cards can use an IRQ of 11, 12 or 15. 520 521# Notes on the Sony Programmable I/O controller 522# This is a temporary driver that should someday be replaced by something |
523# that hooks into the ACPI layer. The device is hooked to the PIIX4's |
524# General Device 10 decoder, which means you have to fiddle with PCI 525# registers to map it in, even though it is otherwise treated here as |
526# an ISA device. At the moment, the driver polls, although the device 527# is capable of generating interrupts. It largely undocumented. |
528# The port location in the hint is where you WANT the device to be |
529# mapped. 0x10a0 seems to be traditional. At the moment the jogdial |
530# is the only thing truly supported, but aparently a fair percentage 531# of the Vaio extra features are controlled by this device. 532 533# Notes on the Stallion stl and stli drivers: 534# See src/i386/isa/README.stl for complete instructions. 535# This is version 0.0.5alpha, unsupported by Stallion. 536# The stl driver has a secondary IO port hard coded at 0x280. You need 537# to change src/i386/isa/stallion.c if you reconfigure this on the boards. --- 18 unchanged lines hidden (view full) --- 556hint.ctx.0.maddr="0xd0000" 557device spigot 1 558hint.spigot.0.at="isa" 559hint.spigot.0.port="0xad6" 560hint.spigot.0.irq="15" 561hint.spigot.0.maddr="0xee000" 562device apm 563hint.apm.0.flags="0x20" |
564device canbus 565device canbepm |
566device pmc |
567hint.pmc.0.at="isa" 568hint.pmc.0.port="0x8f0" 569device pmtimer # Adjust system timer at wakeup time |
570device cy 1 571options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 572hint.cy.0.at="isa" 573hint.cy.0.irq="10" 574hint.cy.0.maddr="0xd4000" 575hint.cy.0.msize="0x2000" |
576device digi 577hint.digi.0.at="isa" 578hint.digi.0.port="0x104" 579hint.digi.0.maddr="0xd0000" 580# BIOS & FEP/OS components of device digi. 581device digi_CX 582device digi_CX_PCI 583device digi_EPCX 584device digi_EPCX_PCI 585device digi_Xe 586device digi_Xem 587device digi_Xr |
588device gp 589hint.gp.0.at="isa" 590hint.gp.0.port="0x2c0" 591device olpt 592hint.olpt.0.at="isa" 593hint.olpt.0.port="0x040" |
594device stl 595hint.stl.0.at="isa" 596hint.stl.0.port="0x2a0" 597hint.stl.0.irq="10" 598device stli 599hint.stli.0.at="isa" 600hint.stli.0.port="0x2a0" 601hint.stli.0.maddr="0xcc000" 602hint.stli.0.flags="23" 603hint.stli.0.msize="0x1000" |
604 605# 606# Laptop/Notebook options: 607# 608# See also: 609# apm under `Miscellaneous hardware' 610# above. 611 --- 8 unchanged lines hidden (view full) --- 620# 621# card: pccard slots 622# pcic: isa/pccard bridge 623device pcic 624hint.pcic.0.at="isa" 625#hint.pcic.1.at="isa" 626device card 1 627 |
628#--------------------------------------------------------------------------- 629# ISDN4BSD 630# 631# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 632# 633# i4b passive ISDN cards support contains the following hardware drivers: 634# 635# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver --- 18 unchanged lines hidden (view full) --- 654#--------------------------------------------------------------------------- 655# isic driver (Siemens/Infineon chipsets) 656# 657device isic 658# 659# PCI bus Cards: 660# -------------- 661# |
662# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 663options ELSA_QS1PCI 664# |
665#--------------------------------------------------------------------------- 666# ifpnp driver for AVM Fritz!Card PnP 667# 668# AVM Fritz!Card PnP 669device ifpnp 670# 671#--------------------------------------------------------------------------- 672# ihfc driver for Cologne Chip ISA chipsets (experimental!) --- 85 unchanged lines hidden (view full) --- 758# 759# CAPI driver needed for active ISDN cards (see iavc driver above) 760device "i4bcapi" 761# 762#--------------------------------------------------------------------------- 763 764# 765# Set the number of PV entries per process. Increasing this can |
766# stop panics related to heavy use of shared memory. However, that can |
767# (combined with large amounts of physical memory) cause panics at 768# boot time due the kernel running out of VM space. 769# 770# If you're tweaking this, you might also want to increase the sysctls 771# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 772# 773# The value below is the one more than the default. 774# --- 166 unchanged lines hidden --- |