Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Fix compile error.



details:   https://anonhg.NetBSD.org/src/rev/93affbd1eb60
branches:  trunk
changeset: 937803:93affbd1eb60
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Aug 27 04:49:52 2020 +0000

description:
Fix compile error.

diffstat:

 sys/dev/pci/ixgbe/ixgbe.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 16838db76e79 -r 93affbd1eb60 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 27 03:57:52 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 27 04:49:52 2020 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index