aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-03-20 09:26:55 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-21 22:06:56 -0400
commit28c4605826ab24d04102231fc1f3e8577bec376d (patch)
tree620e8ce08dd0f5180d0817753b33390885690c61 /drivers/net
parenta9de9a74c69f75e9456cd6b45ecab44ff4c81d04 (diff)
sfc: Remove unused private PCI register definitions
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/sfc/falcon.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index 92ea6147b3f2..f42fc60d1df4 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -155,13 +155,6 @@ MODULE_PARM_DESC(rx_xon_thresh_bytes, "RX fifo XON threshold");
155/* Dummy SRAM size code */ 155/* Dummy SRAM size code */
156#define SRM_NB_BSZ_ONCHIP_ONLY (-1) 156#define SRM_NB_BSZ_ONCHIP_ONLY (-1)
157 157
158/* Be nice if these (or equiv.) were in linux/pci_regs.h, but they're not. */
159#define PCI_EXP_DEVCAP_PWR_VAL_LBN 18
160#define PCI_EXP_DEVCAP_PWR_SCL_LBN 26
161#define PCI_EXP_DEVCTL_PAYLOAD_LBN 5
162#define PCI_EXP_LNKSTA_LNK_WID 0x3f0
163#define PCI_EXP_LNKSTA_LNK_WID_LBN 4
164
165#define FALCON_IS_DUAL_FUNC(efx) \ 158#define FALCON_IS_DUAL_FUNC(efx) \
166 (falcon_rev(efx) < FALCON_REV_B0) 159 (falcon_rev(efx) < FALCON_REV_B0)
167 160