[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A106E22.1010705@pobox.com>
Date: Sun, 17 May 2009 16:05:54 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Arnd Bergmann <arnd@...db.de>
CC: Robert Hancock <hancockrwd@...il.com>,
Tejun Heo <htejun@...il.com>,
FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>,
alan@...rguk.ukuu.org.uk, flar@...andria.com,
schmitz@...phys.uni-duesseldorf.de, linux-kernel@...r.kernel.org,
linux-ide@...r.kernel.org, takata@...ux-m32r.org,
geert@...ux-m68k.org, linux-m68k@...r.kernel.org,
ysato@...rs.sourceforge.jp
Subject: Re: [PATCH] ata: libata depends on HAS_DMA
Arnd Bergmann wrote:
> On Sunday 17 May 2009, Robert Hancock wrote:
> Please reread my explanations above and your own reply from
> last thursday. The case is entirely theoretical, as all platforms
> (except microblaze, which is getting fixed) either set HAS_DMA or
> don't allow building ATA drivers anyway. Platforms that don't support
> DMA can just define CONFIG_HAS_DMA and do what you suggested:
>
> On Thursday 14 May 2009, Robert Hancock wrote:
>> Wouldn't the easiest solution be to just dummy out the DMA API calls on
>> this platform to always fail? That would fix these compile problems..
That's what needs to happen. We provide no-op functions for e.g. PCI
and x86 DMI, for platforms where this support does not exist.
Pretty much all architectures support some form of ATA. m68k, m32r,
h8300 and microblaze all have IDE interface, which means that libata
needs to work on that platform.
The only !ATA arch in the entire kernel is s390, AFAICT.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists