Don't blidly clear GPIOs configuration. Just use firmware configured
one. This change also fixes non-working traffic LED on BCM57780. Submitted by: Masanobu SAITOH <msaitoh@NetBSD.org> Tested by: Alexander Milanov <a@amilanov.com>
This commit is contained in:
parent
6fd34d6f67
commit
91bd90d8c2
@ -2401,7 +2401,7 @@ bge_blockinit(struct bge_softc *sc)
|
||||
DELAY(40);
|
||||
|
||||
/* Set misc. local control, enable interrupts on attentions */
|
||||
CSR_WRITE_4(sc, BGE_MISC_LOCAL_CTL, BGE_MLC_INTR_ONATTN);
|
||||
BGE_SETBIT(sc, BGE_MISC_LOCAL_CTL, BGE_MLC_INTR_ONATTN);
|
||||
|
||||
#ifdef notdef
|
||||
/* Assert GPIO pins for PHY reset */
|
||||
|
Loading…
Reference in New Issue
Block a user