summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aquantia/atlantic/aq_hw.h
diff options
context:
space:
mode:
authorIgor Russkikh2018-01-19 15:03:23 +0100
committerDavid S. Miller2018-01-22 00:19:03 +0100
commit76c19c6cfa8f7e4f8c7d5407f77237b80095e5d9 (patch)
treea44ea8aa2b187f809d44f1a2f2ce7c3e0a128e00 /drivers/net/ethernet/aquantia/atlantic/aq_hw.h
parentnet: aquantia: Remove create/destroy from hw ops (diff)
downloadkernel-qcow2-linux-76c19c6cfa8f7e4f8c7d5407f77237b80095e5d9.tar.gz
kernel-qcow2-linux-76c19c6cfa8f7e4f8c7d5407f77237b80095e5d9.tar.xz
kernel-qcow2-linux-76c19c6cfa8f7e4f8c7d5407f77237b80095e5d9.zip
net: aquantia: Change confusing no_ff_addr to more meaningful name
The address to check if HW is not dead/hang could be stored in capabilities, since it is a constant. Change its name to better reflect the idea. Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_hw.h')
-rw-r--r--drivers/net/ethernet/aquantia/atlantic/aq_hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h
index 5566486358cc..a8bf38791079 100644
--- a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h
@@ -31,6 +31,7 @@ struct aq_hw_caps_s {
u32 vecs;
u32 mtu;
u32 mac_regs_count;
+ u32 hw_alive_check_addr;
u8 msix_irqs;
u8 tcs;
u8 rxd_alignment;
@@ -102,7 +103,6 @@ struct aq_hw_s {
atomic_t flags;
struct aq_nic_cfg_s *aq_nic_cfg;
void __iomem *mmio;
- unsigned int not_ff_addr;
struct aq_hw_link_status_s aq_link_status;
struct hw_aq_atl_utils_mbox mbox;
struct hw_atl_stats_s last_stats;