diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-12-02 14:47:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-03 18:08:08 +0100 |
commit | 4833f02a2972b7da4c8a15e1e329db0f984a75d9 (patch) | |
tree | d23e8b733fb02507b6894d632270dcb0435e6890 /drivers/net/sfc/net_driver.h | |
parent | sfc: Move SPI state to struct falcon_nic_data (diff) | |
download | linux-4833f02a2972b7da4c8a15e1e329db0f984a75d9.tar.xz linux-4833f02a2972b7da4c8a15e1e329db0f984a75d9.zip |
sfc: Move mdio_lock to struct falcon_nic_data
We only have direct access to MDIO on Falcon, so move this out of
struct efx_nic.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index e5ee2d53750e..2ffc920d6ec0 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h @@ -679,7 +679,6 @@ struct efx_filter_state; * @mac_op: MAC interface * @mac_address: Permanent MAC address * @phy_type: PHY type - * @mdio_lock: MDIO lock * @phy_op: PHY interface * @phy_data: PHY private data (including PHY-specific stats) * @mdio: PHY MDIO interface @@ -766,7 +765,6 @@ struct efx_nic { unsigned char mac_address[ETH_ALEN]; unsigned int phy_type; - struct mutex mdio_lock; struct efx_phy_operations *phy_op; void *phy_data; struct mdio_if_info mdio; |