diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2021-12-10 11:30:09 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2021-12-10 11:30:09 +0000 |
| commit | f88cf77b5a8dea80d69cd8a81753856a0106d05d (patch) | |
| tree | 6b6ce3f5097ee476cb548bb3618cf77a40c00870 /sys/dev | |
| parent | 01d0aad6df0872e30403db2a9aa06941b3c03d41 (diff) | |
Add some unused macros. Sync with FreeBSD ix-3.3.14.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/ixgbe/ixgbe_type.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/dev/pci/ixgbe/ixgbe_type.h b/sys/dev/pci/ixgbe/ixgbe_type.h index c6b583791c1..760b9f63427 100644 --- a/sys/dev/pci/ixgbe/ixgbe_type.h +++ b/sys/dev/pci/ixgbe/ixgbe_type.h @@ -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 @@ struct ixgbe_dmac_config { #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 @@ enum { #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 |
