KERNEL.CONF(5) BSD File Formats Manual KERNEL.CONF(5)NAMEkernel.conf — configuration for legacy devices
DESCRIPTION
The kernel.conf file contains configuration entries created by the USER‐
CONFIG mechanism. This is typically used to force I/O port, memory and
IRQ settings for legacy ISA devices on the i386 platform. It is typi‐
cally created during first-time system installation by kget(8).
The file /boot/loader.conf must contain this line for the kernel.conf
script to be loaded:
userconfig_script_load="YES"
The file /boot/defaults/loader.conf contains the following two lines:
userconfig_script_name="/boot/kernel.conf"
userconfig_script_type="userconfig_script"
The kernel must be compiled with the following option:
options USERCONFIG
This option is normally present in the GENERIC kernel.
SYNTAX
Device names must contain both the name of the driver and the instance
number, for example, ed0.
di <device> Disable the given device.
en <device> Enable the given device.
po <device> <port> Set the beginning of the device's allocated port
range.
ir <device> <irq> Set the device's interrupt request line.
dr <device> <dma> Set the device's dma channel.
iom <device> <address> Set the beginning of the device's allocated mem‐
ory window.
ios <device> <size> Set the size of the device's allocated memory
window.
f <device> <flags> Set arbitrary flags for the device.
q End the configuration file.
SEE ALSOloader.conf(5)boot(8), kget(8), loader(8)HISTORY
The kernel.conf mechanism has been deprecated in FreeBSD 5.0.
AUTHORS
This man page was written by Bruce M Simpson ⟨bms@spc.org⟩.
BSD May 23, 2003 BSD