diff options
author | Ananda Raju <Ananda.Raju@neterion.com> | 2005-11-14 15:25:08 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-18 13:28:15 -0500 |
commit | fed5eccdcf542742786701b2514b5cb7ab282b93 (patch) | |
tree | 526e89f8c7ee9793f6980368f334aca09c62b475 /drivers/net/s2io.h | |
parent | 1f8fc99300c6247cace008c470f31eb86e9e7802 (diff) |
[PATCH] s2io: UFO support
This patch implements the UFO support in S2io driver. This patch uses the UFO
interface available in linux-2.6.15 kernel.
Signed-off-by: Ananda Raju <ananda.raju@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r-- | drivers/net/s2io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 419aad7f10e7..852a6a899d07 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -393,7 +393,9 @@ typedef struct _TxD { | |||
393 | #define TXD_GATHER_CODE_LAST BIT(23) | 393 | #define TXD_GATHER_CODE_LAST BIT(23) |
394 | #define TXD_TCP_LSO_EN BIT(30) | 394 | #define TXD_TCP_LSO_EN BIT(30) |
395 | #define TXD_UDP_COF_EN BIT(31) | 395 | #define TXD_UDP_COF_EN BIT(31) |
396 | #define TXD_UFO_EN BIT(31) | BIT(30) | ||
396 | #define TXD_TCP_LSO_MSS(val) vBIT(val,34,14) | 397 | #define TXD_TCP_LSO_MSS(val) vBIT(val,34,14) |
398 | #define TXD_UFO_MSS(val) vBIT(val,34,14) | ||
397 | #define TXD_BUFFER0_SIZE(val) vBIT(val,48,16) | 399 | #define TXD_BUFFER0_SIZE(val) vBIT(val,48,16) |
398 | 400 | ||
399 | u64 Control_2; | 401 | u64 Control_2; |
@@ -789,6 +791,7 @@ struct s2io_nic { | |||
789 | 791 | ||
790 | spinlock_t rx_lock; | 792 | spinlock_t rx_lock; |
791 | atomic_t isr_cnt; | 793 | atomic_t isr_cnt; |
794 | u64 *ufo_in_band_v; | ||
792 | }; | 795 | }; |
793 | 796 | ||
794 | #define RESET_ERROR 1; | 797 | #define RESET_ERROR 1; |