diff options
author | Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> | 2010-05-12 23:07:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-14 06:08:01 -0400 |
commit | b3a2464941e32ca58059cba68012105e35ce84af (patch) | |
tree | 1cd60c8732140819958f9acde18960c80586a3cc /drivers/net/qlcnic/qlcnic.h | |
parent | 96f8118c25ea812335986d96a68441c2bcb01fe0 (diff) |
qlcnic: check device class
pci-func class can be other than ethernet in Qlogic CNA device.
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index 8a9412fd2ff5..5c89f4e4635b 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h | |||
@@ -1037,7 +1037,7 @@ int qlcnic_need_fw_reset(struct qlcnic_adapter *adapter); | |||
1037 | void qlcnic_request_firmware(struct qlcnic_adapter *adapter); | 1037 | void qlcnic_request_firmware(struct qlcnic_adapter *adapter); |
1038 | void qlcnic_release_firmware(struct qlcnic_adapter *adapter); | 1038 | void qlcnic_release_firmware(struct qlcnic_adapter *adapter); |
1039 | int qlcnic_pinit_from_rom(struct qlcnic_adapter *adapter); | 1039 | int qlcnic_pinit_from_rom(struct qlcnic_adapter *adapter); |
1040 | void qlcnic_setup_idc_param(struct qlcnic_adapter *adapter); | 1040 | int qlcnic_setup_idc_param(struct qlcnic_adapter *adapter); |
1041 | 1041 | ||
1042 | int qlcnic_rom_fast_read(struct qlcnic_adapter *adapter, int addr, int *valp); | 1042 | int qlcnic_rom_fast_read(struct qlcnic_adapter *adapter, int addr, int *valp); |
1043 | int qlcnic_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, | 1043 | int qlcnic_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, |