aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aquantia/atlantic/aq_hw.h
diff options
context:
space:
mode:
authorPavel Belous <pavel.belous@aquantia.com>2017-08-28 21:52:11 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-29 15:11:44 -0700
commitbd8ed4415ff8584ccdd1f61c8d7279dc1f9e623e (patch)
tree2c64fbbb2d56b78d8c91aaaac617ddbad38a043a /drivers/net/ethernet/aquantia/atlantic/aq_hw.h
parentnet:ethernet:aquantia: Workaround for HW checksum bug. (diff)
downloadlinux-dev-bd8ed4415ff8584ccdd1f61c8d7279dc1f9e623e.tar.xz
linux-dev-bd8ed4415ff8584ccdd1f61c8d7279dc1f9e623e.zip
net:ethernet:aquantia: Fix for incorrect speed index.
The driver choose the optimal interrupt throttling settings depends of current link speed. Due this bug link_status field from aq_hw is never updated and as result always used same interrupt throttling values. Fixes: 3d2ff7eebe26 ("net: ethernet: aquantia: Atlantic hardware abstraction layer") Signed-off-by: Pavel Belous <Pavel.Belous@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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h
index fce0fd3f23ff..bf9b3f020e10 100644
--- a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h
@@ -105,8 +105,7 @@ struct aq_hw_ops {
int (*hw_set_mac_address)(struct aq_hw_s *self, u8 *mac_addr);
- int (*hw_get_link_status)(struct aq_hw_s *self,
- struct aq_hw_link_status_s *link_status);
+ int (*hw_get_link_status)(struct aq_hw_s *self);
int (*hw_set_link_speed)(struct aq_hw_s *self, u32 speed);