Re: [PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-28 Thread Ivo van Doorn
On Friday 28 April 2006 15:33, Michael Buesch wrote: > On Friday 28 April 2006 15:24, you wrote: > > struct data_ring{ > > /* > > * net_device where this ring belongs to. > > */ > > struct net_device *net_dev; > > > > /* > > * Work structure for bot

Re: [PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-28 Thread Michael Buesch
On Friday 28 April 2006 15:24, you wrote: > struct data_ring{ > /* >* net_device where this ring belongs to. >*/ > struct net_device *net_dev; > > /* >* Work structure for bottom half interrupt handling. >*/ > struct wor

Re: [PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-28 Thread Ivo van Doorn
On Friday 28 April 2006 15:15, Christoph Hellwig wrote: > On Fri, Apr 28, 2006 at 02:57:31PM +0200, Ivo van Doorn wrote: > > On Friday 28 April 2006 00:11, Christoph Hellwig wrote: > > > On Fri, Apr 28, 2006 at 12:02:52AM +0200, Ivo van Doorn wrote: > > > > From: Ivo van Doorn <[EMAIL PROTECTED]> >

Re: [PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-28 Thread Christoph Hellwig
On Fri, Apr 28, 2006 at 02:57:31PM +0200, Ivo van Doorn wrote: > On Friday 28 April 2006 00:11, Christoph Hellwig wrote: > > On Fri, Apr 28, 2006 at 12:02:52AM +0200, Ivo van Doorn wrote: > > > From: Ivo van Doorn <[EMAIL PROTECTED]> > > > > > > Instead of dma_*_coherent > > > use pci_*consistent

Re: [PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-28 Thread Ivo van Doorn
On Friday 28 April 2006 00:11, Christoph Hellwig wrote: > On Fri, Apr 28, 2006 at 12:02:52AM +0200, Ivo van Doorn wrote: > > From: Ivo van Doorn <[EMAIL PROTECTED]> > > > > Instead of dma_*_coherent > > use pci_*consistent functions. > > No point in doing that, quite reverse as you use the gfp_ma

Re: [PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-27 Thread Christoph Hellwig
On Fri, Apr 28, 2006 at 12:02:52AM +0200, Ivo van Doorn wrote: > From: Ivo van Doorn <[EMAIL PROTECTED]> > > Instead of dma_*_coherent > use pci_*consistent functions. No point in doing that, quite reverse as you use the gfp_mask argument which is a (small) pessimation here. - To unsubscribe fro

[PATCH 3/32] rt2x00: use pci_*_consistent for DMA mapping

2006-04-27 Thread Ivo van Doorn
From: Ivo van Doorn <[EMAIL PROTECTED]> Add linux/dma-mapping.h header to allow compilation on some architectures. Instead of dma_*_coherent use pci_*consistent functions. Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]> diff -uprN wireless-dev-rt2x00/drivers/net/wireless/d80211/rt2x00/rt2400pci