diff options
Diffstat (limited to 'drivers/net/sfc/mdio_10g.h')
-rw-r--r-- | drivers/net/sfc/mdio_10g.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/sfc/mdio_10g.h b/drivers/net/sfc/mdio_10g.h index db9f358349c6..45163838130e 100644 --- a/drivers/net/sfc/mdio_10g.h +++ b/drivers/net/sfc/mdio_10g.h | |||
@@ -73,14 +73,14 @@ | |||
73 | #define MDIO_ID_MODEL(_id32) ((_id32 >> 4) & 0x3f) | 73 | #define MDIO_ID_MODEL(_id32) ((_id32 >> 4) & 0x3f) |
74 | #define MDIO_ID_OUI(_id32) (_id32 >> 10) | 74 | #define MDIO_ID_OUI(_id32) (_id32 >> 10) |
75 | 75 | ||
76 | /* Bits in MMDREG_DEVS0. Someone thoughtfully layed things out | 76 | /* Bits in MMDREG_DEVS0/1. Someone thoughtfully layed things out |
77 | * so the 'bit present' bit number of an MMD is the number of | 77 | * so the 'bit present' bit number of an MMD is the number of |
78 | * that MMD */ | 78 | * that MMD */ |
79 | #define DEV_PRESENT_BIT(_b) (1 << _b) | 79 | #define DEV_PRESENT_BIT(_b) (1 << _b) |
80 | 80 | ||
81 | #define MDIO_MMDREG_DEVS0_PHYXS DEV_PRESENT_BIT(MDIO_MMD_PHYXS) | 81 | #define MDIO_MMDREG_DEVS_PHYXS DEV_PRESENT_BIT(MDIO_MMD_PHYXS) |
82 | #define MDIO_MMDREG_DEVS0_PCS DEV_PRESENT_BIT(MDIO_MMD_PCS) | 82 | #define MDIO_MMDREG_DEVS_PCS DEV_PRESENT_BIT(MDIO_MMD_PCS) |
83 | #define MDIO_MMDREG_DEVS0_PMAPMD DEV_PRESENT_BIT(MDIO_MMD_PMAPMD) | 83 | #define MDIO_MMDREG_DEVS_PMAPMD DEV_PRESENT_BIT(MDIO_MMD_PMAPMD) |
84 | 84 | ||
85 | /* Bits in MMDREG_STAT2 */ | 85 | /* Bits in MMDREG_STAT2 */ |
86 | #define MDIO_MMDREG_STAT2_PRESENT_VAL (2) | 86 | #define MDIO_MMDREG_STAT2_PRESENT_VAL (2) |