diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2007-06-11 14:09:16 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-08 22:16:41 -0400 |
commit | 5f309b90e242a4a9c5519ed113801a7ad542cd48 (patch) | |
tree | 11e88b2c3625817b0d9f1357c753b8dd5939b5b6 | |
parent | 59a11f8809ada4b89ac079fb7f549eaca0554f94 (diff) | |
download | op-kernel-dev-5f309b90e242a4a9c5519ed113801a7ad542cd48.zip op-kernel-dev-5f309b90e242a4a9c5519ed113801a7ad542cd48.tar.gz |
spidernet: fix misnamed flag
The transmit frame tail bit is stranglely misnamed as
"no checksum". Fix the name to what it should be:
"transmit frame tail". No functional change,
just a name change.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/net/spider_net.c | 2 | ||||
-rw-r--r-- | drivers/net/spider_net.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index 8fa9ff7..9d3ae35 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c @@ -716,7 +716,7 @@ spider_net_prepare_tx_descr(struct spider_net_card *card, hwdescr->data_status = 0; hwdescr->dmac_cmd_status = - SPIDER_NET_DESCR_CARDOWNED | SPIDER_NET_DMAC_NOCS; + SPIDER_NET_DESCR_CARDOWNED | SPIDER_NET_DMAC_TXFRMTL; spin_unlock_irqrestore(&chain->lock, flags); if (skb->ip_summed == CHECKSUM_PARTIAL) diff --git a/drivers/net/spider_net.h b/drivers/net/spider_net.h index 1d054aa..04007d7 100644 --- a/drivers/net/spider_net.h +++ b/drivers/net/spider_net.h @@ -349,7 +349,7 @@ enum spider_net_int2_status { #define SPIDER_NET_GPRDAT_MASK 0x0000ffff #define SPIDER_NET_DMAC_NOINTR_COMPLETE 0x00800000 -#define SPIDER_NET_DMAC_NOCS 0x00040000 +#define SPIDER_NET_DMAC_TXFRMTL 0x00040000 #define SPIDER_NET_DMAC_TCP 0x00020000 #define SPIDER_NET_DMAC_UDP 0x00030000 #define SPIDER_NET_TXDCEST 0x08000000 |