## Path:           Hardware/Hotplug
## Description:    Common hotplug options
## Type:           list(default,off,verbose)
## Default:        default
## ServiceRestart:
#####################################################################
# Common Hotplug Options
# ^^^^^^^^^^^^^^^^^^^^^^
#
# This variable controls the amount of output of the hotplug service.  With
# 'default' (or '' or 'no') it prints only few messages and errors to syslog.
# Setting it to 'off' it will be absolutely quiet. With 'verbose' (or 'yes') it
# prints some extra debug output. With 'max' it will pollute your sysconfig
# with every single detail. 
#
HOTPLUG_DEBUG="no"

## Type:           list(syslog,file,console,auto)
## Default:        syslog
## ServiceRestart:
#
# The (debug) output and error messges of all hotplug scripts are written to
# syslog by default and will be lost if no syslogd is running. Therefore you
# may change that setting. You may choose one of these:
# syslog      all messages go to syslog (default) 
# file        all messages will be written to /var/log/hotplug.log
# console     all messages will be written to /dev/console
# auto        use syslog if syslogd is running and file if not
# Any other value is interpreted as syslog.
#
HOTPLUG_SYSLOG=syslog

## Type:           integer(0:)
## Default:        50
#
# Sets the maximum number of concurrent hotplug processes. '0' means
# unlimited. If you experience memory shortage during booting
# you should set this variable to something small, e.g 20.
#
HOTPLUG_MAX_EVENTS="50"

## Type:           yesno
## Default:        no
#
# Select whether a fully dynamic device nodes directory should be used.
# If set to yes the device node directory /dev will be mounted on tmpfs.
# All manual modification in the directory will be lost on reboot; these
# modification should rather be done via custom udev rules.
# See man udev for details.
#
HOTPLUG_DEV_ON_TMPFS="no"

## Type:           yesno
## Default:        no
## ServiceRestart:
#
# Sometimes there are multiple modules that match a device, but mostly we need
# only one of them. Therefore we stop module loading after the first module of
# the list was succesfully loaded. If you want hotplug to always load all
# modules it gets then set this variable to 'yes'.
#
HOTPLUG_LOAD_MULTIPLE_MODULES=no

## Type:           string
## Default:        "01 02 06 09 0C"
## ServiceRestart:
#
# PCI agent (/etc/hotplug.d/pci/50-pci.hotplug) can skip devices of certain PCI
# classes. If only some classes of PCI devices should be handled, then write
# these classes to this variable. This has no effect if there is a valid
# hardware configuration (/etc/sysconfig/hardware/hwcfg-*) for this device.
#
# It must only contain class. Subclass and prog-if may be skipped. That means
# the numbers must at least have two digits. Seperate multiple numbers by space.
# If this variable is empty, then all classes will be handled. Look at the end
# of /usr/share/pci.ids for the right number.
#
# default: 01 Mass storage controller
#          02 Network controller
#          06 Bridges
#          09 Input device controller
#          0C Serial bus controller
#
HOTPLUG_PCI_CLASSES_WHITELIST="01 02 06 09 0C"

## Type:           string
## Default:        ""
## ServiceRestart:
#
# PCI agent (/etc/hotplug.d/pci/50-pci.hotplug) can skip devices of certain PCI
# classes. If some classes of PCI devices should be skipped they have to be
# listed in this variable. This has no effect if there is a valid hardware
# configuration (/etc/sysconfig/hardware/hwcfg-*) for this device.
#
# It must only contain class, subclass and prog-if may be skipped. That means
# the numbers must at least have two digits. Seperate multiple numbers by space.
# If this variable is empty, then all classes will be handled. Look at the end
# of /usr/share/pci.ids for the right number.
#
HOTPLUG_PCI_CLASSES_BLACKLIST=""

## Type:           string
## Default:        ""
## ServiceRestart:
#
# When hotplug PCI agent looks for a driver it loads any module that advertises
# itself for the given device. Sometimes there are optional modules, that are
# not at all neccessary for the proper usage of the device or that do not work
# properly.
# Sometimes you want PCI agent to load only modules that are in certain
# subdirectories of /lib/modules/<kernel version>/kernel/drivers/. If this
# variable is not empty, only modules from the given subdirectories will be
# loaded. If it is empty, then there is no limitation. Seperate multiple
# subdirectories by space. This has no effect if there is a valid hardware
# configuration (/etc/sysconfig/hardware/hwcfg-*) for this device.
#
# Note, that there is also /etc/hotplug/blacklist, to add single modules.
#
HOTPLUG_PCI_DRIVERTYPE_WHITELIST=""

## Type:           string
## Default:        "char/watchdog isdn mtd pci/hotplug video"
## ServiceRestart:
#
# When hotplug PCI agent looks for a driver it loads any module that advertises
# itself for the given device. Sometimes there are optional modules, that are
# not at all neccessary for the proper usage of the device or that do not work
# properly.
# Sometimes you want PCI agent to load only modules that are in certain
# subdirectories of /lib/modules/<kernel version>/kernel/drivers/. If this
# variable is not empty, modules from the given subdirectories will be skipped.
# If it is empty, then there is no limitation. Seperate multiple subdirectories
# by space. This has no effect if there is a valid hardware
# configuration (/etc/sysconfig/hardware/hwcfg-*) for this device.
#
# Note, that there is also /etc/hotplug/blacklist, to add single modules.
#
HOTPLUG_PCI_DRIVERTYPE_BLACKLIST="char/watchdog isdn mtd pci/hotplug video"

## Type:           list(no,yes,wait)
## Default:        yes
## ServiceRestart:
#
# At boot time there may be several events for network interface cards which are
# processed asyncronously. In some cases it might happen that multiple drivers
# register their interfaces at nearly the same time. Then it is mostly
# unpredictable which interface will become which number, because the kernel
# numbers them in order of registration.
# Therefore we queue PCI events for NICs, so that only one driver is
# initializing at one time. And because the PCI slots are scanned in a fixed
# order, the interfaces should be named in the same order at every boot.
# If you don't like it, turn it off. (You don't need it, if you use
# PERSISTENT_NAME for every network interface.)
#
# If your interface still change their names with "yes", then try "wait".
#
HOTPLUG_PCI_QUEUE_NIC_EVENTS=yes

## Type:           yesno
## Default:        no
## ServiceRestart: coldplug
#
# If you have a machines that supports real PCI hotplugging (not cardbus), then
# we have to load additional modules (cuurently just acpiphp).
#
HOTPLUG_DO_REAL_PCI_HOTPLUG=no 
