Module Name: src
Committed By: msaitoh
Date: Thu Aug 27 04:49:52 UTC 2020
Modified Files:
src/sys/dev/pci/ixgbe: ixgbe.c
Log Message:
Fix compile error.
To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 src/sys/dev/pci/ixgbe/ixgbe.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/ixgbe.c
diff -u src/sys/dev/pci/ixgbe/ixgbe.c:1.246 src/sys/dev/pci/ixgbe/ixgbe.c:1.247
--- src/sys/dev/pci/ixgbe/ixgbe.c:1.246 Thu Aug 27 03:57:52 2020
+++ src/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 27 04:49:52 2020
@@ -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 @@ ixgbe_handle_timer(struct work *wk, void
/* 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) {