[Midnightbsd-cvs] src [11863] trunk/sys/dev/e1000/if_em.c: activate wake on lan feature for ice lake and cannon lake devices.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jul 15 13:57:19 EDT 2018


Revision: 11863
          http://svnweb.midnightbsd.org/src/?rev=11863
Author:   laffer1
Date:     2018-07-15 13:57:18 -0400 (Sun, 15 Jul 2018)
Log Message:
-----------
activate wake on lan feature for ice lake and cannon lake devices.

Modified Paths:
--------------
    trunk/sys/dev/e1000/if_em.c

Modified: trunk/sys/dev/e1000/if_em.c
===================================================================
--- trunk/sys/dev/e1000/if_em.c	2018-07-15 17:55:44 UTC (rev 11862)
+++ trunk/sys/dev/e1000/if_em.c	2018-07-15 17:57:18 UTC (rev 11863)
@@ -5457,7 +5457,8 @@
 	if ((adapter->hw.mac.type == e1000_pchlan)  ||
 	    (adapter->hw.mac.type == e1000_pch2lan) ||
 	    (adapter->hw.mac.type == e1000_pch_lpt) ||
-	    (adapter->hw.mac.type == e1000_pch_spt)) {
+	    (adapter->hw.mac.type == e1000_pch_spt) ||
+	    (adapter->hw.mac.type == e1000_pch_cnp)) {
 		error = em_enable_phy_wakeup(adapter);
 		if (error)
 			goto pme;



More information about the Midnightbsd-cvs mailing list