Re: [PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-01-27 Thread Alexey Charkov
2014/1/27 Ben Hutchings : > On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: >> Remove legacy PCI DMA wrappers and instead use generic DMA functions >> directly in preparation for OF bus binding >> >> Signed-off-by: Alexey Charkov >> Signed-off-by: Roger Luethi >> --- >>

Re: [PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-01-27 Thread Ben Hutchings
On Mon, 2014-01-27 at 19:26 +0400, Alexey Charkov wrote: > 2014/1/27 Ben Hutchings : > > On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: [...] > >> @@ -1094,20 +1094,22 @@ static int alloc_ring(struct net_device* dev) > >> void *ring; > >> dma_addr_t ring_dma; > >> > >> -

Re: [PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-01-27 Thread Ben Hutchings
On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: > Remove legacy PCI DMA wrappers and instead use generic DMA functions > directly in preparation for OF bus binding > > Signed-off-by: Alexey Charkov > Signed-off-by: Roger Luethi > --- > drivers/net/ethernet/via/via-rhine.c | 56 >

Re: [PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-01-27 Thread Ben Hutchings
On Mon, 2014-01-27 at 19:26 +0400, Alexey Charkov wrote: 2014/1/27 Ben Hutchings b...@decadent.org.uk: On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: [...] @@ -1094,20 +1094,22 @@ static int alloc_ring(struct net_device* dev) void *ring; dma_addr_t ring_dma; -

Re: [PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-01-27 Thread Ben Hutchings
On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: Remove legacy PCI DMA wrappers and instead use generic DMA functions directly in preparation for OF bus binding Signed-off-by: Alexey Charkov alch...@gmail.com Signed-off-by: Roger Luethi r...@hellgate.ch ---

Re: [PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-01-27 Thread Alexey Charkov
2014/1/27 Ben Hutchings b...@decadent.org.uk: On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: Remove legacy PCI DMA wrappers and instead use generic DMA functions directly in preparation for OF bus binding Signed-off-by: Alexey Charkov alch...@gmail.com Signed-off-by: Roger Luethi