aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/nic.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-12-02 13:47:51 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-03 09:08:09 -0800
commitcef68bde74f083d83c18ce870ed834e82ee0ae5a (patch)
tree430ee1d641b6d4f6c54c120fc500de6f9dbee797 /drivers/net/sfc/nic.h
parentsfc: Move Falcon global event handling to falcon.c (diff)
downloadlinux-dev-cef68bde74f083d83c18ce870ed834e82ee0ae5a.tar.xz
linux-dev-cef68bde74f083d83c18ce870ed834e82ee0ae5a.zip
sfc: Move xmac_poll_required into struct falcon_nic_data
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/sfc/nic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/nic.h b/drivers/net/sfc/nic.h
index 980cf4b5a868..f107dc7d67c0 100644
--- a/drivers/net/sfc/nic.h
+++ b/drivers/net/sfc/nic.h
@@ -118,6 +118,7 @@ struct falcon_board {
* @spi_eeprom: SPI EEPROM device
* @spi_lock: SPI bus lock
* @mdio_lock: MDIO bus lock
+ * @xmac_poll_required: XMAC link state needs polling
*/
struct falcon_nic_data {
struct pci_dev *pci_dev2;
@@ -130,6 +131,7 @@ struct falcon_nic_data {
struct efx_spi_device spi_eeprom;
struct mutex spi_lock;
struct mutex mdio_lock;
+ bool xmac_poll_required;
};
static inline struct falcon_board *falcon_board(struct efx_nic *efx)