Author: eugen
Date: Wed Jul 18 18:28:17 2018
New Revision: 336461
URL: https://svnweb.freebsd.org/changeset/base/336461

Log:
  bge(4): disable MSI for BGE_ASICREV_BCM5784/BGE_CHIPREV_5784_AX
  found in some MacBook Pro.
  
  PR:           229727
  Reported by:  Stephan Neuhaus <s...@artdecode.de> and others
  Tested by:    Stephan Neuhaus <s...@artdecode.de>
  Approved by:  mav (mentor)
  MFC after:    1 month

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c   Wed Jul 18 17:58:17 2018        (r336460)
+++ head/sys/dev/bge/if_bge.c   Wed Jul 18 18:28:17 2018        (r336461)
@@ -3212,6 +3212,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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to