diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-08-02 09:19:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-02 19:26:42 -0400 |
commit | 1ae970e0c047fbb1050865c6cf3ac68c7ca67dba (patch) | |
tree | 1f33ba36c15425b9e48bd0293760707089eea605 /drivers/net/cxgb4/t4_regs.h | |
parent | 625ac6ae5739b4da9bdfd44cbac2f9b6fec17db3 (diff) |
cxgb4: get on-chip queue info from FW and create a memory window for them
Get info about the availability of Tx on-chip queues from FW and if they
are supported set up a memory window for them. iw_cxgb4 will be using them.
Move the existing window setup later in the init sequence, after we have
collected the new info.
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/t4_regs.h')
-rw-r--r-- | drivers/net/cxgb4/t4_regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/t4_regs.h b/drivers/net/cxgb4/t4_regs.h index bf21c148fb2b..0adc5bcec7c4 100644 --- a/drivers/net/cxgb4/t4_regs.h +++ b/drivers/net/cxgb4/t4_regs.h | |||
@@ -232,6 +232,7 @@ | |||
232 | #define WINDOW_MASK 0x000000ffU | 232 | #define WINDOW_MASK 0x000000ffU |
233 | #define WINDOW_SHIFT 0 | 233 | #define WINDOW_SHIFT 0 |
234 | #define WINDOW(x) ((x) << WINDOW_SHIFT) | 234 | #define WINDOW(x) ((x) << WINDOW_SHIFT) |
235 | #define PCIE_MEM_ACCESS_OFFSET 0x306c | ||
235 | 236 | ||
236 | #define PCIE_CORE_UTL_SYSTEM_BUS_AGENT_STATUS 0x5908 | 237 | #define PCIE_CORE_UTL_SYSTEM_BUS_AGENT_STATUS 0x5908 |
237 | #define RNPP 0x80000000U | 238 | #define RNPP 0x80000000U |