svn commit: r337985 - stable/11/sys/dev/bge
Eugene Grosbein
eugen at FreeBSD.org
Fri Aug 17 19:19:00 UTC 2018
Author: eugen
Date: Fri Aug 17 19:18:59 2018
New Revision: 337985
URL: https://svnweb.freebsd.org/changeset/base/337985
Log:
MFC r336461: bge(4): disable MSI for BGE_ASICREV_BCM5784/BGE_CHIPREV_5784_AX
found in some MacBook Pro.
PR: 229727
Reported by: Stephan Neuhaus <sten at artdecode.de> and others
Tested by: Stephan Neuhaus <sten at artdecode.de>
Approved by: mav (mentor)
Modified:
stable/11/sys/dev/bge/if_bge.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/bge/if_bge.c
==============================================================================
--- stable/11/sys/dev/bge/if_bge.c Fri Aug 17 18:37:22 2018 (r337984)
+++ stable/11/sys/dev/bge/if_bge.c Fri Aug 17 19:18:59 2018 (r337985)
@@ -3204,6 +3204,14 @@ bge_can_use_msi(struct bge_softc *sc)
sc->bge_chiprev != BGE_CHIPREV_5750_BX)
can_use_msi = 1;
break;
+ case BGE_ASICREV_BCM5784:
+ /*
+ * Prevent infinite "watchdog timeout" errors
+ * in some MacBook Pro and make it work out-of-the-box.
+ */
+ if (sc->bge_chiprev == BGE_CHIPREV_5784_AX)
+ break;
+ /* FALLTHROUGH */
default:
if (BGE_IS_575X_PLUS(sc))
can_use_msi = 1;
More information about the svn-src-all
mailing list