aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_phan_reg.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-11-05 12:07:31 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:03:45 -0500
commit993fb90c5b1727342362c43ed4e29c26682f54f7 (patch)
treec151fa32d24fd1725d425561874b12e9b701421e /drivers/net/netxen/netxen_nic_phan_reg.h
parent3957d63da0067ad6a7dc8261b7eeb824f9dc42b4 (diff)
drivers/net/netxen/: cleanups
This patch contains the following cleanups: - static functions in .c files shouldn't be marked inline - make needlessly global code static - #if 0 unused code Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_phan_reg.h')
-rw-r--r--drivers/net/netxen/netxen_nic_phan_reg.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/netxen/netxen_nic_phan_reg.h b/drivers/net/netxen/netxen_nic_phan_reg.h
index 10fe6fafa6f6..a6c28de1dbc5 100644
--- a/drivers/net/netxen/netxen_nic_phan_reg.h
+++ b/drivers/net/netxen/netxen_nic_phan_reg.h
@@ -165,14 +165,7 @@ struct netxen_recv_crb {
165 u32 crb_status_ring_size; 165 u32 crb_status_ring_size;
166}; 166};
167 167
168#if defined(DEFINE_GLOBAL_RECV_CRB)
169#else
170extern struct netxen_recv_crb recv_crb_registers[]; 168extern struct netxen_recv_crb recv_crb_registers[];
171extern u64 ctx_addr_sig_regs[][3];
172#endif /* DEFINE_GLOBAL_RECEIVE_CRB */
173#define CRB_CTX_ADDR_REG_LO(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][0])
174#define CRB_CTX_ADDR_REG_HI(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][2])
175#define CRB_CTX_SIGNATURE_REG(FUNC_ID) (ctx_addr_sig_regs[FUNC_ID][1])
176 169
177/* 170/*
178 * Temperature control. 171 * Temperature control.