aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/nic.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-09-20 04:43:53 -0400
committerDavid S. Miller <davem@davemloft.net>2010-09-21 17:58:01 -0400
commit75abc51c29d1d1f6cde0abd003003ac61b9a9fba (patch)
tree5699fd10d0ff03d65232ef1d090b0bd2e3938de9 /drivers/net/sfc/nic.c
parentb4187e4277b13d7bc4acc3c953b3cab0137b14b2 (diff)
sfc: Include RX IP filter table in register dump
For backward compatibility, add it at the end. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/nic.c')
-rw-r--r--drivers/net/sfc/nic.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/sfc/nic.c b/drivers/net/sfc/nic.c
index 6c5c0cefa9d8..c4de0014441c 100644
--- a/drivers/net/sfc/nic.c
+++ b/drivers/net/sfc/nic.c
@@ -1849,8 +1849,7 @@ static const struct efx_nic_reg_table efx_nic_reg_tables[] = {
1849 REGISTER_TABLE_BB_CZ(TX_DESC_PTR_TBL), 1849 REGISTER_TABLE_BB_CZ(TX_DESC_PTR_TBL),
1850 REGISTER_TABLE_AA(EVQ_PTR_TBL_KER), 1850 REGISTER_TABLE_AA(EVQ_PTR_TBL_KER),
1851 REGISTER_TABLE_BB_CZ(EVQ_PTR_TBL), 1851 REGISTER_TABLE_BB_CZ(EVQ_PTR_TBL),
1852 /* The register buffer is allocated with slab, so we can't 1852 /* We can't reasonably read all of the buffer table (up to 8MB!).
1853 * reasonably read all of the buffer table (up to 8MB!).
1854 * However this driver will only use a few entries. Reading 1853 * However this driver will only use a few entries. Reading
1855 * 1K entries allows for some expansion of queue count and 1854 * 1K entries allows for some expansion of queue count and
1856 * size before we need to change the version. */ 1855 * size before we need to change the version. */
@@ -1858,7 +1857,6 @@ static const struct efx_nic_reg_table efx_nic_reg_tables[] = {
1858 A, A, 8, 1024), 1857 A, A, 8, 1024),
1859 REGISTER_TABLE_DIMENSIONS(BUF_FULL_TBL, FR_BZ_BUF_FULL_TBL, 1858 REGISTER_TABLE_DIMENSIONS(BUF_FULL_TBL, FR_BZ_BUF_FULL_TBL,
1860 B, Z, 8, 1024), 1859 B, Z, 8, 1024),
1861 /* RX_FILTER_TBL{0,1} is huge and not used by this driver */
1862 REGISTER_TABLE_CZ(RX_MAC_FILTER_TBL0), 1860 REGISTER_TABLE_CZ(RX_MAC_FILTER_TBL0),
1863 REGISTER_TABLE_BB_CZ(TIMER_TBL), 1861 REGISTER_TABLE_BB_CZ(TIMER_TBL),
1864 REGISTER_TABLE_BB_CZ(TX_PACE_TBL), 1862 REGISTER_TABLE_BB_CZ(TX_PACE_TBL),
@@ -1868,6 +1866,7 @@ static const struct efx_nic_reg_table efx_nic_reg_tables[] = {
1868 REGISTER_TABLE_CZ(MC_TREG_SMEM), 1866 REGISTER_TABLE_CZ(MC_TREG_SMEM),
1869 /* MSIX_PBA_TABLE is not mapped */ 1867 /* MSIX_PBA_TABLE is not mapped */
1870 /* SRM_DBG is not mapped (and is redundant with BUF_FLL_TBL) */ 1868 /* SRM_DBG is not mapped (and is redundant with BUF_FLL_TBL) */
1869 REGISTER_TABLE_BZ(RX_FILTER_TBL0),
1871}; 1870};
1872 1871
1873size_t efx_nic_get_regs_len(struct efx_nic *efx) 1872size_t efx_nic_get_regs_len(struct efx_nic *efx)