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>
This commit is contained in:

committed by
David S. Miller

parent
4de9218025
commit
4833f02a29
@@ -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;
|
||||
|
Reference in New Issue
Block a user