Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190233
b: refs/heads/master
c: 761172f
h: refs/heads/master
i:
  190231: 7cfc5f3
v: v3
  • Loading branch information
Abraham Arce authored and David S. Miller committed Apr 21, 2010
1 parent b45d83f commit 2875a66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df245dce572bc22b230a05532a3f9daee50effb5
refs/heads/master: 761172fbf672c5784b2a0d71ca2f4389eb7a2c21
12 changes: 7 additions & 5 deletions trunk/drivers/net/ks8851.c
Original file line number Diff line number Diff line change
Expand Up @@ -722,12 +722,14 @@ static void ks8851_tx_work(struct work_struct *work)
txb = skb_dequeue(&ks->txq);
last = skb_queue_empty(&ks->txq);

ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr | RXQCR_SDA);
ks8851_wrpkt(ks, txb, last);
ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr);
ks8851_wrreg16(ks, KS_TXQCR, TXQCR_METFE);
if (txb != NULL) {
ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr | RXQCR_SDA);
ks8851_wrpkt(ks, txb, last);
ks8851_wrreg16(ks, KS_RXQCR, ks->rc_rxqcr);
ks8851_wrreg16(ks, KS_TXQCR, TXQCR_METFE);

ks8851_done_tx(ks, txb);
ks8851_done_tx(ks, txb);
}
}

mutex_unlock(&ks->lock);
Expand Down

0 comments on commit 2875a66

Please sign in to comment.