Messages in this thread |  | | Date | Thu, 9 May 2002 01:44:24 -0700 | From | Greg KH <> | Subject | Re: Problems with 2.5.14 PCI reorg and non-PCI architectures |
| |
On Wed, May 08, 2002 at 07:11:10PM -0400, James Bottomley wrote: > Hi All, > > You've moved arch/i386/kernel/pci-dma.c under your pci subdirectory. This > means that it is now compiled in only when CONFIG_PCI is defined whereas > previously it was always compiled. > > This file contains all of the DMA memory manipulation functions (like > pci_alloc_consistent et al.) which you need for device driver memory mapping > even in a non PCI bus machine.
arch/i386/pci/dma.c now only contains pci_alloc_consistent() and pci_free_consistent(). What kind of configuration are you using that works without CONFIG_PCI and yet calls those functions? Is it a ISA_PNP type configuration? Do you have a .config that this fails on?
> I think the solution is to move it back up to the i386/kernel level and make > it always compiled in (perhaps keeping the name as dma.c, though).
I'd be glad to move it back, but I'd like to understand who is using those functions outside of the pci and isa_pnp drivers.
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |