diff options
Diffstat (limited to 'drivers/net/chelsio/sge.h')
-rw-r--r-- | drivers/net/chelsio/sge.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/chelsio/sge.h b/drivers/net/chelsio/sge.h index 6d0d24a6364f..91af47bab7be 100644 --- a/drivers/net/chelsio/sge.h +++ b/drivers/net/chelsio/sge.h | |||
@@ -43,13 +43,6 @@ | |||
43 | #include <linux/interrupt.h> | 43 | #include <linux/interrupt.h> |
44 | #include <asm/byteorder.h> | 44 | #include <asm/byteorder.h> |
45 | 45 | ||
46 | #ifndef IRQ_RETVAL | ||
47 | #define IRQ_RETVAL(x) | ||
48 | typedef void irqreturn_t; | ||
49 | #endif | ||
50 | |||
51 | typedef irqreturn_t (*intr_handler_t)(int, void *, struct pt_regs *); | ||
52 | |||
53 | struct sge_intr_counts { | 46 | struct sge_intr_counts { |
54 | unsigned int respQ_empty; /* # times respQ empty */ | 47 | unsigned int respQ_empty; /* # times respQ empty */ |
55 | unsigned int respQ_overflow; /* # respQ overflow (fatal) */ | 48 | unsigned int respQ_overflow; /* # respQ overflow (fatal) */ |
@@ -88,7 +81,7 @@ struct sge *t1_sge_create(struct adapter *, struct sge_params *); | |||
88 | int t1_sge_configure(struct sge *, struct sge_params *); | 81 | int t1_sge_configure(struct sge *, struct sge_params *); |
89 | int t1_sge_set_coalesce_params(struct sge *, struct sge_params *); | 82 | int t1_sge_set_coalesce_params(struct sge *, struct sge_params *); |
90 | void t1_sge_destroy(struct sge *); | 83 | void t1_sge_destroy(struct sge *); |
91 | intr_handler_t t1_select_intr_handler(adapter_t *adapter); | 84 | irq_handler_t t1_select_intr_handler(adapter_t *adapter); |
92 | int t1_start_xmit(struct sk_buff *skb, struct net_device *dev); | 85 | int t1_start_xmit(struct sk_buff *skb, struct net_device *dev); |
93 | void t1_set_vlan_accel(struct adapter *adapter, int on_off); | 86 | void t1_set_vlan_accel(struct adapter *adapter, int on_off); |
94 | void t1_sge_start(struct sge *); | 87 | void t1_sge_start(struct sge *); |