dahdi-linux/drivers/dahdi/wct4xxp
Shaun Ruffell bee7c5e579 wct4xxp: Add module parameter to ignore rotary switch settings.
The dual and quad span cards have a rotary switch onboard which controls
the order that cards serviced by this driver are registered with the
core of DAHDI. This commit adds a module parameter 'ignore_rotary'
which, when set to 1, causes the driver to ignore the position of the
rotary switch and only consider the physical slot when registering with
DAHDI.

Ignoring the rotary switch settings also permits the PCI device to be
bound and unbound from the driver at runtime since registration with
DAHDI no longer only happens when the module is first initialized.

By default, the rotary switch will still be used to determine
registration order. This commit does not change the default behavior.

Signed-off-by: Shaun Ruffell <sruffell@digium.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10016 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-07-01 15:45:14 +00:00
..
base.c wct4xxp: Add module parameter to ignore rotary switch settings. 2011-07-01 15:45:14 +00:00
Kbuild wct4xxp: Set -Wno-unused-but-set-variable compiler option if available. 2011-06-02 20:00:47 +00:00
Makefile wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
vpm450m.c Remove unused variables. 2011-06-02 20:00:36 +00:00
vpm450m.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wct4xxp-diag.c wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wct4xxp.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00