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 Add some unused macros. Sync with FreeBSD ...
details: https://anonhg.NetBSD.org/src/rev/767ab987c406
branches: trunk
changeset: 1027202:767ab987c406
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Dec 10 11:30:09 2021 +0000
description:
Add some unused macros. Sync with FreeBSD ix-3.3.14.
diffstat:
sys/dev/pci/ixgbe/ixgbe_type.h | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r ee0b4347e6cb -r 767ab987c406 sys/dev/pci/ixgbe/ixgbe_type.h
--- a/sys/dev/pci/ixgbe/ixgbe_type.h Fri Dec 10 11:28:40 2021 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_type.h Fri Dec 10 11:30:09 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_type.h,v 1.50 2021/11/01 21:28:03 andvar Exp $ */
+/* $NetBSD: ixgbe_type.h,v 1.51 2021/12/10 11:30:09 msaitoh Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -1114,8 +1114,10 @@
#define IXGBE_HSMC0R 0x15F04
#define IXGBE_HSMC1R 0x15F08
#define IXGBE_SWSR 0x15F10
+#define IXGBE_FWRESETCNT 0x15F40
#define IXGBE_HFDR 0x15FE8
#define IXGBE_FLEX_MNG 0x15800 /* 0x15800 - 0x15EFC */
+#define IXGBE_FLEX_MNG_PTR(_i) (IXGBE_FLEX_MNG + ((_i) * 4))
#define IXGBE_HICR_EN 0x01 /* Enable bit - RO */
/* Driver sets this bit when done to put command in RAM */
@@ -2406,6 +2408,17 @@
#define IXGBE_ALT_MAC_ADDR_PTR 0x37
#define IXGBE_FREE_SPACE_PTR 0X3E
+#if defined(PREBOOT_SUPPORT) || defined(QV_RELEASE)
+/* Minimum Rollback Revision offsets */
+#define IXGBE_MINRREV_PHY_ANALOG_LO 0x46
+#define IXGBE_MINRREV_PHY_ANALOG_HI 0x47
+#define IXGBE_MINRREV_OROM_LO 0x48
+#define IXGBE_MINRREV_OROM_HI 0x49
+#define IXGBE_MINRREV_FW_LO 0x4A
+#define IXGBE_MINRREV_FW_HI 0x4B
+#endif /* PREBOOT_SUPPORT || QV_RELEASE*/
+
+
#define IXGBE_SAN_MAC_ADDR_PTR 0x28
#define IXGBE_NVM_MAP_VER 0x29
#define IXGBE_OEM_NVM_IMAGE_VER 0x2A
Home |
Main Index |
Thread Index |
Old Index