Fix mindo:
PCN_BCR_CLRBIT(sc, PCN_BCR_MIICTL, PCN_MIICTL_DANAS); should be: PCN_BCR_SETBIT(sc, PCN_BCR_MIICTL, PCN_MIICTL_DANAS); Turning this bit on is what disables MII autoneg, not turning it off. Without this, manually setting the media doesn't work. Noticed by: Jim Browne <jbrowne@jbrowne.com>
This commit is contained in:
parent
47ad85ccaf
commit
83c7edbffd
@ -1212,7 +1212,7 @@ static void pcn_init(xsc)
|
||||
PCN_CSR_SETBIT(sc, PCN_CSR_TFEAT, PCN_TFEAT_PAD_TX);
|
||||
|
||||
/* Disable MII autoneg (we handle this ourselves). */
|
||||
PCN_BCR_CLRBIT(sc, PCN_BCR_MIICTL, PCN_MIICTL_DANAS);
|
||||
PCN_BCR_SETBIT(sc, PCN_BCR_MIICTL, PCN_MIICTL_DANAS);
|
||||
|
||||
if (sc->pcn_type == Am79C978)
|
||||
pcn_bcr_write(sc, PCN_BCR_PHYSEL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user