diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2010-11-23 03:08:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 10:47:16 -0800 |
commit | 5a6f95e653adf52ee1ff09cd5e66c2640c65ff66 (patch) | |
tree | e70e178fdd571f65d8d457d9c701facc16610c02 /net/ipv4/ipconfig.c | |
parent | b0044bcfa95ddf2e317863fb29121c284b6725ca (diff) | |
download | linux-5a6f95e653adf52ee1ff09cd5e66c2640c65ff66.tar.gz linux-5a6f95e653adf52ee1ff09cd5e66c2640c65ff66.tar.bz2 linux-5a6f95e653adf52ee1ff09cd5e66c2640c65ff66.zip |
netxen: avoid using reset_devices as it may become obsolete
In kdump environment do not depend on reset_devices
parameter to reset the device as the parameter may become obsolete.
Instead use an adapter specific mechanism to determine if the device
needs a reset.
Driver maintains a count of number of pci functions probed
and decrements the count when remove handler of that pci function
is called. If the first probe, probe of function 0,
detects the count as non zero then reset the device.
Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipconfig.c')
0 files changed, 0 insertions, 0 deletions