* debian/patches/series/1: Add bugfix/powerpc/mv643-define.patch.
* debian/patches/bugfix/powerpc/mv643-define.patch: Add. svn path=/dists/trunk/linux-2.6/; revision=7469
This commit is contained in:
parent
26fa61b391
commit
efee69d76c
|
@ -0,0 +1,13 @@
|
|||
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
|
||||
index eeab1df..59de3e7 100644
|
||||
--- a/drivers/net/mv643xx_eth.c
|
||||
+++ b/drivers/net/mv643xx_eth.c
|
||||
@@ -385,7 +385,7 @@ static int mv643xx_eth_receive_queue(str
|
||||
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++;
|
|
@ -30,3 +30,4 @@
|
|||
+ arm-get_unaligned-gcc41-const.patch
|
||||
+ powerpc-serial.patch
|
||||
+ powerpc-oldworld-boot-fix.patch
|
||||
+ bugfix/powerpc/mv643-define.patch
|
||||
|
|
Loading…
Reference in New Issue