Skip to content

Commit a64def4

Browse files
tlendackydavem330
authored andcommitted
amd-xgbe: Prepare for introduction of clause 37 autoneg
Prepare for the future introduction of clause 37 auto-negotiation by updating the current auto-negotiation related functions to identify them as clause 73 functions. Move interrupt enablement to the enable/disable auto-negotiation functions. Update what will be common routines to check for the current type of AN and process accordingly. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent e57f7a3 commit a64def4

File tree

4 files changed

+176
-85
lines changed

4 files changed

+176
-85
lines changed

drivers/net/ethernet/amd/xgbe/xgbe-common.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,11 @@
10521052
#endif
10531053

10541054
/* MDIO mask values */
1055+
#define XGBE_AN_CL73_INT_CMPLT BIT(0)
1056+
#define XGBE_AN_CL73_INC_LINK BIT(1)
1057+
#define XGBE_AN_CL73_PG_RCV BIT(2)
1058+
#define XGBE_AN_CL73_INT_MASK 0x07
1059+
10551060
#define XGBE_XNP_MCF_NULL_MESSAGE 0x001
10561061
#define XGBE_XNP_ACK_PROCESSED BIT(12)
10571062
#define XGBE_XNP_MP_FORMATTED BIT(13)

0 commit comments

Comments
 (0)