Thu Aug 27 04:49:52 2020 UTC ()
 Fix compile error.


(msaitoh)
diff -r1.246 -r1.247 src/sys/dev/pci/ixgbe/ixgbe.c

cvs diff -r1.246 -r1.247 src/sys/dev/pci/ixgbe/ixgbe.c (expand / switch to context diff)
--- src/sys/dev/pci/ixgbe/ixgbe.c 2020/08/27 03:57:52 1.246
+++ src/sys/dev/pci/ixgbe/ixgbe.c 2020/08/27 04:49:52 1.247
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.246 2020/08/27 03:57:52 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.247 2020/08/27 04:49:52 msaitoh Exp $ */
 
 /******************************************************************************
 
@@ -4500,7 +4500,7 @@
 	/* Check for pluggable optics */
 	if (ixgbe_is_sfp(hw)) {
 		bool was_full = hw->phy.sfp_type != ixgbe_sfp_type_not_present;
-		bool is_full = ixgbe_sfp_cage_full(hw);
+		bool is_full = ixgbe_sfp_cage_full(adapter);
 
 		/* do probe if cage state changed */
 		if (was_full ^ is_full) {