1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Use bge_writereg_ind() to do global reset as we did before 1.159 for certain

chipsets.  It was causing 'firmware handshake timed out' errors for some
chips.

Discussed with:	scottl
This commit is contained in:
Jung-uk Kim 2007-02-14 19:44:15 +00:00
parent 8117907083
commit 464223f762
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166718

View File

@ -2593,7 +2593,7 @@ bge_reset(struct bge_softc *sc)
dev = sc->bge_dev;
if (BGE_IS_5705_PLUS(sc) && !BGE_IS_5714_FAMILY(sc)) {
if (BGE_IS_575X_PLUS(sc) && !BGE_IS_5714_FAMILY(sc)) {
if (sc->bge_flags & BGE_FLAG_PCIE)
write_op = bge_writemem_direct;
else