Author: sbruno
Date: Sat May 26 21:58:43 2018
New Revision: 334251
URL: https://svnweb.freebsd.org/changeset/base/334251

Log:
  Activate Wake On Lan features for Ice Lake and Cannon Lake devices.
  
  This is a direct commit to stable/10 as its not needed in -current.
  
  PR:           228302
  Submitted by: Kaho Toshikazu <k...@elam.kais.kyoto-u.ac.jp>

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

Modified: stable/10/sys/dev/e1000/if_em.c
==============================================================================
--- stable/10/sys/dev/e1000/if_em.c     Sat May 26 21:42:27 2018        
(r334250)
+++ stable/10/sys/dev/e1000/if_em.c     Sat May 26 21:58:43 2018        
(r334251)
@@ -5456,7 +5456,8 @@ em_enable_wakeup(device_t dev)
        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;
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to