1993-08-22 02:59:49 +00:00
|
|
|
|
#
|
2000-06-26 10:04:00 +00:00
|
|
|
|
# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
|
1993-08-22 02:59:49 +00:00
|
|
|
|
#
|
2002-04-03 18:09:17 +00:00
|
|
|
|
# This file contains machine dependent kernel configuration notes. For
|
|
|
|
|
# machine independent notes, look in /sys/conf/NOTES.
|
2000-09-09 16:33:48 +00:00
|
|
|
|
#
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
# $FreeBSD$
|
1993-08-22 02:59:49 +00:00
|
|
|
|
#
|
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
|
|
|
|
# This directive is mandatory; it defines the architecture to be
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# configured for; in this case, the 386 family based IBM-PC and
|
|
|
|
|
# compatibles.
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
1999-04-24 21:45:44 +00:00
|
|
|
|
machine i386
|
1994-10-21 01:10:54 +00:00
|
|
|
|
|
2004-01-29 21:07:54 +00:00
|
|
|
|
#
|
2004-03-13 00:56:11 +00:00
|
|
|
|
# We want LINT to cover profiling as well.
|
2002-09-19 03:04:07 +00:00
|
|
|
|
profile 2
|
|
|
|
|
|
1997-04-26 11:46:25 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# SMP OPTIONS:
|
|
|
|
|
#
|
2003-11-11 15:52:31 +00:00
|
|
|
|
# The apic device enables the use of the I/O APIC for interrupt delivery.
|
|
|
|
|
# The apic device can be used in both UP and SMP kernels, but is required
|
|
|
|
|
# for SMP kernels. Thus, the apic device is not strictly an SMP option,
|
|
|
|
|
# but it is a prerequisite for SMP.
|
1997-04-26 11:46:25 +00:00
|
|
|
|
#
|
|
|
|
|
# Notes:
|
|
|
|
|
#
|
2003-11-11 15:49:37 +00:00
|
|
|
|
# Be sure to disable 'cpu I386_CPU' for SMP kernels.
|
|
|
|
|
#
|
|
|
|
|
# By default, mixed mode is used to route IRQ0 from the AT timer via
|
|
|
|
|
# the 8259A master PIC through the ExtINT pin on the first I/O APIC.
|
|
|
|
|
# This can be disabled via the NO_MIXED_MODE option. In that case,
|
|
|
|
|
# IRQ0 will be routed via an intpin on the first I/O APIC. Not all
|
|
|
|
|
# motherboards hook IRQ0 up to the first I/O APIC even though their
|
|
|
|
|
# MP table or MADT may claim to do so. That is why mixed mode is
|
|
|
|
|
# enabled by default.
|
2003-11-10 15:54:32 +00:00
|
|
|
|
#
|
2003-11-11 17:14:26 +00:00
|
|
|
|
# HTT CPUs should only be used if they are enabled in the BIOS. For
|
|
|
|
|
# the ACPI case, ACPI only correctly tells us about any HTT CPUs if
|
|
|
|
|
# they are enabled. However, most HTT systems do not list HTT CPUs
|
|
|
|
|
# in the MP Table if they are enabled, thus we guess at the HTT CPUs
|
|
|
|
|
# for the MP Table case. However, we shouldn't try to guess and use
|
|
|
|
|
# these CPUs if HTTT is disabled. Thus, HTT guessing is only enabled
|
|
|
|
|
# for the MP Table if the user explicitly asks for it via the
|
|
|
|
|
# MPTABLE_FORCE_HTT option. Do NOT use this option if you have HTT
|
|
|
|
|
# disabled in your BIOS.
|
|
|
|
|
#
|
1997-04-26 11:46:25 +00:00
|
|
|
|
|
|
|
|
|
# Mandatory:
|
2003-11-03 22:47:19 +00:00
|
|
|
|
device apic # I/O apic
|
2003-11-11 17:14:26 +00:00
|
|
|
|
|
|
|
|
|
# Optional:
|
|
|
|
|
options MPTABLE_FORCE_HTT # Enable HTT CPUs with the MP Table
|
2003-11-10 15:54:32 +00:00
|
|
|
|
options NO_MIXED_MODE # Disable use of mixed mode
|
2003-03-25 23:29:44 +00:00
|
|
|
|
|
1997-03-23 11:08:28 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# CPU OPTIONS
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# You must specify at least one CPU (the one you intend to run on);
|
|
|
|
|
# deleting the specification for CPUs you don't need to use may make
|
Stop doing runtime checking on i386 cpus for cpu class. The cpu is
slow enough as it is, without having to constantly check that it really
is an i386 still. It was possible to compile out the conditionals for
faster cpus by leaving out 'I386_CPU', but it was not possible to
unconditionally compile for the i386. You got the runtime checking whether
you wanted it or not. This makes I386_CPU mutually exclusive with the
other cpu types, and tidies things up a little in the process.
Reviewed by: alfred, markm, phk, benno, jlemon, jhb, jake, grog, msmith,
jasone, dcs, des (and a bunch more people who encouraged it)
2001-01-16 09:10:34 +00:00
|
|
|
|
# parts of the system run faster.
|
|
|
|
|
# I386_CPU is mutually exclusive with the other CPU types.
|
1997-03-23 11:08:28 +00:00
|
|
|
|
#
|
2004-01-29 21:07:54 +00:00
|
|
|
|
#cpu I386_CPU
|
1999-04-24 21:45:44 +00:00
|
|
|
|
cpu I486_CPU
|
|
|
|
|
cpu I586_CPU # aka Pentium(tm)
|
|
|
|
|
cpu I686_CPU # aka Pentium Pro(tm)
|
1997-03-23 11:08:28 +00:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Options for CPU features.
|
|
|
|
|
#
|
2002-02-12 21:13:02 +00:00
|
|
|
|
# CPU_ATHLON_SSE_HACK tries to enable SSE instructions when the BIOS has
|
|
|
|
|
# forgotten to enable them.
|
|
|
|
|
#
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# CPU if CPU supports it. The default is double-clock mode on
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# BlueLightning CPU box.
|
1997-03-23 11:08:28 +00:00
|
|
|
|
#
|
2004-01-19 01:07:18 +00:00
|
|
|
|
# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
|
|
|
|
|
# BlueLightning CPU. It works only with Cyrix FPU, and this option
|
|
|
|
|
# should not be used with Intel FPU.
|
1997-03-23 11:08:28 +00:00
|
|
|
|
#
|
2004-01-19 01:07:18 +00:00
|
|
|
|
# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
|
1997-06-27 13:46:19 +00:00
|
|
|
|
#
|
1997-10-06 08:08:41 +00:00
|
|
|
|
# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
|
1999-06-15 13:14:56 +00:00
|
|
|
|
# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
|
|
|
|
|
# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3)
|
1997-10-06 08:08:41 +00:00
|
|
|
|
#
|
2004-01-19 01:07:18 +00:00
|
|
|
|
# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
|
|
|
|
|
# mapped mode. Default is 2-way set associative mode.
|
|
|
|
|
#
|
2004-03-13 00:56:11 +00:00
|
|
|
|
# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# reorder). This option should not be used if you use memory mapped
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# I/O device(s).
|
1997-03-23 11:08:28 +00:00
|
|
|
|
#
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
|
|
|
|
|
# machines. VmWare seems to emulate this instruction poorly, causing
|
2004-03-13 00:56:11 +00:00
|
|
|
|
# the guest OS to run very slowly. Enabling this with an SMP kernel
|
2004-01-19 01:07:18 +00:00
|
|
|
|
# will cause the kernel to be unusable.
|
|
|
|
|
#
|
2004-03-13 00:56:11 +00:00
|
|
|
|
# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE.
|
2004-01-19 01:07:18 +00:00
|
|
|
|
#
|
2002-09-04 19:43:22 +00:00
|
|
|
|
# CPU_ELAN enables support for AMDs ElanSC520 CPU.
|
2003-12-04 19:57:56 +00:00
|
|
|
|
# CPU_ELAN_PPS enables precision timestamp code.
|
2004-03-13 00:56:11 +00:00
|
|
|
|
# CPU_ELAN_XTAL sets the clock crystal frequency in Hz.
|
2003-11-03 10:34:40 +00:00
|
|
|
|
#
|
2004-02-24 04:18:07 +00:00
|
|
|
|
# CPU_ENABLE_LONGRUN enables support for Transmeta Crusoe LongRun
|
|
|
|
|
# technology which allows to restrict power consumption of the CPU by
|
|
|
|
|
# using group of hw.crusoe.* sysctls.
|
|
|
|
|
#
|
2002-09-07 07:02:12 +00:00
|
|
|
|
# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default
|
|
|
|
|
# on I686_CPU and above.
|
2004-01-19 01:07:18 +00:00
|
|
|
|
#
|
|
|
|
|
# CPU_ENABLE_TCC enables Thermal Control Circuitry (TCC) found in some
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# Pentium(tm) 4 and (possibly) later CPUs. When enabled and detected,
|
2004-03-13 00:56:11 +00:00
|
|
|
|
# TCC supports restricting power consumption using the hw.p4tcc.*
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# sysctls. This operates independently of SpeedStep and is useful on
|
2004-01-19 01:07:18 +00:00
|
|
|
|
# systems where other mechanisms such as apm(4) or acpi(4) don't work.
|
2001-07-12 06:32:51 +00:00
|
|
|
|
#
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
|
|
|
|
|
#
|
2004-01-03 18:43:37 +00:00
|
|
|
|
# CPU_GEODE is for the SC1100 Geode embedded processor. This option
|
|
|
|
|
# is necessary because the i8254 timecounter is toast.
|
|
|
|
|
#
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# for i386 machines.
|
1997-06-27 13:46:19 +00:00
|
|
|
|
#
|
1999-06-19 20:20:52 +00:00
|
|
|
|
# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
|
|
|
|
|
# (no clock delay).
|
|
|
|
|
#
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used
|
2000-06-13 09:10:37 +00:00
|
|
|
|
# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
|
|
|
|
|
# The default value is 5.
|
|
|
|
|
#
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
|
|
|
|
|
# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# 1).
|
1997-03-23 11:08:28 +00:00
|
|
|
|
#
|
2000-06-13 09:10:37 +00:00
|
|
|
|
# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option
|
|
|
|
|
# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
|
|
|
|
|
# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
|
|
|
|
|
#
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
|
|
|
|
|
#
|
2004-01-19 01:07:18 +00:00
|
|
|
|
# CPU_SOEKRIS enables support www.soekris.com hardware.
|
|
|
|
|
#
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU
|
|
|
|
|
# enters suspend mode following execution of HALT instruction.
|
|
|
|
|
#
|
2001-09-14 12:32:04 +00:00
|
|
|
|
# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
|
|
|
|
|
#
|
1998-10-06 13:16:29 +00:00
|
|
|
|
# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# K5/K6/K6-2 CPUs.
|
1997-10-06 08:08:41 +00:00
|
|
|
|
#
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
|
|
|
|
|
# flush at hold state.
|
|
|
|
|
#
|
|
|
|
|
# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
|
|
|
|
|
# without cache flush at hold state, and (2) write-back CPU cache on
|
|
|
|
|
# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
|
|
|
|
|
#
|
1997-12-04 21:20:58 +00:00
|
|
|
|
# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
|
|
|
|
|
# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
|
2000-10-27 10:57:33 +00:00
|
|
|
|
# executed. This option is only needed if I586_CPU is also defined,
|
|
|
|
|
# and should be included for any non-Pentium CPU that defines it.
|
1997-12-04 21:20:58 +00:00
|
|
|
|
#
|
1998-12-27 23:23:26 +00:00
|
|
|
|
# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# which indicates that the 15-16MB range is *definitely* not being
|
1998-12-27 23:23:26 +00:00
|
|
|
|
# occupied by an ISA memory hole.
|
|
|
|
|
#
|
1997-03-23 11:08:28 +00:00
|
|
|
|
# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
|
1999-06-19 20:20:52 +00:00
|
|
|
|
# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# These options may crash your system.
|
1997-03-23 11:08:28 +00:00
|
|
|
|
#
|
|
|
|
|
# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
|
|
|
|
|
# in write-through mode when revision < 2.7. If revision of Cyrix
|
|
|
|
|
# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
|
|
|
|
|
#
|
1997-10-06 08:08:41 +00:00
|
|
|
|
# NOTE 3: This option may cause failures for software that requires
|
|
|
|
|
# locked cycles in order to operate correctly.
|
|
|
|
|
#
|
2002-02-12 21:13:02 +00:00
|
|
|
|
options CPU_ATHLON_SSE_HACK
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options CPU_BLUELIGHTNING_3X
|
2004-01-19 01:07:18 +00:00
|
|
|
|
options CPU_BLUELIGHTNING_FPU_OP_CACHE
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options CPU_BTB_EN
|
|
|
|
|
options CPU_DIRECT_MAPPED_CACHE
|
|
|
|
|
options CPU_DISABLE_5X86_LSSER
|
2004-01-19 01:07:18 +00:00
|
|
|
|
options CPU_DISABLE_CMPXCHG
|
|
|
|
|
#options CPU_DISABLE_SSE
|
2002-09-08 15:16:49 +00:00
|
|
|
|
options CPU_ELAN
|
2003-12-04 19:57:56 +00:00
|
|
|
|
options CPU_ELAN_PPS
|
2004-01-19 01:07:18 +00:00
|
|
|
|
options CPU_ELAN_XTAL=32768000
|
2004-02-24 04:18:07 +00:00
|
|
|
|
options CPU_ENABLE_LONGRUN
|
2001-07-12 06:32:51 +00:00
|
|
|
|
options CPU_ENABLE_SSE
|
2004-01-18 21:06:56 +00:00
|
|
|
|
options CPU_ENABLE_TCC
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options CPU_FASTER_5X86_FPU
|
2004-01-03 18:43:37 +00:00
|
|
|
|
options CPU_GEODE
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options CPU_I486_ON_386
|
|
|
|
|
options CPU_IORT
|
2000-06-13 09:10:37 +00:00
|
|
|
|
options CPU_L2_LATENCY=5
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options CPU_LOOP_EN
|
2000-06-13 09:10:37 +00:00
|
|
|
|
options CPU_PPRO2CELERON
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options CPU_RSTK_EN
|
2004-01-19 01:07:18 +00:00
|
|
|
|
options CPU_SOEKRIS
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options CPU_SUSP_HLT
|
2001-09-14 12:32:04 +00:00
|
|
|
|
options CPU_UPGRADE_HW_CACHE
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options CPU_WT_ALLOC
|
|
|
|
|
options CYRIX_CACHE_WORKS
|
|
|
|
|
options CYRIX_CACHE_REALLY_WORKS
|
|
|
|
|
#options NO_F00F_HACK
|
1997-03-23 11:08:28 +00:00
|
|
|
|
|
2003-02-13 21:55:13 +00:00
|
|
|
|
# Debug options
|
2004-01-19 01:44:06 +00:00
|
|
|
|
options NPX_DEBUG # enable npx debugging
|
1997-03-23 11:08:28 +00:00
|
|
|
|
|
1995-01-14 02:39:22 +00:00
|
|
|
|
#
|
1996-04-02 18:13:36 +00:00
|
|
|
|
# PERFMON causes the driver for Pentium/Pentium Pro performance counters
|
|
|
|
|
# to be compiled. See perfmon(4) for more information.
|
|
|
|
|
#
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options PERFMON
|
1996-04-02 18:13:36 +00:00
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# NETWORKING OPTIONS
|
|
|
|
|
|
2001-12-14 23:35:33 +00:00
|
|
|
|
#
|
|
|
|
|
# DEVICE_POLLING adds support for mixed interrupt-polling handling
|
|
|
|
|
# of network device drivers, which has significant benefits in terms
|
|
|
|
|
# of robustness to overloads and responsivity, as well as permitting
|
|
|
|
|
# accurate scheduling of the CPU time between kernel network processing
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# and other activities. The drawback is a moderate (up to 1/HZ seconds)
|
2001-12-14 23:35:33 +00:00
|
|
|
|
# potential increase in response times.
|
|
|
|
|
# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
|
|
|
|
|
# to achieve smoother behaviour.
|
|
|
|
|
# Additionally, you can enable/disable polling at runtime with the
|
|
|
|
|
# sysctl variable kern.polling.enable (defaults off), and select
|
|
|
|
|
# the CPU fraction reserved to userland with the sysctl variable
|
|
|
|
|
# kern.polling.user_frac (default 50, range 0..100).
|
|
|
|
|
#
|
2004-01-11 22:07:19 +00:00
|
|
|
|
# Not all device drivers support this mode of operation at the time of
|
|
|
|
|
# this writing. See polling(4) for more details.
|
2001-12-14 23:35:33 +00:00
|
|
|
|
|
2002-09-09 02:40:59 +00:00
|
|
|
|
options DEVICE_POLLING
|
2001-12-14 23:35:33 +00:00
|
|
|
|
|
2000-03-23 16:22:50 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# CLOCK OPTIONS
|
|
|
|
|
|
2002-03-08 18:59:05 +00:00
|
|
|
|
# The following options are used for debugging clock behavior only, and
|
|
|
|
|
# should not be used for production systems.
|
2000-03-23 16:22:50 +00:00
|
|
|
|
|
2003-12-30 07:28:54 +00:00
|
|
|
|
# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
|
|
|
|
|
# startup until the user presses a key. (The i8254 clock is always
|
|
|
|
|
# calibrated relative to the RTC (mc146818a) and this option causes the
|
|
|
|
|
# calibration to be repeated.)
|
2000-03-23 16:22:50 +00:00
|
|
|
|
options CLK_CALIBRATION_LOOP
|
2002-03-08 18:50:07 +00:00
|
|
|
|
|
2003-12-30 07:28:54 +00:00
|
|
|
|
# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
|
|
|
|
|
# clock to actually be used.
|
2000-03-23 16:22:50 +00:00
|
|
|
|
options CLK_USE_I8254_CALIBRATION
|
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# MISCELLANEOUS DEVICES AND OPTIONS
|
1994-10-01 05:43:09 +00:00
|
|
|
|
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device speaker #Play IBM BASIC-style noises out your speaker
|
2002-11-02 04:18:10 +00:00
|
|
|
|
hint.speaker.0.at="isa"
|
|
|
|
|
hint.speaker.0.port="0x61"
|
2004-01-19 01:26:59 +00:00
|
|
|
|
device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
|
2002-09-11 05:33:15 +00:00
|
|
|
|
device apm_saver # Requires APM
|
1998-05-19 08:58:53 +00:00
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
# HARDWARE BUS CONFIGURATION
|
1994-04-07 12:10:31 +00:00
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
2002-04-03 18:09:17 +00:00
|
|
|
|
# ISA bus
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
2004-04-15 15:11:04 +00:00
|
|
|
|
device isa # Required by npx(4)
|
1994-10-21 01:10:54 +00:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Options for `isa':
|
|
|
|
|
#
|
1996-03-31 04:18:02 +00:00
|
|
|
|
# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
|
|
|
|
|
# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
|
|
|
|
|
# This option breaks suspend/resume on some portables.
|
|
|
|
|
#
|
1994-12-11 23:52:18 +00:00
|
|
|
|
# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
|
1996-03-31 04:18:02 +00:00
|
|
|
|
# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
|
1994-12-11 23:52:18 +00:00
|
|
|
|
# Automatic EOI is documented not to work for for the slave with the
|
|
|
|
|
# original i8259A, but it works for some clones and some integrated
|
|
|
|
|
# versions.
|
|
|
|
|
#
|
1996-06-18 23:21:28 +00:00
|
|
|
|
# MAXMEM specifies the amount of RAM on the machine; if this is not
|
1997-12-31 21:46:17 +00:00
|
|
|
|
# specified, FreeBSD will first read the amount of memory from the CMOS
|
|
|
|
|
# RAM, so the amount of memory will initially be limited to 64MB or 16MB
|
|
|
|
|
# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
|
|
|
|
|
# then attempt to detect the installed amount of RAM. If this probe
|
|
|
|
|
# fails to detect >64MB RAM you will have to use the MAXMEM option.
|
|
|
|
|
# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
|
|
|
|
|
# be 131072 (128 * 1024).
|
1996-06-18 23:21:28 +00:00
|
|
|
|
#
|
1995-05-18 09:17:07 +00:00
|
|
|
|
# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
|
|
|
|
|
# reset the CPU for reboot. This is needed on some systems with broken
|
|
|
|
|
# keyboard controllers.
|
1996-04-11 06:19:44 +00:00
|
|
|
|
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options AUTO_EOI_1
|
2000-06-26 10:04:00 +00:00
|
|
|
|
#options AUTO_EOI_2
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
|
2002-10-17 13:47:31 +00:00
|
|
|
|
options MAXMEM=(128*1024)
|
2000-06-26 10:04:00 +00:00
|
|
|
|
#options BROKEN_KEYBOARD_RESET
|
1994-10-21 01:10:54 +00:00
|
|
|
|
|
2004-01-29 21:07:54 +00:00
|
|
|
|
#
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
# EISA bus
|
|
|
|
|
#
|
|
|
|
|
# The EISA bus device is `eisa'. It provides auto-detection and
|
|
|
|
|
# configuration support for all devices on the EISA bus.
|
|
|
|
|
|
|
|
|
|
device eisa
|
|
|
|
|
|
2002-07-15 18:55:07 +00:00
|
|
|
|
# By default, only 10 EISA slots are probed, since the slot numbers
|
|
|
|
|
# above clash with the configuration address space of the PCI subsystem,
|
|
|
|
|
# and the EISA probe is not very smart about this. This is sufficient
|
|
|
|
|
# for most machines, but in particular the HP NetServer LC series comes
|
|
|
|
|
# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
|
|
|
|
|
# thus you need to bump this figure to 12 for them.
|
|
|
|
|
options EISA_SLOTS=12
|
|
|
|
|
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
#
|
|
|
|
|
# MCA bus:
|
|
|
|
|
#
|
|
|
|
|
# The MCA bus device is `mca'. It provides auto-detection and
|
|
|
|
|
# configuration support for all devices on the MCA bus.
|
|
|
|
|
# No hints are required for MCA.
|
|
|
|
|
|
|
|
|
|
device mca
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# PCI bus & PCI options:
|
|
|
|
|
#
|
2002-07-23 06:38:47 +00:00
|
|
|
|
device pci
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
|
2001-02-04 12:36:50 +00:00
|
|
|
|
#
|
|
|
|
|
# AGP GART support
|
|
|
|
|
device agp
|
|
|
|
|
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# HARDWARE DEVICE CONFIGURATION
|
|
|
|
|
|
2002-04-09 18:26:58 +00:00
|
|
|
|
# To include support for VGA VESA video modes
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options VESA
|
1999-03-10 14:47:41 +00:00
|
|
|
|
|
2002-04-09 18:26:58 +00:00
|
|
|
|
# Turn on extra debugging checks and output for VESA support.
|
|
|
|
|
options VESA_DEBUG
|
2001-08-09 00:05:30 +00:00
|
|
|
|
|
1999-01-01 08:09:58 +00:00
|
|
|
|
# The pcvt console driver (vt220 compatible).
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device vt
|
|
|
|
|
hint.vt.0.at="isa"
|
2000-02-16 04:27:04 +00:00
|
|
|
|
options XSERVER # support for running an X server on vt
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options FAT_CURSOR # start with block cursor
|
2001-08-06 16:04:39 +00:00
|
|
|
|
# This PCVT option is for keyboards such as those used on really old ThinkPads
|
|
|
|
|
options PCVT_SCANSET=2
|
1999-02-07 20:33:05 +00:00
|
|
|
|
# Other PCVT options are documented in pcvt(4).
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options PCVT_24LINESDEF
|
|
|
|
|
options PCVT_CTRL_ALT_DEL
|
|
|
|
|
options PCVT_META_ESC
|
|
|
|
|
options PCVT_NSCREENS=9
|
|
|
|
|
options PCVT_PRETTYSCRNS
|
|
|
|
|
options PCVT_SCREENSAVER
|
|
|
|
|
options PCVT_USEKBDSEC
|
|
|
|
|
options PCVT_VT220KEYB
|
2000-03-31 09:05:19 +00:00
|
|
|
|
options PCVT_GREENSAVER
|
1999-01-01 08:09:58 +00:00
|
|
|
|
|
1995-11-29 20:02:29 +00:00
|
|
|
|
#
|
1999-07-26 05:47:31 +00:00
|
|
|
|
# The Numeric Processing eXtension driver. In addition to this, you
|
|
|
|
|
# may configure a math emulator (see above). If your machine has a
|
1999-07-25 13:16:09 +00:00
|
|
|
|
# hardware FPU and the kernel configuration includes the npx device
|
|
|
|
|
# *and* a math emulator compiled into the kernel, the hardware FPU
|
|
|
|
|
# will be used, unless it is found to be broken or unless "flags" to
|
|
|
|
|
# npx0 includes "0x08", which requests preference for the emulator.
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device npx
|
|
|
|
|
hint.npx.0.flags="0x0"
|
|
|
|
|
hint.npx.0.irq="13"
|
1996-11-11 20:39:03 +00:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# `flags' for npx0:
|
1999-07-25 13:16:09 +00:00
|
|
|
|
# 0x01 don't use the npx registers to optimize bcopy.
|
|
|
|
|
# 0x02 don't use the npx registers to optimize bzero.
|
1996-11-11 20:39:03 +00:00
|
|
|
|
# 0x04 don't use the npx registers to optimize copyin or copyout.
|
1999-07-25 13:16:09 +00:00
|
|
|
|
# 0x08 use emulator even if hardware FPU is available.
|
1996-11-11 20:39:03 +00:00
|
|
|
|
# The npx registers are normally used to optimize copying and zeroing when
|
|
|
|
|
# all of the following conditions are satisfied:
|
1999-04-24 21:45:44 +00:00
|
|
|
|
# I586_CPU is an option
|
1996-11-11 20:39:03 +00:00
|
|
|
|
# the cpu is an i586 (perhaps not a Pentium)
|
|
|
|
|
# the probe for npx0 succeeds
|
|
|
|
|
# INT 16 exception handling works.
|
|
|
|
|
# Then copying and zeroing using the npx registers is normally 30-100% faster.
|
|
|
|
|
# The flags can be used to control cases where it doesn't work or is slower.
|
|
|
|
|
# Setting them at boot time using userconfig works right (the optimizations
|
|
|
|
|
# are not used until later in the bootstrap when npx0 is attached).
|
1999-07-26 05:47:31 +00:00
|
|
|
|
# Flag 0x08 automatically disables the i586 optimized routines.
|
1996-11-11 20:39:03 +00:00
|
|
|
|
#
|
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
# Optional devices:
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
|
|
|
|
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
|
|
|
|
|
# the /dev/3dfx0 device to work with glide implementations. This should get
|
|
|
|
|
# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
|
2002-11-08 20:04:38 +00:00
|
|
|
|
# the tdfx DRI module from XFree86 and is completely unrelated.
|
|
|
|
|
#
|
|
|
|
|
# To enable Linuxulator support, one must also include COMPAT_LINUX in the
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# config as well, or you will not have the dependencies. The other option
|
2002-11-08 20:04:38 +00:00
|
|
|
|
# is to load both as modules.
|
|
|
|
|
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device tdfx # Enable 3Dfx Voodoo support
|
2002-11-08 20:04:38 +00:00
|
|
|
|
options TDFX_LINUX # Enable Linuxulator support
|
|
|
|
|
|
2002-07-15 14:28:20 +00:00
|
|
|
|
#
|
|
|
|
|
# ACPI support using the Intel ACPI Component Architecture reference
|
|
|
|
|
# implementation.
|
|
|
|
|
#
|
|
|
|
|
# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
|
|
|
|
|
# kernel environment variables to select initial debugging levels for the
|
|
|
|
|
# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
|
|
|
|
|
# defined when it is built).
|
|
|
|
|
#
|
2003-10-22 22:27:49 +00:00
|
|
|
|
# ACPI_MAX_THREADS sets the number of task threads started.
|
|
|
|
|
#
|
|
|
|
|
# ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op.
|
|
|
|
|
#
|
|
|
|
|
# ACPICA_PEDANTIC enables strict checking of AML. Our default is to
|
|
|
|
|
# relax these checks to allow code generated by the Microsoft compiler
|
|
|
|
|
# to still execute.
|
|
|
|
|
#
|
2002-07-15 14:28:20 +00:00
|
|
|
|
# Note that building ACPI into the kernel is deprecated; the module is
|
|
|
|
|
# normally loaded automatically by the loader.
|
2004-03-03 05:51:48 +00:00
|
|
|
|
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device acpi
|
2002-07-15 14:28:20 +00:00
|
|
|
|
options ACPI_DEBUG
|
2003-10-22 22:27:49 +00:00
|
|
|
|
options ACPI_MAX_THREADS=1
|
2003-10-29 14:22:09 +00:00
|
|
|
|
#!options ACPI_NO_SEMAPHORES
|
2003-10-27 02:42:08 +00:00
|
|
|
|
#!options ACPICA_PEDANTIC
|
2002-07-15 14:28:20 +00:00
|
|
|
|
|
2004-04-22 21:29:02 +00:00
|
|
|
|
# ACPI Asus Extras (LCD backlight/brightness, video output, etc.)
|
|
|
|
|
device acpi_asus
|
|
|
|
|
|
2004-01-11 19:18:38 +00:00
|
|
|
|
# ACPI Toshiba Extras (LCD backlight/brightness, video output, etc.)
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device acpi_toshiba
|
2004-03-01 08:12:56 +00:00
|
|
|
|
|
|
|
|
|
# ACPI Video Extensions (LCD backlight/brightness, video output, etc.)
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device acpi_video
|
2004-01-11 19:18:38 +00:00
|
|
|
|
|
2002-11-06 21:42:42 +00:00
|
|
|
|
# DRM options:
|
|
|
|
|
# mgadrm: AGP Matrox G200, G400, G450, G550
|
2003-03-09 02:08:30 +00:00
|
|
|
|
# r128drm: ATI Rage 128
|
|
|
|
|
# radeondrm: ATI Radeon up to 9000/9100
|
2003-09-09 00:29:02 +00:00
|
|
|
|
# sisdrm: SiS 300/305,540,630
|
|
|
|
|
# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee
|
2003-03-09 02:08:30 +00:00
|
|
|
|
# DRM_DEBUG: include debug printfs, very slow
|
2002-11-06 21:42:42 +00:00
|
|
|
|
#
|
2003-03-09 02:08:30 +00:00
|
|
|
|
# mga requires AGP in the kernel, and it is recommended
|
|
|
|
|
# for AGP r128 and radeon cards.
|
2002-11-06 21:42:42 +00:00
|
|
|
|
|
|
|
|
|
device mgadrm
|
|
|
|
|
device "r128drm"
|
|
|
|
|
device radeondrm
|
2003-09-09 00:29:02 +00:00
|
|
|
|
device sisdrm
|
2002-11-06 21:42:42 +00:00
|
|
|
|
device tdfxdrm
|
|
|
|
|
|
|
|
|
|
options DRM_DEBUG
|
|
|
|
|
|
1999-08-06 15:59:07 +00:00
|
|
|
|
# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device fla
|
|
|
|
|
hint.fla.0.at="isa"
|
1999-08-06 15:59:07 +00:00
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
|
|
|
|
# mse: Logitech and ATI InPort bus mouse ports
|
|
|
|
|
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device mse
|
|
|
|
|
hint.mse.0.at="isa"
|
|
|
|
|
hint.mse.0.port="0x23c"
|
|
|
|
|
hint.mse.0.irq="5"
|
1995-06-22 10:56:56 +00:00
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
# Network interfaces:
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
|
2002-11-06 19:27:09 +00:00
|
|
|
|
# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
|
|
|
|
|
# (requires sppp)
|
2004-03-15 22:24:28 +00:00
|
|
|
|
# arl: Aironet Arlan 655 wireless adapters.
|
2004-03-03 05:26:03 +00:00
|
|
|
|
# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
|
2004-05-17 14:35:32 +00:00
|
|
|
|
# ctau: Cronyx Tau sync dual port V.35/RS-232/RS-530/RS-449/X.21/G.703/E1
|
2004-03-13 00:46:33 +00:00
|
|
|
|
# serial adaptor (requires sppp (default), or NETGRAPH if
|
|
|
|
|
# NETGRAPH_CRONYX is configured)
|
2004-05-17 14:35:32 +00:00
|
|
|
|
# cx: Cronyx Sigma multiport sync/async adapter (requires sppp (default),
|
2004-03-13 00:46:33 +00:00
|
|
|
|
# or NETGRAPH if NETGRAPH_CRONYX is configured)
|
2002-11-06 22:03:53 +00:00
|
|
|
|
# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
|
2002-11-06 22:03:53 +00:00
|
|
|
|
# (requires miibus)
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
# el: 3Com 3C501 (slow!)
|
|
|
|
|
# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
|
|
|
|
|
# Intel EtherExpress
|
2002-11-06 22:56:57 +00:00
|
|
|
|
# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
|
|
|
|
|
# Am79C960)
|
2004-03-03 05:26:03 +00:00
|
|
|
|
# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133.
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
|
2004-03-03 05:26:03 +00:00
|
|
|
|
# OC-3141, OC-3540 and OC-3250.
|
|
|
|
|
# sbni: Granch SBNI12-xx ISA and PCI adapters
|
2002-11-07 21:15:29 +00:00
|
|
|
|
# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
|
2004-03-03 05:26:03 +00:00
|
|
|
|
# wl: Lucent Wavelan (ISA card only).
|
Since this file is doc now, reorganize its structure.
Currently, many drivers support more than one bus of ISA, EISA, MCA,
PCI.
Before this commit, we had, for example, some SCSI devices listed more
than once, iirc, some up to three times (ISA/EISA, MCA, PCI).
Since now the "device" line is common for all of them and they only
differ for the hints stuff, I did the following:
First, list Busses: (E)ISA, MCA, PCI and explain, that only ISA
needs the hints stuff.
Move NIC/SCSI stuff, which were the only split sections, behind these
stuff. Describe all drivers only one time and list all supported
chips.
List all device (+ hints for ISA, if possible).
I've also added few additional supported chips to some drivers, xl for
example and some SCSI drivers.
Also, softupdates is no longer disabled by default, so the comment should
not say, it's not enabled by default due to license issues.
Approved by: asmodai
To come: include PAO devices (imp volunteered for help)
2000-07-09 12:34:53 +00:00
|
|
|
|
|
|
|
|
|
# Order for ISA/EISA devices is important here
|
|
|
|
|
|
2002-11-06 19:27:09 +00:00
|
|
|
|
device ar
|
|
|
|
|
hint.ar.0.at="isa"
|
|
|
|
|
hint.ar.0.port="0x300"
|
|
|
|
|
hint.ar.0.irq="10"
|
|
|
|
|
hint.ar.0.maddr="0xd0000"
|
2004-03-15 22:24:28 +00:00
|
|
|
|
device arl
|
|
|
|
|
hint.arl.0.at="isa"
|
|
|
|
|
hint.arl.0.irq="9"
|
|
|
|
|
hint.arl.0.maddr="0xd0000"
|
2004-03-03 12:43:59 +00:00
|
|
|
|
device ctau
|
|
|
|
|
hint.ctau.0.at="isa"
|
|
|
|
|
hint.ctau.0.port="0x240"
|
|
|
|
|
hint.ctau.0.irq="15"
|
|
|
|
|
hint.ctau.0.drq="7"
|
2003-12-03 23:06:30 +00:00
|
|
|
|
device cx
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.cx.0.at="isa"
|
|
|
|
|
hint.cx.0.port="0x240"
|
|
|
|
|
hint.cx.0.irq="15"
|
|
|
|
|
hint.cx.0.drq="7"
|
2004-02-05 13:02:14 +00:00
|
|
|
|
#options NETGRAPH_CRONYX # Enable NETGRAPH support for Cronyx adapter(s)
|
2002-11-06 22:03:53 +00:00
|
|
|
|
device ed
|
|
|
|
|
#options ED_NO_MIIBUS # Disable ed miibus support
|
|
|
|
|
hint.ed.0.at="isa"
|
|
|
|
|
hint.ed.0.port="0x280"
|
|
|
|
|
hint.ed.0.irq="5"
|
|
|
|
|
hint.ed.0.maddr="0xd8000"
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device el 1
|
|
|
|
|
hint.el.0.at="isa"
|
|
|
|
|
hint.el.0.port="0x300"
|
|
|
|
|
hint.el.0.irq="9"
|
2003-03-29 13:36:41 +00:00
|
|
|
|
device ie # Hints only required for Starlan
|
|
|
|
|
hint.ie.2.at="isa"
|
|
|
|
|
hint.ie.2.port="0x300"
|
|
|
|
|
hint.ie.2.irq="5"
|
|
|
|
|
hint.ie.2.maddr="0xd0000"
|
2002-11-06 22:56:57 +00:00
|
|
|
|
device lnc
|
|
|
|
|
hint.lnc.0.at="isa"
|
|
|
|
|
hint.lnc.0.port="0x280"
|
|
|
|
|
hint.lnc.0.irq="10"
|
|
|
|
|
hint.lnc.0.drq="0"
|
2002-07-21 22:28:43 +00:00
|
|
|
|
device sbni
|
2001-11-21 22:29:35 +00:00
|
|
|
|
hint.sbni.0.at="isa"
|
|
|
|
|
hint.sbni.0.port="0x210"
|
|
|
|
|
hint.sbni.0.irq="0xefdead"
|
|
|
|
|
hint.sbni.0.flags="0"
|
2002-11-07 21:15:29 +00:00
|
|
|
|
device sr
|
|
|
|
|
hint.sr.0.at="isa"
|
|
|
|
|
hint.sr.0.port="0x300"
|
|
|
|
|
hint.sr.0.irq="5"
|
|
|
|
|
hint.sr.0.maddr="0xd0000"
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device oltr
|
|
|
|
|
hint.oltr.0.at="isa"
|
2002-09-19 03:10:23 +00:00
|
|
|
|
device wl
|
|
|
|
|
hint.wl.0.at="isa"
|
|
|
|
|
hint.wl.0.port="0x300"
|
|
|
|
|
options WLCACHE # enables the signal-strength cache
|
|
|
|
|
options WLDEBUG # enables verbose debugging output
|
1999-02-20 11:18:00 +00:00
|
|
|
|
|
2003-09-19 01:42:24 +00:00
|
|
|
|
device ath
|
|
|
|
|
device ath_hal # Atheros HAL (includes binary component)
|
|
|
|
|
#device wlan # 802.11 layer
|
|
|
|
|
|
2003-02-26 23:36:59 +00:00
|
|
|
|
#
|
|
|
|
|
# ATA raid adapters
|
|
|
|
|
#
|
|
|
|
|
device pst
|
|
|
|
|
|
2004-04-02 18:50:56 +00:00
|
|
|
|
#
|
|
|
|
|
# 3ware 9000 series PATA/SATA RAID controller driver and options.
|
|
|
|
|
# The driver is implemented as a SIM, and so, needs the CAM infrastructure.
|
|
|
|
|
#
|
|
|
|
|
options TWA_DEBUG # 0-10; 10 prints the most messages.
|
|
|
|
|
options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
|
|
|
|
|
device twa # 3ware 9000 series PATA/SATA RAID
|
|
|
|
|
|
2004-01-29 21:07:54 +00:00
|
|
|
|
#
|
2002-09-19 03:02:42 +00:00
|
|
|
|
# SCSI host adapters:
|
2004-01-29 21:07:54 +00:00
|
|
|
|
#
|
2002-09-19 03:02:42 +00:00
|
|
|
|
# ncv: NCR 53C500 based SCSI host adapters.
|
|
|
|
|
# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
|
|
|
|
|
# stg: TMC 18C30, 18C50 based SCSI host adapters.
|
2003-02-25 20:59:23 +00:00
|
|
|
|
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device ncv
|
|
|
|
|
device nsp
|
|
|
|
|
device stg
|
2002-09-19 03:02:42 +00:00
|
|
|
|
hint.stg.0.at="isa"
|
|
|
|
|
hint.stg.0.port="0x140"
|
|
|
|
|
hint.stg.0.port="11"
|
|
|
|
|
|
2002-09-26 18:16:28 +00:00
|
|
|
|
#
|
|
|
|
|
# Adaptec FSA RAID controllers, including integrated DELL controllers,
|
|
|
|
|
# the Dell PERC 2/QC and the HP NetRAID-4M
|
|
|
|
|
device aac
|
|
|
|
|
device aacp # SCSI Passthrough interface (optional, CAM required)
|
|
|
|
|
|
2003-05-11 06:39:05 +00:00
|
|
|
|
#
|
|
|
|
|
# IBM (now Adaptec) ServeRAID controllers
|
|
|
|
|
device ips
|
|
|
|
|
|
2003-07-21 21:51:24 +00:00
|
|
|
|
#
|
|
|
|
|
# SafeNet crypto driver: can be moved to the MI NOTES as soon as
|
|
|
|
|
# it's tested on a big-endian machine
|
|
|
|
|
#
|
|
|
|
|
device safe # SafeNet 1141
|
|
|
|
|
options SAFE_DEBUG # enable debugging support: hw.safe.debug
|
|
|
|
|
options SAFE_RNDTEST # enable rndtest support
|
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
1995-07-16 08:55:04 +00:00
|
|
|
|
# Miscellaneous hardware:
|
1994-10-21 01:10:54 +00:00
|
|
|
|
#
|
|
|
|
|
# apm: Laptop Advanced Power Management (experimental)
|
2000-09-26 11:27:30 +00:00
|
|
|
|
# pmtimer: Timer device driver for power management events (APM or ACPI)
|
2004-01-19 02:18:34 +00:00
|
|
|
|
# cy: Cyclades serial driver
|
2002-11-06 21:11:42 +00:00
|
|
|
|
# digi: Digiboard driver
|
2000-12-11 19:41:48 +00:00
|
|
|
|
# spic: Sony Programmable I/O controller (VAIO notebooks)
|
1995-04-28 00:51:40 +00:00
|
|
|
|
|
1996-04-22 19:40:28 +00:00
|
|
|
|
# Notes on APM
|
1997-03-29 11:07:12 +00:00
|
|
|
|
# The flags takes the following meaning for apm0:
|
|
|
|
|
# 0x0020 Statclock is broken.
|
1999-02-04 22:34:23 +00:00
|
|
|
|
|
1995-09-23 08:52:30 +00:00
|
|
|
|
# Notes on the Specialix SI/XIO driver:
|
1995-08-09 12:58:50 +00:00
|
|
|
|
# The host card is memory, not IO mapped.
|
|
|
|
|
# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
|
|
|
|
|
# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
|
|
|
|
|
# The cards can use an IRQ of 11, 12 or 15.
|
|
|
|
|
|
2000-12-11 19:41:48 +00:00
|
|
|
|
# Notes on the Sony Programmable I/O controller
|
|
|
|
|
# This is a temporary driver that should someday be replaced by something
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# that hooks into the ACPI layer. The device is hooked to the PIIX4's
|
2000-12-11 19:41:48 +00:00
|
|
|
|
# General Device 10 decoder, which means you have to fiddle with PCI
|
|
|
|
|
# registers to map it in, even though it is otherwise treated here as
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# an ISA device. At the moment, the driver polls, although the device
|
|
|
|
|
# is capable of generating interrupts. It largely undocumented.
|
2000-12-11 19:41:48 +00:00
|
|
|
|
# The port location in the hint is where you WANT the device to be
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# mapped. 0x10a0 seems to be traditional. At the moment the jogdial
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# is the only thing truly supported, but apparently a fair percentage
|
2000-12-11 19:41:48 +00:00
|
|
|
|
# of the Vaio extra features are controlled by this device.
|
|
|
|
|
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device apm
|
|
|
|
|
hint.apm.0.flags="0x20"
|
2000-09-26 11:27:30 +00:00
|
|
|
|
device pmtimer # Adjust system timer at wakeup time
|
2004-05-02 05:21:29 +00:00
|
|
|
|
device cy
|
2004-04-05 19:31:18 +00:00
|
|
|
|
options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
|
2004-01-19 02:18:34 +00:00
|
|
|
|
hint.cy.0.at="isa"
|
|
|
|
|
hint.cy.0.irq="10"
|
|
|
|
|
hint.cy.0.maddr="0xd4000"
|
|
|
|
|
hint.cy.0.msize="0x2000"
|
2002-11-06 21:11:42 +00:00
|
|
|
|
device digi
|
|
|
|
|
hint.digi.0.at="isa"
|
|
|
|
|
hint.digi.0.port="0x104"
|
|
|
|
|
hint.digi.0.maddr="0xd0000"
|
|
|
|
|
# BIOS & FEP/OS components of device digi.
|
|
|
|
|
device digi_CX
|
|
|
|
|
device digi_CX_PCI
|
|
|
|
|
device digi_EPCX
|
|
|
|
|
device digi_EPCX_PCI
|
|
|
|
|
device digi_Xe
|
|
|
|
|
device digi_Xem
|
|
|
|
|
device digi_Xr
|
2000-12-11 19:41:48 +00:00
|
|
|
|
device spic
|
|
|
|
|
hint.spic.0.at="isa"
|
|
|
|
|
hint.spic.0.port="0x10a0"
|
2004-04-14 02:25:31 +00:00
|
|
|
|
# sx device is i386 and pc98 only at the moment.
|
|
|
|
|
device sx
|
|
|
|
|
options SX_DEBUG
|
2002-11-08 15:05:16 +00:00
|
|
|
|
# HOT1 Xilinx 6200 card (http://www.vcc.com/)
|
|
|
|
|
device xrpu
|
2001-05-09 19:37:25 +00:00
|
|
|
|
|
1995-07-16 10:31:26 +00:00
|
|
|
|
#
|
|
|
|
|
# Laptop/Notebook options:
|
|
|
|
|
#
|
|
|
|
|
# See also:
|
1996-01-30 23:02:38 +00:00
|
|
|
|
# apm under `Miscellaneous hardware'
|
1995-07-16 10:31:26 +00:00
|
|
|
|
# above.
|
|
|
|
|
|
|
|
|
|
# For older notebooks that signal a powerfail condition (external
|
|
|
|
|
# power supply dropped, or battery state low) by issuing an NMI:
|
|
|
|
|
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options POWERFAIL_NMI # make it beep instead of panicing
|
1995-10-10 04:03:12 +00:00
|
|
|
|
|
1998-09-03 20:58:34 +00:00
|
|
|
|
#
|
|
|
|
|
# I2C Bus
|
|
|
|
|
#
|
|
|
|
|
# Philips i2c bus support is provided by the `iicbus' device.
|
|
|
|
|
#
|
|
|
|
|
# Supported interfaces:
|
|
|
|
|
# pcf Philips PCF8584 ISA-bus controller
|
|
|
|
|
#
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device pcf
|
|
|
|
|
hint.pcf.0.at="isa"
|
|
|
|
|
hint.pcf.0.port="0x320"
|
|
|
|
|
hint.pcf.0.irq="5"
|
1998-09-03 20:58:34 +00:00
|
|
|
|
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
# ISDN4BSD
|
1999-05-20 10:14:57 +00:00
|
|
|
|
#
|
1999-12-14 20:52:41 +00:00
|
|
|
|
# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
|
1999-05-20 10:14:57 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# i4b passive ISDN cards support contains the following hardware drivers:
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2001-01-11 15:35:45 +00:00
|
|
|
|
# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
|
|
|
|
|
# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
|
|
|
|
|
# ifpi - AVM Fritz!Card PCI driver
|
2001-12-22 09:29:03 +00:00
|
|
|
|
# ifpi2 - AVM Fritz!Card PCI version 2 driver
|
2001-01-11 15:35:45 +00:00
|
|
|
|
# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# ifpnp - AVM Fritz!Card PnP driver
|
2001-01-11 15:35:45 +00:00
|
|
|
|
# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#
|
2001-05-25 08:43:30 +00:00
|
|
|
|
# i4b active ISDN cards support contains the following hardware drivers:
|
|
|
|
|
#
|
|
|
|
|
# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
|
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# Note that the ``options'' (if given) and ``device'' lines must BOTH
|
|
|
|
|
# be uncommented to enable support for a given card !
|
|
|
|
|
#
|
|
|
|
|
# In addition to a hardware driver (and probably an option) the mandatory
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# ISDN protocol stack devices and the mandatory support device must be
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# enabled as well as one or more devices from the optional devices section.
|
|
|
|
|
#
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
# isic driver (Siemens/Infineon chipsets)
|
|
|
|
|
#
|
Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,
i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are
no longer count devices. Also remove a few other instances of N<DEVICE>
being used to control compilation of whole files.
Reviewed by: hm
2002-09-02 00:52:11 +00:00
|
|
|
|
device isic
|
1999-12-14 20:52:41 +00:00
|
|
|
|
#
|
|
|
|
|
# ISA bus non-PnP Cards:
|
|
|
|
|
# ----------------------
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# Teles S0/8 or Niccy 1008
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options TEL_S0_8
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.at="isa"
|
2000-06-14 10:04:06 +00:00
|
|
|
|
hint.isic.0.maddr="0xd0000"
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.irq="5"
|
|
|
|
|
hint.isic.0.flags="1"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options TEL_S0_16
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.at="isa"
|
|
|
|
|
hint.isic.0.port="0xd80"
|
2000-06-14 10:04:06 +00:00
|
|
|
|
hint.isic.0.maddr="0xd0000"
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.irq="5"
|
|
|
|
|
hint.isic.0.flags="2"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# Teles S0/16.3
|
|
|
|
|
options TEL_S0_16_3
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.at="isa"
|
2000-06-26 10:04:00 +00:00
|
|
|
|
hint.isic.0.port="0xd80"
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.irq="5"
|
|
|
|
|
hint.isic.0.flags="3"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# AVM A1 or AVM Fritz!Card
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options AVM_A1
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.at="isa"
|
2000-06-26 10:04:00 +00:00
|
|
|
|
hint.isic.0.port="0x340"
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.irq="5"
|
|
|
|
|
hint.isic.0.flags="4"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# USRobotics Sportster ISDN TA intern
|
|
|
|
|
options USR_STI
|
|
|
|
|
hint.isic.0.at="isa"
|
|
|
|
|
hint.isic.0.port="0x268"
|
|
|
|
|
hint.isic.0.irq="5"
|
|
|
|
|
hint.isic.0.flags="7"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# ITK ix1 Micro ( < V.3, non-PnP version )
|
|
|
|
|
options ITKIX1
|
|
|
|
|
hint.isic.0.at="isa"
|
|
|
|
|
hint.isic.0.port="0x398"
|
|
|
|
|
hint.isic.0.irq="10"
|
|
|
|
|
hint.isic.0.flags="18"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
1999-05-20 10:14:57 +00:00
|
|
|
|
# ELSA PCC-16
|
2000-03-19 10:19:23 +00:00
|
|
|
|
options ELSA_PCC16
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.at="isa"
|
2000-06-26 10:04:00 +00:00
|
|
|
|
hint.isic.0.port="0x360"
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
hint.isic.0.irq="10"
|
|
|
|
|
hint.isic.0.flags="20"
|
1999-05-20 10:14:57 +00:00
|
|
|
|
#
|
1999-12-14 20:52:41 +00:00
|
|
|
|
# ISA bus PnP Cards:
|
|
|
|
|
# ------------------
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# Teles S0/16.3 PnP
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options TEL_S0_16_3_P
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# Creatix ISDN-S0 P&P
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options CRTX_S0_P
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# Dr. Neuhaus Niccy Go@
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options DRN_NGO
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# Sedlbauer Win Speed
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options SEDLBAUER
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# Dynalink IS64PH
|
2004-01-29 21:07:54 +00:00
|
|
|
|
options DYNALINK
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# ELSA QuickStep 1000pro ISA
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options ELSA_QS1ISA
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
1999-11-05 20:40:01 +00:00
|
|
|
|
# Siemens I-Surf 2.0
|
2000-03-19 10:19:23 +00:00
|
|
|
|
options SIEMENS_ISURF2
|
1999-08-06 14:05:10 +00:00
|
|
|
|
#
|
2000-04-10 18:33:23 +00:00
|
|
|
|
# Asuscom ISDNlink 128K ISA
|
2000-10-09 15:41:15 +00:00
|
|
|
|
options ASUSCOM_IPAC
|
2000-03-18 19:30:58 +00:00
|
|
|
|
#
|
2001-01-26 13:22:18 +00:00
|
|
|
|
# Eicon Diehl DIVA 2.0 and 2.02
|
Fixed misformatting of options line for COMPAQ_M610 and EICON_DIVA in
rev.1.974.
Fixed previous misformatting of options line for ACCEPT_FILTER_DATA,
ACCEPT_FILTER_HTTP, ACPI_DEBUG, COMPAT_SVR4, DEBUG_SVR4, ED_NO_MIIBUS,
IFS, PCFCLOCK_MAX_RETRIES, PCFCLOCK_VERBOSE, PECOFF_DEBUG, PECOFF_SUPPORT,
PPC_PROBE_CHIPSET, RANDOM_IP_ID, REGRESSION, SC_CUT_SEPCHARS,
SC_CUT_SPACES2TABS, SES_ENABLE_PASSTHROUGH, UFS_DIRHASH, UFS_EXTATTR
and UFS_EXTATTR_AUTOSTART.
2001-10-25 12:05:45 +00:00
|
|
|
|
options EICON_DIVA
|
2001-10-25 11:14:46 +00:00
|
|
|
|
#
|
|
|
|
|
# Compaq Microcom 610 ISDN card (Compaq series PSB2222I)
|
Fixed misformatting of options line for COMPAQ_M610 and EICON_DIVA in
rev.1.974.
Fixed previous misformatting of options line for ACCEPT_FILTER_DATA,
ACCEPT_FILTER_HTTP, ACPI_DEBUG, COMPAT_SVR4, DEBUG_SVR4, ED_NO_MIIBUS,
IFS, PCFCLOCK_MAX_RETRIES, PCFCLOCK_VERBOSE, PECOFF_DEBUG, PECOFF_SUPPORT,
PPC_PROBE_CHIPSET, RANDOM_IP_ID, REGRESSION, SC_CUT_SEPCHARS,
SC_CUT_SPACES2TABS, SES_ENABLE_PASSTHROUGH, UFS_DIRHASH, UFS_EXTATTR
and UFS_EXTATTR_AUTOSTART.
2001-10-25 12:05:45 +00:00
|
|
|
|
options COMPAQ_M610
|
2001-01-26 13:22:18 +00:00
|
|
|
|
#
|
1999-12-14 20:52:41 +00:00
|
|
|
|
# PCI bus Cards:
|
|
|
|
|
# --------------
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
1999-12-14 20:52:41 +00:00
|
|
|
|
# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options ELSA_QS1PCI
|
1997-08-14 14:03:27 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
# ifpnp driver for AVM Fritz!Card PnP
|
|
|
|
|
#
|
|
|
|
|
# AVM Fritz!Card PnP
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device ifpnp
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
# ihfc driver for Cologne Chip ISA chipsets (experimental!)
|
|
|
|
|
#
|
|
|
|
|
# Teles 16.3c ISA PnP
|
|
|
|
|
# AcerISDN P10 ISA PnP
|
|
|
|
|
# TELEINT ISDN SPEED No.1
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device ihfc
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
# ifpi driver for AVM Fritz!Card PCI
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# AVM Fritz!Card PCI
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device ifpi
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#---------------------------------------------------------------------------
|
2001-12-22 09:29:03 +00:00
|
|
|
|
# ifpi2 driver for AVM Fritz!Card PCI version 2
|
|
|
|
|
#
|
|
|
|
|
# AVM Fritz!Card PCI version 2
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device "ifpi2"
|
2001-12-22 09:29:03 +00:00
|
|
|
|
#
|
|
|
|
|
#---------------------------------------------------------------------------
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# iwic driver for Winbond W6692 chipset
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device iwic
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#---------------------------------------------------------------------------
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
|
2001-01-11 15:35:45 +00:00
|
|
|
|
#
|
|
|
|
|
# Traverse Technologies NETjet-S
|
|
|
|
|
# Teles PCI-TJ
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device itjc
|
2001-01-11 15:35:45 +00:00
|
|
|
|
#
|
|
|
|
|
#---------------------------------------------------------------------------
|
2001-05-25 08:43:30 +00:00
|
|
|
|
# iavc driver (AVM active cards, needs i4bcapi driver!)
|
|
|
|
|
#
|
2004-03-02 19:15:13 +00:00
|
|
|
|
device iavc
|
2001-05-25 08:43:30 +00:00
|
|
|
|
#
|
|
|
|
|
# AVM B1 ISA bus (PnP mode not supported!)
|
|
|
|
|
# ----------------------------------------
|
|
|
|
|
hint.iavc.0.at="isa"
|
|
|
|
|
hint.iavc.0.port="0x150"
|
|
|
|
|
hint.iavc.0.irq="5"
|
|
|
|
|
#
|
|
|
|
|
#---------------------------------------------------------------------------
|
2000-10-09 15:41:15 +00:00
|
|
|
|
# ISDN Protocol Stack - mandatory for all hardware drivers
|
1999-11-05 20:40:01 +00:00
|
|
|
|
#
|
1998-12-27 21:47:14 +00:00
|
|
|
|
# Q.921 / layer 2 - i4b passive cards D channel handling
|
Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,
i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are
no longer count devices. Also remove a few other instances of N<DEVICE>
being used to control compilation of whole files.
Reviewed by: hm
2002-09-02 00:52:11 +00:00
|
|
|
|
device "i4bq921"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# Q.931 / layer 3 - i4b passive cards D channel handling
|
Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,
i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are
no longer count devices. Also remove a few other instances of N<DEVICE>
being used to control compilation of whole files.
Reviewed by: hm
2002-09-02 00:52:11 +00:00
|
|
|
|
device "i4bq931"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# layer 4 - i4b common passive and active card handling
|
Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,
i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are
no longer count devices. Also remove a few other instances of N<DEVICE>
being used to control compilation of whole files.
Reviewed by: hm
2002-09-02 00:52:11 +00:00
|
|
|
|
device "i4b"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
# ISDN devices - mandatory for all hardware drivers
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# userland driver to do ISDN tracing (for passive cards only)
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device "i4btrc" 4
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# userland driver to control the whole thing
|
Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,
i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are
no longer count devices. Also remove a few other instances of N<DEVICE>
being used to control compilation of whole files.
Reviewed by: hm
2002-09-02 00:52:11 +00:00
|
|
|
|
device "i4bctl"
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
# ISDN devices - optional
|
|
|
|
|
#
|
1998-12-27 21:47:14 +00:00
|
|
|
|
# userland driver for access to raw B channel
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device "i4brbch" 4
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# userland driver for telephony
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device "i4btel" 2
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
|
|
|
|
# network driver for IP over raw HDLC ISDN
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device "i4bipr" 4
|
1998-12-27 21:47:14 +00:00
|
|
|
|
# enable VJ header compression detection for ipr i/f
|
1999-06-29 18:58:27 +00:00
|
|
|
|
options IPR_VJ
|
1999-12-14 20:52:41 +00:00
|
|
|
|
# enable logging of the first n IP packets to isdnd (n=32 here)
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
options IPR_LOG=32
|
1998-12-27 21:47:14 +00:00
|
|
|
|
#
|
2000-06-06 10:31:19 +00:00
|
|
|
|
# network driver for sync PPP over ISDN; requires an equivalent
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
# number of sppp device to be configured
|
|
|
|
|
device "i4bisppp" 4
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#
|
2001-05-25 08:43:30 +00:00
|
|
|
|
# B-channel interface to the netgraph subsystem
|
2000-10-09 15:41:15 +00:00
|
|
|
|
device "i4bing" 2
|
|
|
|
|
#
|
2001-05-25 08:43:30 +00:00
|
|
|
|
# CAPI driver needed for active ISDN cards (see iavc driver above)
|
Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,
i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are
no longer count devices. Also remove a few other instances of N<DEVICE>
being used to control compilation of whole files.
Reviewed by: hm
2002-09-02 00:52:11 +00:00
|
|
|
|
device "i4bcapi"
|
2001-05-25 08:43:30 +00:00
|
|
|
|
#
|
2000-10-09 15:41:15 +00:00
|
|
|
|
#---------------------------------------------------------------------------
|
1998-12-27 21:47:14 +00:00
|
|
|
|
|
2004-04-16 05:59:08 +00:00
|
|
|
|
#
|
2004-04-16 09:29:45 +00:00
|
|
|
|
# System Management Bus (SMB)
|
2004-04-16 05:59:08 +00:00
|
|
|
|
#
|
|
|
|
|
options ENABLE_ALART # Control alarm on Intel intpm driver
|
|
|
|
|
|
1998-03-09 22:09:13 +00:00
|
|
|
|
#
|
|
|
|
|
# Set the number of PV entries per process. Increasing this can
|
2004-01-19 01:26:59 +00:00
|
|
|
|
# stop panics related to heavy use of shared memory. However, that can
|
1998-03-09 22:09:13 +00:00
|
|
|
|
# (combined with large amounts of physical memory) cause panics at
|
|
|
|
|
# boot time due the kernel running out of VM space.
|
|
|
|
|
#
|
|
|
|
|
# If you're tweaking this, you might also want to increase the sysctls
|
|
|
|
|
# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
|
|
|
|
|
#
|
1998-03-10 15:42:13 +00:00
|
|
|
|
# The value below is the one more than the default.
|
1998-03-09 22:09:13 +00:00
|
|
|
|
#
|
1999-11-05 20:40:01 +00:00
|
|
|
|
options PMAP_SHPGPERPROC=201
|
1998-03-09 22:09:13 +00:00
|
|
|
|
|
2001-09-21 06:34:01 +00:00
|
|
|
|
#
|
|
|
|
|
# Change the size of the kernel virtual address space. Due to
|
|
|
|
|
# constraints in loader(8) on i386, this must be a multiple of 4.
|
|
|
|
|
# 256 = 1 GB of kernel address space. Increasing this also causes
|
|
|
|
|
# a reduction of the address space in user processes. 512 splits
|
|
|
|
|
# the 4GB cpu address space in half (2GB user, 2GB kernel).
|
|
|
|
|
#
|
|
|
|
|
options KVA_PAGES=260
|
|
|
|
|
|
2001-02-27 07:39:12 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# ABI Emulation
|
|
|
|
|
|
|
|
|
|
# Enable iBCS2 runtime support for SCO and ISC binaries
|
|
|
|
|
options IBCS2
|
|
|
|
|
|
|
|
|
|
# Emulate spx device for client side of SVR3 local X interface
|
|
|
|
|
options SPX_HACK
|
|
|
|
|
|
|
|
|
|
# Enable Linux ABI emulation
|
|
|
|
|
options COMPAT_LINUX
|
|
|
|
|
|
2002-09-07 01:49:52 +00:00
|
|
|
|
# Enable i386 a.out binary support
|
|
|
|
|
options COMPAT_AOUT
|
|
|
|
|
|
2001-06-11 11:04:36 +00:00
|
|
|
|
# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
|
|
|
|
|
# and PSEUDOFS)
|
2001-03-02 05:57:39 +00:00
|
|
|
|
options LINPROCFS
|
|
|
|
|
|
2000-01-07 14:41:12 +00:00
|
|
|
|
#
|
|
|
|
|
# SysVR4 ABI emulation
|
|
|
|
|
#
|
|
|
|
|
# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# a KLD module.
|
|
|
|
|
# The STREAMS network emulation code can also be compiled statically or as a
|
2000-01-07 14:41:12 +00:00
|
|
|
|
# module. If loaded as a module, it must be loaded before the svr4 module
|
|
|
|
|
# (the /usr/sbin/svr4 script does this for you). If compiling statically,
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
# the `streams' device must be configured into any kernel which also
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# specifies COMPAT_SVR4. It is possible to have a statically-configured
|
2000-01-07 14:41:12 +00:00
|
|
|
|
# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
|
|
|
|
|
# script understands that it doesn't need to load the `streams' module under
|
|
|
|
|
# those circumstances.
|
|
|
|
|
# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
|
2004-01-29 21:07:54 +00:00
|
|
|
|
# (whether static or dynamic).
|
|
|
|
|
#
|
Fixed misformatting of options line for COMPAQ_M610 and EICON_DIVA in
rev.1.974.
Fixed previous misformatting of options line for ACCEPT_FILTER_DATA,
ACCEPT_FILTER_HTTP, ACPI_DEBUG, COMPAT_SVR4, DEBUG_SVR4, ED_NO_MIIBUS,
IFS, PCFCLOCK_MAX_RETRIES, PCFCLOCK_VERBOSE, PECOFF_DEBUG, PECOFF_SUPPORT,
PPC_PROBE_CHIPSET, RANDOM_IP_ID, REGRESSION, SC_CUT_SEPCHARS,
SC_CUT_SPACES2TABS, SES_ENABLE_PASSTHROUGH, UFS_DIRHASH, UFS_EXTATTR
and UFS_EXTATTR_AUTOSTART.
2001-10-25 12:05:45 +00:00
|
|
|
|
options COMPAT_SVR4 # build emulator statically
|
|
|
|
|
options DEBUG_SVR4 # enable verbose debugging
|
Borrow phk's axe and apply the next stage of config(8)'s evolution.
Use Warner Losh's "hint" driver to decode ascii strings to fill the
resource table at boot time.
config(8) no longer generates an ioconf.c table - ie: the configuration
no longer has to be compiled into the kernel. You can reconfigure your
isa devices with the likes of this at loader(8) time:
set hint.ed.0.port=0x320
userconfig will be rewritten to use this style interface one day and will
move to /boot/userconfig.4th or something like that.
It is still possible to statically compile in a set of hints into a kernel
if you do not wish to use loader(8). See the "hints" directive in GENERIC
as an example.
All device wiring has been moved out of config(8). There is a set of
helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98)
that extract the 'at isa? port foo irq bar' from the old files and produces
a hints file. If you install this file as /boot/device.hints (and update
/boot/defaults/loader.conf - You can do a build/install in sys/boot) then
loader will load it automatically for you. You can also compile in the
hints directly with: hints "device.hints" as well.
There are a few things that I'm not too happy with yet. Under this scheme,
things like LINT would no longer be useful as "documentation" of settings.
I have renamed this file to 'NOTES' and stored the example hints strings
in it. However... this is not something that config(8) understands, so
there is a script that extracts the build-specific data from the
documentation file (NOTES) to produce a LINT that can be config'ed and
built. A stack of man4 pages will need updating. :-/
Also, since there is no longer a difference between 'device' and
'pseudo-device' I collapsed the two together, and the resulting 'device'
takes a 'number of units' for devices that still have it statically
allocated. eg: 'device fe 4' will compile the fe driver with NFE set
to 4. You can then set hints for 4 units (0 - 3). Also note that
'device fe0' will be interpreted as "zero units of 'fe'" which would be
bad, so there is a config warning for this. This is only needed for
old drivers that still have static limits on numbers of units.
All the statically limited drivers that I could find were marked.
Please exercise EXTREME CAUTION when transitioning!
Moral support by: phk, msmith, dfr, asmodai, imp, and others
2000-06-13 22:28:50 +00:00
|
|
|
|
device streams # STREAMS network driver (required for svr4).
|
2000-01-07 14:41:12 +00:00
|
|
|
|
|
2002-07-15 19:25:40 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# VM OPTIONS
|
|
|
|
|
|
|
|
|
|
# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the
|
|
|
|
|
# kernel to use a 4 MByte pages to map the kernel instead of 4k pages.
|
|
|
|
|
# This saves on the amount of memory needed for page tables needed to
|
|
|
|
|
# map the kernel. You should only disable this feature as a temporary
|
|
|
|
|
# workaround if you are having problems with it enabled.
|
|
|
|
|
#
|
|
|
|
|
#options DISABLE_PSE
|
|
|
|
|
|
|
|
|
|
# Disable the global pages PGE CPU feature. The PGE feature allows pages
|
|
|
|
|
# to be marked with the PG_G bit. TLB entries for these pages are not
|
|
|
|
|
# flushed from the cache when %cr3 is reloaded. This can make context
|
|
|
|
|
# switches less expensive. You should only disable this feature as a
|
|
|
|
|
# temporary workaround if you are having problems with it enabled.
|
|
|
|
|
#
|
2002-09-09 02:40:59 +00:00
|
|
|
|
#options DISABLE_PG_G
|
2002-07-15 19:25:40 +00:00
|
|
|
|
|
|
|
|
|
# KSTACK_PAGES is the number of memory pages to assign to the kernel
|
|
|
|
|
# stack of each thread.
|
|
|
|
|
|
|
|
|
|
options KSTACK_PAGES=3
|
|
|
|
|
|
2000-07-26 19:39:46 +00:00
|
|
|
|
#####################################################################
|
|
|
|
|
|
2000-03-18 18:39:02 +00:00
|
|
|
|
# More undocumented options for linting.
|
|
|
|
|
# Note that documenting these are not considered an affront.
|
|
|
|
|
|
2003-02-13 22:33:26 +00:00
|
|
|
|
options FB_INSTALL_CDEV # install a CDEV entry in /dev
|
|
|
|
|
|
2000-12-20 12:51:08 +00:00
|
|
|
|
# PECOFF module (Win32 Execution Format)
|
Fixed misformatting of options line for COMPAQ_M610 and EICON_DIVA in
rev.1.974.
Fixed previous misformatting of options line for ACCEPT_FILTER_DATA,
ACCEPT_FILTER_HTTP, ACPI_DEBUG, COMPAT_SVR4, DEBUG_SVR4, ED_NO_MIIBUS,
IFS, PCFCLOCK_MAX_RETRIES, PCFCLOCK_VERBOSE, PECOFF_DEBUG, PECOFF_SUPPORT,
PPC_PROBE_CHIPSET, RANDOM_IP_ID, REGRESSION, SC_CUT_SEPCHARS,
SC_CUT_SPACES2TABS, SES_ENABLE_PASSTHROUGH, UFS_DIRHASH, UFS_EXTATTR
and UFS_EXTATTR_AUTOSTART.
2001-10-25 12:05:45 +00:00
|
|
|
|
options PECOFF_SUPPORT
|
|
|
|
|
options PECOFF_DEBUG
|
2001-01-20 12:34:53 +00:00
|
|
|
|
|
2000-03-18 18:39:02 +00:00
|
|
|
|
options I4B_SMP_WORKAROUND
|
|
|
|
|
options I586_PMC_GUPROF=0x70000
|
|
|
|
|
options KBDIO_DEBUG=2
|
|
|
|
|
options KBD_MAXRETRY=4
|
|
|
|
|
options KBD_MAXWAIT=6
|
|
|
|
|
options KBD_RESETDELAY=201
|
2000-11-08 11:34:09 +00:00
|
|
|
|
|
2000-03-18 18:39:02 +00:00
|
|
|
|
options PSM_DEBUG=1
|
2001-01-20 12:34:53 +00:00
|
|
|
|
|
2002-10-17 13:47:31 +00:00
|
|
|
|
options TIMER_FREQ=((14318182+6)/12)
|
2001-01-20 12:34:53 +00:00
|
|
|
|
|
2000-03-18 18:39:02 +00:00
|
|
|
|
options VM_KMEM_SIZE
|
|
|
|
|
options VM_KMEM_SIZE_MAX
|
|
|
|
|
options VM_KMEM_SIZE_SCALE
|