svn commit: r253127 - stable/8/sys/dev/bge
Pyun YongHyeon
yongari at FreeBSD.org
Wed Jul 10 01:27:06 UTC 2013
Author: yongari
Date: Wed Jul 10 01:27:05 2013
New Revision: 253127
URL: http://svnweb.freebsd.org/changeset/base/253127
Log:
MFC r252227:
Don't blidly clear GPIOs configuration. Just use firmware configured
one. This change also fixes non-working traffic LED on BCM57780.
Modified:
stable/8/sys/dev/bge/if_bge.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/dev/ (props changed)
stable/8/sys/dev/bge/ (props changed)
Modified: stable/8/sys/dev/bge/if_bge.c
==============================================================================
--- stable/8/sys/dev/bge/if_bge.c Wed Jul 10 01:26:22 2013 (r253126)
+++ stable/8/sys/dev/bge/if_bge.c Wed Jul 10 01:27:05 2013 (r253127)
@@ -2400,7 +2400,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 */
More information about the svn-src-stable
mailing list