Re: [PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-23 Thread John W. Linville
On Fri, Feb 23, 2007 at 08:57:41AM -0500, Kyle McMartin wrote: > On Fri, Feb 23, 2007 at 07:13:32AM +0100, Heiko Carstens wrote: > > How about this for telling that an architecture doesn't support DMA? > > At least we could get rid of dma-mapping-broken.h and don't need to > > compile some afterwar

Re: [PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-23 Thread Kyle McMartin
On Fri, Feb 23, 2007 at 07:13:32AM +0100, Heiko Carstens wrote: > How about this for telling that an architecture doesn't support DMA? > At least we could get rid of dma-mapping-broken.h and don't need to > compile some afterwards dead code. > > Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> T

Re: [PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-23 Thread Heiko Carstens
On Fri, Feb 23, 2007 at 07:13:32AM +0100, Heiko Carstens wrote: > How about this for telling that an architecture doesn't support DMA? > At least we could get rid of dma-mapping-broken.h and don't need to > compile some afterwards dead code. > > Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> >

Re: [PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-22 Thread Heiko Carstens
How about this for telling that an architecture doesn't support DMA? At least we could get rid of dma-mapping-broken.h and don't need to compile some afterwards dead code. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> --- arch/s390/Kconfig |3 +++ drivers/base/Makefile

Re: [PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-22 Thread Heiko Carstens
On Thu, Feb 22, 2007 at 07:59:45PM -0500, John W. Linville wrote: > This allows some drivers compile on arches that don't support DMA > (e.g. s390). Which drivers are we talking about? Last time I checked an allmodconfig just compiled. I'd rather like to the opposite: rip out everything that depen

[PATCH] dma-mapping-broken.h: flesh-out DMA API stubs

2007-02-22 Thread John W. Linville
This allows some drivers compile on arches that don't support DMA (e.g. s390). Signed-off-by: John W. Linville <[EMAIL PROTECTED]> --- Is there any reason why this header should not cover the whole DMA API? Compile-tested only... include/asm-generic/dma-mapping-broken.h | 134 +