diff options
author | Denis Bolotin <denis.bolotin@cavium.com> | 2018-07-04 17:06:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-05 13:27:09 +0900 |
commit | 5e7ba042fd05043416babace5a4a953e29cf2826 (patch) | |
tree | a8b7ba575c92659af40f465537a9c4636b7281f7 /drivers/net/ethernet/qlogic/qed/qed.h | |
parent | net: phy: fix flag masking in __set_phy_supported (diff) | |
download | linux-dev-5e7ba042fd05043416babace5a4a953e29cf2826.tar.xz linux-dev-5e7ba042fd05043416babace5a4a953e29cf2826.zip |
qed: Fix reading stale configuration information
Configuration information read at driver load can become stale after it is
updated. Mark information as not valid and re-populate when this happens.
Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h index 00db3401b898..1dfaccd151f0 100644 --- a/drivers/net/ethernet/qlogic/qed/qed.h +++ b/drivers/net/ethernet/qlogic/qed/qed.h @@ -502,6 +502,7 @@ enum BAR_ID { struct qed_nvm_image_info { u32 num_images; struct bist_nvm_image_att *image_att; + bool valid; }; #define DRV_MODULE_VERSION \ |