Use Miscellaneous Configuration Register bit definition instead of
magic number.
This commit is contained in:
parent
699b4feb6f
commit
72cddfd851
@ -3117,7 +3117,7 @@ bge_reset(struct bge_softc *sc)
|
||||
* powered up in D0 uninitialized.
|
||||
*/
|
||||
if (BGE_IS_5705_PLUS(sc))
|
||||
reset |= 0x04000000;
|
||||
reset |= BGE_MISCCFG_GPHY_PD_OVERRIDE;
|
||||
|
||||
/* Issue global reset */
|
||||
write_op(sc, BGE_MISC_CFG, reset);
|
||||
|
@ -1823,6 +1823,7 @@
|
||||
#define BGE_MISCCFG_BOARD_ID_5788 0x00010000
|
||||
#define BGE_MISCCFG_BOARD_ID_5788M 0x00018000
|
||||
#define BGE_MISCCFG_EPHY_IDDQ 0x00200000
|
||||
#define BGE_MISCCFG_GPHY_PD_OVERRIDE 0x04000000
|
||||
|
||||
#define BGE_32BITTIME_66MHZ (0x41 << 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user