Skip to content

Commit 5ba5619

Browse files
Russell King (Oracle)davem330
authored andcommitted
net: pcs: xpcs: correctly place DW_VR_MII_DIG_CTRL1_2G5_EN
Place DW_VR_MII_DIG_CTRL1_2G5_EN with the other DW_VR_MII_DIG_CTRL1 definitions rather than in the middle of a register list. Signed-off-by: Russell King (Oracle) <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent acb5fb5 commit 5ba5619

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/pcs/pcs-xpcs.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,14 @@
6060
#define DW_VR_MII_DIG_CTRL1 0x8000
6161
#define DW_VR_MII_AN_CTRL 0x8001
6262
#define DW_VR_MII_AN_INTR_STS 0x8002
63-
/* Enable 2.5G Mode */
64-
#define DW_VR_MII_DIG_CTRL1_2G5_EN BIT(2)
6563
/* EEE Mode Control Register */
6664
#define DW_VR_MII_EEE_MCTRL0 0x8006
6765
#define DW_VR_MII_EEE_MCTRL1 0x800b
6866
#define DW_VR_MII_DIG_CTRL2 0x80e1
6967

7068
/* VR_MII_DIG_CTRL1 */
7169
#define DW_VR_MII_DIG_CTRL1_MAC_AUTO_SW BIT(9)
70+
#define DW_VR_MII_DIG_CTRL1_2G5_EN BIT(2)
7271
#define DW_VR_MII_DIG_CTRL1_PHY_MODE_CTRL BIT(0)
7372

7473
/* VR_MII_DIG_CTRL2 */

0 commit comments

Comments
 (0)