diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-21 06:08:25 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-21 06:08:25 +0200 |
commit | fd8ae94eea9bb4269d6dff1b47b9dc741bd70d0b (patch) | |
tree | 88f81d90021bd38b33622169103988f1e0a66510 /drivers/net/mv643xx_eth.c | |
parent | Merge branch 'master' into upstream (diff) | |
parent | [netdrvr] mv643xx_eth: fix obvious typo, which caused build breakage (diff) | |
download | linux-fd8ae94eea9bb4269d6dff1b47b9dc741bd70d0b.tar.xz linux-fd8ae94eea9bb4269d6dff1b47b9dc741bd70d0b.zip |
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 0917a767faf8..6a74608eb9a3 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -385,7 +385,7 @@ static int mv643xx_eth_receive_queue(struct net_device *dev, int budget) struct pkt_info pkt_info; while (budget-- > 0 && eth_port_receive(mp, &pkt_info) == ETH_OK) { - dma_unmap_single(NULL, pkt_info.buf_ptr, RX_SKB_SIZE, + dma_unmap_single(NULL, pkt_info.buf_ptr, ETH_RX_SKB_SIZE, DMA_FROM_DEVICE); mp->rx_desc_count--; received_packets++; |