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


    greg k-h
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:22    [W:0.021 / U:12.660 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site