svn commit: r207332 - stable/8/sys/dev/e1000

Jack F Vogel jfv at FreeBSD.org
Wed Apr 28 18:28:09 UTC 2010


Author: jfv
Date: Wed Apr 28 18:28:08 2010
New Revision: 207332
URL: http://svn.freebsd.org/changeset/base/207332

Log:
  Only enable MAGIC WOL by default, MCAST causes
  systems to just wakeup immediately in many
  environments.

Modified:
  stable/8/sys/dev/e1000/if_em.c

Modified: stable/8/sys/dev/e1000/if_em.c
==============================================================================
--- stable/8/sys/dev/e1000/if_em.c	Wed Apr 28 17:37:30 2010	(r207331)
+++ stable/8/sys/dev/e1000/if_em.c	Wed Apr 28 18:28:08 2010	(r207332)
@@ -2707,10 +2707,10 @@ em_setup_interface(device_t dev, struct 
 	ifp->if_capabilities |= IFCAP_POLLING;
 #endif
 
-	/* Enable All WOL methods by default */
+	/* Enable only WOL MAGIC by default */
 	if (adapter->wol) {
 		ifp->if_capabilities |= IFCAP_WOL;
-		ifp->if_capenable |= IFCAP_WOL;
+		ifp->if_capenable |= IFCAP_WOL_MAGIC;
 	}
 		
 	/*


More information about the svn-src-stable-8 mailing list