aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/nic.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-12-02 08:47:51 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-03 12:08:09 -0500
commitcef68bde74f083d83c18ce870ed834e82ee0ae5a (patch)
tree430ee1d641b6d4f6c54c120fc500de6f9dbee797 /drivers/net/sfc/nic.h
parent40641ed93cd53561f7d53b5fd5ed656b35f3aabd (diff)
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 'drivers/net/sfc/nic.h')
-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 {
118 * @spi_eeprom: SPI EEPROM device 118 * @spi_eeprom: SPI EEPROM device
119 * @spi_lock: SPI bus lock 119 * @spi_lock: SPI bus lock
120 * @mdio_lock: MDIO bus lock 120 * @mdio_lock: MDIO bus lock
121 * @xmac_poll_required: XMAC link state needs polling
121 */ 122 */
122struct falcon_nic_data { 123struct falcon_nic_data {
123 struct pci_dev *pci_dev2; 124 struct pci_dev *pci_dev2;
@@ -130,6 +131,7 @@ struct falcon_nic_data {
130 struct efx_spi_device spi_eeprom; 131 struct efx_spi_device spi_eeprom;
131 struct mutex spi_lock; 132 struct mutex spi_lock;
132 struct mutex mdio_lock; 133 struct mutex mdio_lock;
134 bool xmac_poll_required;
133}; 135};
134 136
135static inline struct falcon_board *falcon_board(struct efx_nic *efx) 137static inline struct falcon_board *falcon_board(struct efx_nic *efx)