diff options
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index f632085e69b4..a7b6c706236d 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c | |||
@@ -2254,10 +2254,10 @@ static int sh_mdio_init(struct net_device *ndev, int id, | |||
2254 | /* bitbang init */ | 2254 | /* bitbang init */ |
2255 | bitbang->addr = mdp->addr + mdp->reg_offset[PIR]; | 2255 | bitbang->addr = mdp->addr + mdp->reg_offset[PIR]; |
2256 | bitbang->set_gate = pd->set_mdio_gate; | 2256 | bitbang->set_gate = pd->set_mdio_gate; |
2257 | bitbang->mdi_msk = 0x08; | 2257 | bitbang->mdi_msk = PIR_MDI; |
2258 | bitbang->mdo_msk = 0x04; | 2258 | bitbang->mdo_msk = PIR_MDO; |
2259 | bitbang->mmd_msk = 0x02;/* MMD */ | 2259 | bitbang->mmd_msk = PIR_MMD; |
2260 | bitbang->mdc_msk = 0x01; | 2260 | bitbang->mdc_msk = PIR_MDC; |
2261 | bitbang->ctrl.ops = &bb_ops; | 2261 | bitbang->ctrl.ops = &bb_ops; |
2262 | 2262 | ||
2263 | /* MII controller setting */ | 2263 | /* MII controller setting */ |