Re: [2.6 patch] m68knommu: let PCI depend on BROKEN

From: Adrian Bunk
Date: Tue Aug 19 2008 - 10:33:01 EST


On Tue, Aug 19, 2008 at 04:13:33PM +0200, Geert Uytterhoeven wrote:
> On Tue, 19 Aug 2008, Adrian Bunk wrote:
> > There exists blackfin hardware with PCI support, but the support
> > currently in the kernel fails to build starting with:
> >
> > <-- snip -->
> >
> > ...
> > CC init/main.o
> > In file included from dma-mapping.h:5,
> > from dma-mapping.h:52,
> > from dmaengine.h:29,
> > from skbuff.h:29,
> > from netlink.h:155,
> > from genetlink.h:4,
> > from genetlink.h:4,
> > from taskstats_kern.h:12,
> > from main.c:46:
> > dma-mapping.h: In function 'dma_supported': ma-mapping.h:24:
> > error: implicit declaration of function 'pci_dma_supported'
> > ...
> > make[2]: *** [init/main.o] Error 1
> >
> >
> > <-- snip -->
> >
> > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
> >
> > ---
> > 3bdc07c86b6fd5fc18b7676a75c3ff907e00e807
> > diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig
> > index 2e7515e..77a5bdf 100644
> > --- a/arch/m68knommu/Kconfig
> > +++ b/arch/m68knommu/Kconfig
> > @@ -702,6 +702,7 @@ menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
> >
> > config PCI
> > bool "PCI support"
> > + depends on BROKEN
> > help
> > Support for PCI bus.
>
> blackfin != m68knommu

s/blackfin/m68knommu/ in the patch description (relict from copying it
from the other similar patch, see http://lkml.org/lkml/2008/8/19/196).

The error message and the patch are for m68knommu.

> Gr{oetje,eeting}s,
>
> Geert

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/