Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=50626297b1beb0a29c0f174be39f36485533216c
Commit:     50626297b1beb0a29c0f174be39f36485533216c
Parent:     b323e0e49fe9331ee3a7a336af879d6e303b16b3
Author:     Ron Mercer <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 1 11:43:23 2007 -0700
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Oct 2 12:55:10 2007 -0400

    qla3xxx: bugfix: Fix VLAN rx completion handling.
    
    Fix 4032 chip undocumented "feature" where bit-8 is set
    if the inbound completion is for a VLAN.
    
    Signed-off-by: Ron Mercer <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/qla3xxx.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index c3fe1c7..ea15131 100755
--- a/drivers/net/qla3xxx.c
+++ b/drivers/net/qla3xxx.c
@@ -2249,6 +2249,12 @@ static int ql_tx_rx_clean(struct ql3_adapter *qdev,
 
                net_rsp = qdev->rsp_current;
                rmb();
+               /*
+                * Fix 4032 chipe undocumented "feature" where bit-8 is set if 
the
+                * inbound completion is for a VLAN.
+                */
+               if (qdev->device_id == QL3032_DEVICE_ID)
+                       net_rsp->opcode &= 0x7f;
                switch (net_rsp->opcode) {
 
                case OPCODE_OB_MAC_IOCB_FN0:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to