diff options
author | Ananda Raju <Ananda.Raju@neterion.com> | 2006-07-24 19:52:49 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-03 17:27:25 -0400 |
commit | b41477f32a5aaf39a77741c0138b16f16a636c70 (patch) | |
tree | f7bebdbcb01fc18772c3f1569d98eba3f4a8109f /drivers/net/s2io.h | |
parent | 2b14c30b46e007a16c665cc86329bf4a1d9ff6ee (diff) |
[PATCH] s2io driver bug fixes #1
This patch contains some of the bug fixes and enhancements done to
s2io driver. Following are the brief description of changes
1. Introduced macro "S2IO_PARM_INT" for declaring integer load parameter
2. UDP_RR test failure, memset txdl after Tx completion
3. PXE boot may leave adapter in unknown state so do reset in probe.
4. Add Tx completion code in netpoll
5. In s2io_vpd_read() move array vpd_data[] to pointer, saves stack memory
6. Fix bug in ethtool online test
Signed-off-by: Ananda Raju <ananda.raju@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r-- | drivers/net/s2io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 217097bc22f1..1654f71a9af8 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -1011,4 +1011,9 @@ static void clear_lro_session(lro_t *lro); | |||
1011 | static void queue_rx_frame(struct sk_buff *skb); | 1011 | static void queue_rx_frame(struct sk_buff *skb); |
1012 | static void update_L3L4_header(nic_t *sp, lro_t *lro); | 1012 | static void update_L3L4_header(nic_t *sp, lro_t *lro); |
1013 | static void lro_append_pkt(nic_t *sp, lro_t *lro, struct sk_buff *skb, u32 tcp_len); | 1013 | static void lro_append_pkt(nic_t *sp, lro_t *lro, struct sk_buff *skb, u32 tcp_len); |
1014 | |||
1015 | #define S2IO_PARM_INT(X, def_val) \ | ||
1016 | static unsigned int X = def_val;\ | ||
1017 | module_param(X , uint, 0); | ||
1018 | |||
1014 | #endif /* _S2IO_H */ | 1019 | #endif /* _S2IO_H */ |