projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de815a1
)
qla3xxx: bugfix: Add tx control block memset.
author
Ron Mercer
<ron.mercer@qlogic.com>
Mon, 26 Mar 2007 20:42:57 +0000
(13:42 -0700)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 28 Mar 2007 06:18:50 +0000
(
02:18
-0400)
This was removed in a previous patch to increase performance, but
caused a transmit error for the 4032 chip.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/qla3xxx.c
patch
|
blob
|
history
diff --git
a/drivers/net/qla3xxx.c
b/drivers/net/qla3xxx.c
index
d3f65da
..
5d358d3
100755
(executable)
--- a/
drivers/net/qla3xxx.c
+++ b/
drivers/net/qla3xxx.c
@@
-2380,6
+2380,7
@@
static int ql3xxx_send(struct sk_buff *skb, struct net_device *ndev)
}
mac_iocb_ptr = tx_cb->queue_entry;
+ memset((void *)mac_iocb_ptr, 0, sizeof(struct ob_mac_iocb_req));
mac_iocb_ptr->opcode = qdev->mac_ob_opcode;
mac_iocb_ptr->flags = OB_MAC_IOCB_REQ_X;
mac_iocb_ptr->flags |= qdev->mb_bit_mask;