aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qla3xxx.c
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2007-03-26 16:42:57 -0400
committerJeff Garzik <jeff@garzik.org>2007-03-28 02:18:50 -0400
commitd8a759ff414141c8a0f6683e9f35b895b5f23b57 (patch)
tree9a838ad3b089714d543e8c89fd868793ff73051a /drivers/net/qla3xxx.c
parentde815a14e9d03df0560e6ef689d1da32553878b7 (diff)
qla3xxx: bugfix: Add tx control block memset.
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>
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rwxr-xr-xdrivers/net/qla3xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index d3f65dab306c..5d358d3779de 100755
--- 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)
2380 } 2380 }
2381 2381
2382 mac_iocb_ptr = tx_cb->queue_entry; 2382 mac_iocb_ptr = tx_cb->queue_entry;
2383 memset((void *)mac_iocb_ptr, 0, sizeof(struct ob_mac_iocb_req));
2383 mac_iocb_ptr->opcode = qdev->mac_ob_opcode; 2384 mac_iocb_ptr->opcode = qdev->mac_ob_opcode;
2384 mac_iocb_ptr->flags = OB_MAC_IOCB_REQ_X; 2385 mac_iocb_ptr->flags = OB_MAC_IOCB_REQ_X;
2385 mac_iocb_ptr->flags |= qdev->mb_bit_mask; 2386 mac_iocb_ptr->flags |= qdev->mb_bit_mask;