Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26830
b: refs/heads/master
c: bb02aac
h: refs/heads/master
v: v3
  • Loading branch information
Erling A. Jacobsen authored and Jeff Garzik committed May 20, 2006
1 parent 75efade commit 841e696
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: f905703a93b7014a0fd95d0edac2b734bf0d1522
refs/heads/master: bb02aacc02c6002143a1cfc313d144a413eec8d0
4 changes: 2 additions & 2 deletions trunk/drivers/net/tulip/winbond-840.c
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ static void init_rxtx_rings(struct net_device *dev)
break;
skb->dev = dev; /* Mark as being used by this device. */
np->rx_addr[i] = pci_map_single(np->pci_dev,skb->data,
skb->len,PCI_DMA_FROMDEVICE);
np->rx_buf_sz,PCI_DMA_FROMDEVICE);

np->rx_ring[i].buffer1 = np->rx_addr[i];
np->rx_ring[i].status = DescOwn;
Expand Down Expand Up @@ -1316,7 +1316,7 @@ static int netdev_rx(struct net_device *dev)
skb->dev = dev; /* Mark as being used by this device. */
np->rx_addr[entry] = pci_map_single(np->pci_dev,
skb->data,
skb->len, PCI_DMA_FROMDEVICE);
np->rx_buf_sz, PCI_DMA_FROMDEVICE);
np->rx_ring[entry].buffer1 = np->rx_addr[entry];
}
wmb();
Expand Down

0 comments on commit 841e696

Please sign in to comment.