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 Minor change.



details:   https://anonhg.NetBSD.org/src/rev/c61e1bd79812
branches:  trunk
changeset: 975332:c61e1bd79812
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Aug 27 03:57:52 2020 +0000

description:
Minor change.

 - Print "X550EM X" instead of "X550EM" for Xeon D devices.
 - Fix typo in comment. Same as FreeBSD.

diffstat:

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

diffs (36 lines):

diff -r 086bba4af8f7 -r c61e1bd79812 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 27 03:05:34 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 27 03:57:52 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.245 2020/08/27 00:07:56 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.246 2020/08/27 03:57:52 msaitoh Exp $ */
 
 /******************************************************************************
 
@@ -900,7 +900,7 @@
                str = "X550";
                break;
        case ixgbe_mac_X550EM_x:
-               str = "X550EM";
+               str = "X550EM X";
                break;
        case ixgbe_mac_X550EM_a:
                str = "X550EM A";
diff -r 086bba4af8f7 -r c61e1bd79812 sys/dev/pci/ixgbe/ixgbe_common.c
--- a/sys/dev/pci/ixgbe/ixgbe_common.c  Thu Aug 27 03:05:34 2020 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_common.c  Thu Aug 27 03:57:52 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_common.c,v 1.27 2020/02/05 07:45:46 msaitoh Exp $ */
+/* $NetBSD: ixgbe_common.c,v 1.28 2020/08/27 03:57:52 msaitoh Exp $ */
 
 /******************************************************************************
   SPDX-License-Identifier: BSD-3-Clause
@@ -5234,7 +5234,7 @@
        nvm_ver->oem_valid = FALSE;
        hw->eeprom.ops.read(hw, NVM_OEM_PROD_VER_PTR, &offset);
 
-       /* Return is offset to OEM Product Version block is invalid */
+       /* Return if offset to OEM Product Version block is invalid */
        if (offset == 0x0 || offset == NVM_INVALID_PTR)
                return;
 



Home | Main Index | Thread Index | Old Index