Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90468
b: refs/heads/master
c: 80950f8
h: refs/heads/master
v: v3
  • Loading branch information
Mariusz Kozlowski authored and Jeff Garzik committed Mar 29, 2008
1 parent eb0f865 commit 2f32989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a5af6ad3a0d4f5c6d0a3535d46fc1b26eeff0816
refs/heads/master: 80950f8b71176ae8b6f2a78de039b8bc2da7f480
4 changes: 2 additions & 2 deletions trunk/drivers/net/yellowfin.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,14 +770,14 @@ static void yellowfin_init_ring(struct net_device *dev)
/* Branch on Tx error. */
yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_STOP);
yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma +
(j+1)*sizeof(struct yellowfin_desc);
(j+1)*sizeof(struct yellowfin_desc));
j++;
if (yp->flags & FullTxStatus) {
yp->tx_ring[j].dbdma_cmd =
cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status));
yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status);
yp->tx_ring[j].addr = cpu_to_le32(yp->tx_status_dma +
i*sizeof(struct tx_status_words);
i*sizeof(struct tx_status_words));
} else {
/* Symbios chips write only tx_errs word. */
yp->tx_ring[j].dbdma_cmd =
Expand Down

0 comments on commit 2f32989

Please sign in to comment.