svn commit: r199065 - head/sys/dev/bge

Pyun YongHyeon yongari at FreeBSD.org
Mon Nov 9 00:16:51 UTC 2009


Author: yongari
Date: Mon Nov  9 00:16:50 2009
New Revision: 199065
URL: http://svn.freebsd.org/changeset/base/199065

Log:
  Correct disabling checksum offloading for BCM5700 B0.

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

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c	Sun Nov  8 21:42:00 2009	(r199064)
+++ head/sys/dev/bge/if_bge.c	Mon Nov  9 00:16:50 2009	(r199065)
@@ -2743,7 +2743,7 @@ bge_attach(device_t dev)
 	 */
 	if (sc->bge_chipid == BGE_CHIPID_BCM5700_B0) {
 		ifp->if_capabilities &= ~IFCAP_HWCSUM;
-		ifp->if_capenable &= IFCAP_HWCSUM;
+		ifp->if_capenable &= ~IFCAP_HWCSUM;
 		ifp->if_hwassist = 0;
 	}
 


More information about the svn-src-all mailing list