aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_register.h
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@intel.com>2013-12-11 03:17:10 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-01-08 00:49:36 -0500
commit42794bd8191b30e70e773f938f827f1ebb12e492 (patch)
tree439bf1454c925ed787e28370f13dd5f62a35c0e3 /drivers/net/ethernet/intel/i40e/i40e_register.h
parent7f61d1f70ba07e3875169433c407e9a4acd6a966 (diff)
i40e: Add code to wait for FW to complete in reset path
The RSTAT comes back with DEVICE READY to indicate that the HW is ready, but we still have to wait for the FW to indicate that the Core and Global modules are back up again. This needs a read of the NVM_ULD register. Change-Id: I88276165f9cd446d2f166fb4b8cff00521af4bec Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_register.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_register.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_register.h b/drivers/net/ethernet/intel/i40e/i40e_register.h
index 2394c66870f4..d188ec03aff2 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_register.h
+++ b/drivers/net/ethernet/intel/i40e/i40e_register.h
@@ -2053,6 +2053,28 @@
2053#define I40E_GLNVM_SRDATA_WRDATA_MASK (0xFFFF << I40E_GLNVM_SRDATA_WRDATA_SHIFT) 2053#define I40E_GLNVM_SRDATA_WRDATA_MASK (0xFFFF << I40E_GLNVM_SRDATA_WRDATA_SHIFT)
2054#define I40E_GLNVM_SRDATA_RDDATA_SHIFT 16 2054#define I40E_GLNVM_SRDATA_RDDATA_SHIFT 16
2055#define I40E_GLNVM_SRDATA_RDDATA_MASK (0xFFFF << I40E_GLNVM_SRDATA_RDDATA_SHIFT) 2055#define I40E_GLNVM_SRDATA_RDDATA_MASK (0xFFFF << I40E_GLNVM_SRDATA_RDDATA_SHIFT)
2056#define I40E_GLNVM_ULD 0x000B6008
2057#define I40E_GLNVM_ULD_CONF_PCIR_DONE_SHIFT 0
2058#define I40E_GLNVM_ULD_CONF_PCIR_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_PCIR_DONE_SHIFT)
2059#define I40E_GLNVM_ULD_CONF_PCIRTL_DONE_SHIFT 1
2060#define I40E_GLNVM_ULD_CONF_PCIRTL_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_PCIRTL_DONE_SHIFT)
2061#define I40E_GLNVM_ULD_CONF_LCB_DONE_SHIFT 2
2062#define I40E_GLNVM_ULD_CONF_LCB_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_LCB_DONE_SHIFT)
2063#define I40E_GLNVM_ULD_CONF_CORE_DONE_SHIFT 3
2064#define I40E_GLNVM_ULD_CONF_CORE_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_CORE_DONE_SHIFT)
2065#define I40E_GLNVM_ULD_CONF_GLOBAL_DONE_SHIFT 4
2066#define I40E_GLNVM_ULD_CONF_GLOBAL_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_GLOBAL_DONE_SHIFT)
2067#define I40E_GLNVM_ULD_CONF_POR_DONE_SHIFT 5
2068#define I40E_GLNVM_ULD_CONF_POR_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_POR_DONE_SHIFT)
2069#define I40E_GLNVM_ULD_CONF_PCIE_ANA_DONE_SHIFT 6
2070#define I40E_GLNVM_ULD_CONF_PCIE_ANA_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_PCIE_ANA_DONE_SHIFT)
2071#define I40E_GLNVM_ULD_CONF_PHY_ANA_DONE_SHIFT 7
2072#define I40E_GLNVM_ULD_CONF_PHY_ANA_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_PHY_ANA_DONE_SHIFT)
2073#define I40E_GLNVM_ULD_CONF_EMP_DONE_SHIFT 8
2074#define I40E_GLNVM_ULD_CONF_EMP_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_EMP_DONE_SHIFT)
2075#define I40E_GLNVM_ULD_CONF_PCIALT_DONE_SHIFT 9
2076#define I40E_GLNVM_ULD_CONF_PCIALT_DONE_MASK (0x1 << I40E_GLNVM_ULD_CONF_PCIALT_DONE_SHIFT)
2077
2056#define I40E_GLPCI_BYTCTH 0x0009C484 2078#define I40E_GLPCI_BYTCTH 0x0009C484
2057#define I40E_GLPCI_BYTCTH_PCI_COUNT_BW_BCT_SHIFT 0 2079#define I40E_GLPCI_BYTCTH_PCI_COUNT_BW_BCT_SHIFT 0
2058#define I40E_GLPCI_BYTCTH_PCI_COUNT_BW_BCT_MASK (0xFFFFFFFF << I40E_GLPCI_BYTCTH_PCI_COUNT_BW_BCT_SHIFT) 2080#define I40E_GLPCI_BYTCTH_PCI_COUNT_BW_BCT_MASK (0xFFFFFFFF << I40E_GLPCI_BYTCTH_PCI_COUNT_BW_BCT_SHIFT)