[PATCH 1/4] powerpc/pci: Split IO vs MMIO indirect access hooks
Stephen Rothwell
sfr at canb.auug.org.au
Mon Apr 11 16:35:53 EST 2011
Hi Ben,
Just a small note:
On Mon, 11 Apr 2011 15:54:27 +1000 (EST) Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
>
> diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
> index 59eeb77..220b137 100644
> --- a/arch/powerpc/platforms/Kconfig
> +++ b/arch/powerpc/platforms/Kconfig
> @@ -152,13 +152,18 @@ config PPC_P7_NAP
> default n
>
> config PPC_INDIRECT_IO
> - bool
> + def_bool y
> select GENERIC_IOMAP
> - default n
> + depends on PPC_INDIRECT_PIO || PPC_INDIRECT_MMIO
config PPC_INDIRECT_IO
bool
select GENERIC_IOMAP
> +config PPC_INDIRECT_PIO
> + def_bool n
config PPC_INDIRECT_PIO
bool
select PPC_INDIRECT_IO
> +config PPC_INDIRECT_MEM
> + def_bool n
config PPC_INDIRECT_MEM
bool
select PPC_INDIRECT_IO
> config GENERIC_IOMAP
> - bool
> - default n
> + def_bool n
Just remove the "defaul n" (or leave it alobe).
The default for bool is 'n'.
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110411/a1f9b6ad/attachment.pgp>
More information about the Linuxppc-dev
mailing list