Module Name:    src
Committed By:   msaitoh
Date:           Wed Sep 13 04:48:41 UTC 2017

Modified Files:
        src/sys/dev/pci/ixgbe: ixv.c

Log Message:
 Set get_link_status to true in ixv_init_locked() to get the first link status
correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pci/ixgbe/ixv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/ixgbe/ixv.c
diff -u src/sys/dev/pci/ixgbe/ixv.c:1.61 src/sys/dev/pci/ixgbe/ixv.c:1.62
--- src/sys/dev/pci/ixgbe/ixv.c:1.61	Tue Sep 12 05:28:31 2017
+++ src/sys/dev/pci/ixgbe/ixv.c	Wed Sep 13 04:48:40 2017
@@ -1,4 +1,4 @@
-/*$NetBSD: ixv.c,v 1.61 2017/09/12 05:28:31 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.62 2017/09/13 04:48:40 msaitoh Exp $*/
 
 /******************************************************************************
 
@@ -750,6 +750,7 @@ ixv_init_locked(struct adapter *adapter)
 	ixv_init_stats(adapter);
 
 	/* Config/Enable Link */
+	hw->mac.get_link_status = TRUE;
 	hw->mac.ops.check_link(hw, &adapter->link_speed, &adapter->link_up,
 	    FALSE);
 

Reply via email to