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 Correctly ACK the fan failure interrupt in...



details:   https://anonhg.NetBSD.org/src/rev/743cc4c78ecf
branches:  trunk
changeset: 958062:743cc4c78ecf
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Dec 22 07:16:23 2020 +0000

description:
Correctly ACK the fan failure interrupt in ixgbe_legacy_irq().

diffstat:

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

diffs (18 lines):

diff -r 063ac8b58ee8 -r 743cc4c78ecf sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Tue Dec 22 06:48:33 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Tue Dec 22 07:16:23 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.262 2020/12/11 05:01:19 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.263 2020/12/22 07:16:23 msaitoh Exp $ */
 
 /******************************************************************************
 
@@ -5211,7 +5211,7 @@
        /* Check for fan failure */
        if (adapter->feat_en & IXGBE_FEATURE_FAN_FAIL) {
                ixgbe_check_fan_failure(adapter, eicr, true);
-               IXGBE_WRITE_REG(hw, IXGBE_EIMS, IXGBE_EICR_GPI_SDP1_BY_MAC(hw));
+               IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_GPI_SDP1_BY_MAC(hw));
        }
 
        if (ixgbe_is_sfp(hw)) {



Home | Main Index | Thread Index | Old Index