diff options
author | Shahed Shaikh <shahed.shaikh@qlogic.com> | 2014-08-27 20:43:20 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-30 07:15:37 +0400 |
commit | 3ced0a88cd4c86587cf9545f67a7b9ae63f78a4a (patch) | |
tree | 1a488a0d9c18dae8e67c8d5447a51d1d61bfd295 /drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | |
parent | c1b2037fc141cc838435e58a9e4efb0b92a696e4 (diff) | |
download | linux-3ced0a88cd4c86587cf9545f67a7b9ae63f78a4a.tar.xz |
qlcnic: Add support to run firmware POST
This patch adds support to run Power On Self Test (POST) for 83xx adapters.
POST can be run in 3 different speed modes :
i) Fast mode (takes about 690 ms)
ii) Medium mode (takes about 2930 ms)
iii) Slow mode (takes about 7500 ms)
To run POST, firmware file with name "83xx_post_fw.bin" should be present under
/lib/firmware directory. load_fw_file module parameter is used to specify
POST operation and its speed mode.
load_fw_file = 2 : Fast mode
load_fw_file = 3 : Medium mode
load_fw_file = 4 : Slow mode
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h index 80a55094fcaf..1e8bb82a7a22 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h @@ -540,6 +540,8 @@ struct qlcnic_hardware_context { u8 lb_mode; u16 vxlan_port; struct device *hwmon_dev; + u32 post_mode; + bool run_post; }; struct qlcnic_adapter_stats { |