Re: mips allmodconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Tue, 25 Jan 2011 14:31:13 -0800,
Andrew Morton wrote:
> 
> sound/oss/soundcard.c:69: error: `MAX_DMA_CHANNELS' undeclared here (not in a function)
> sound/oss/soundcard.c:69: error: storage size of `dma_alloc_map' isn't known
> sound/oss/soundcard.c:69: warning: 'dma_alloc_map' defined but not used         
> 
> In case you happen to be interested in oss drivers ;)

I took a quick look.  The only case where no MAX_DMA_CHANNELS is
defined is only MIPS with CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN.
In arch/mips/include/asm/dma.h:

#ifndef CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN
#define MAX_DMA_CHANNELS	8
#endif

What is the intention of this ifdef?


thanks,

Takashi  (not interested but just bored ;)



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux