Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2018 18:28:17 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336461 - head/sys/dev/bge
Message-ID:  <201807181828.w6IISHOJ041501@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sten@artdecode.de> and others
  Tested by:	Stephan Neuhaus <sten@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807181828.w6IISHOJ041501>