summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcb4xxp/base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-07-01 15:45:14 +0000
committerShaun Ruffell <sruffell@digium.com>2011-07-01 15:45:14 +0000
commit45ac17696e044a6ece9bf6633b9f0d1177ae4d50 (patch)
tree1a555785f7d45b9453a6617e9681f9db97f2efdb /drivers/dahdi/wcb4xxp/base.c
parentc0152d150a3a9768b26e2962be932b9017886b1c (diff)
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
Diffstat (limited to 'drivers/dahdi/wcb4xxp/base.c')
0 files changed, 0 insertions, 0 deletions