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
@@ -456,9 +456,6 @@
|
||||
#define MD_PRT_ADR_WIDTH 5
|
||||
#define MD_DEV_ADR_LBN 6
|
||||
#define MD_DEV_ADR_WIDTH 5
|
||||
/* Used for writing both at once */
|
||||
#define MD_PRT_DEV_ADR_LBN 6
|
||||
#define MD_PRT_DEV_ADR_WIDTH 10
|
||||
|
||||
/* PHY management status & mask register (DWORD read only) */
|
||||
#define MD_STAT_REG_KER 0xc50
|
||||
|
Reference in New Issue
Block a user