lkml.org 
[lkml]   [2002]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site