[2.6 patch] m68knommu: let PCI depend on BROKEN

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Tuesday, August 19, 2008 - 6:47 am

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@kernel.org>

---
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.
 

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] m68knommu: let PCI depend on BROKEN, Adrian Bunk, (Tue Aug 19, 6:47 am)
Re: [2.6 patch] m68knommu: let PCI depend on BROKEN, Geert Uytterhoeven, (Tue Aug 19, 7:13 am)
Re: [2.6 patch] m68knommu: let PCI depend on BROKEN, Adrian Bunk, (Tue Aug 19, 7:32 am)
Re: [2.6 patch] m68knommu: let PCI depend on BROKEN, Matthew Wilcox, (Tue Aug 19, 8:05 am)
Re: [2.6 patch] m68knommu: let PCI depend on BROKEN, Greg Ungerer, (Sun Aug 24, 11:16 pm)
Re: [RFC: 2.6 patch] m68knommu: remove the broken COMEMPCI ..., Geert Uytterhoeven, (Fri Aug 29, 12:31 am)
[2.6 patch] m68k: remove the dead PCI code, Adrian Bunk, (Sun Aug 31, 9:10 am)
[2.6 patch] m68knommu: remove the eLIA support, Adrian Bunk, (Sun Aug 31, 9:10 am)
[2.6 patch] m68knommu: remove the unused PCI option, Adrian Bunk, (Sun Aug 31, 9:10 am)
Re: [2.6 patch] m68k: remove the dead PCI code, Geert Uytterhoeven, (Wed Sep 3, 12:22 am)
Re: [2.6 patch] m68k: remove the dead PCI code, Geert Uytterhoeven, (Sat Sep 6, 5:23 am)
Re: [2.6 patch] m68k: remove the dead PCI code, Jesse Barnes, (Mon Sep 8, 10:06 pm)
Re: [2.6 patch] m68k: remove the dead PCI code, Geert Uytterhoeven, (Tue Sep 9, 12:11 am)
Re: [2.6 patch] m68k: remove the dead PCI code, Adrian Bunk, (Thu Sep 25, 6:31 am)