From: Rajesh Borundia Date: Tue, 23 Nov 2010 01:25:21 +0000 (+0000) Subject: qlcnic: avoid using reset_devices as it may become obsolete. X-Git-Tag: v2.6.38-rc1~476^2~449 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0044bcfa95ddf2e317863fb29121c284b6725ca;p=pandora-kernel.git qlcnic: avoid using reset_devices as it may become obsolete. In kdump environment do not depend upon reset_devices parameter to reset the pci function as this parameter may become obsolete. Instead use an adapter specific mechanism to determine if the pci function needs to be reset. Per function refcount is maintained in driver, which is set in probe and reset in remove handler of adapter. If the probe detects the count as non zero then reset the function. Signed-off-by: Rajesh Borundia Signed-off-by: Amit Kumar Salecha Signed-off-by: David S. Miller --- Reading git-diff-tree failed