sfc: Use generic MDIO functions and definitions
Make use of the newly-added generic MDIO clause 45 support and remove redundant definitions. Add an 'efx_' prefix to the remaining driver-specific MDIO functions and remove arguments which are redundant with efx->mdio.prtad. 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
1b1c2e9510
commit
68e7f45e11
@@ -32,7 +32,7 @@ struct efx_loopback_self_tests {
|
||||
*/
|
||||
struct efx_self_tests {
|
||||
/* online tests */
|
||||
int mii;
|
||||
int mdio;
|
||||
int nvram;
|
||||
int interrupt;
|
||||
int eventq_dma[EFX_MAX_CHANNELS];
|
||||
|
Reference in New Issue
Block a user