lkml.org 
[lkml]   [2003]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: virt_to_page/pci_map_page vs. pci_map_single
    From
    Date
    >>>>> "Jamie" == Jamie Wellnitz <Jamie.Wellnitz@emulex.com> writes:

    Jamie> On Mon, Nov 03, 2003 at 03:10:46AM -0500, Jes Sorensen wrote:
    >> virt_to_page() can handle any page in the standard kernel region

    Jamie> What is the "standard kernel region"? ZONE_NORMAL?

    Hmmm, my brain has gotten ia64ified ;-) It's basically the normal
    mappings of the kernel, ie. the kernel text/data/bss segments as well
    as anything you do not get back as a dynamic mapping such as
    ioremap/vmalloc/kmap.

    >> pci_map_page() is the correct API to use, pci_map_single() is
    >> deprecated.

    Jamie> Are you talking about 2.4 or 2.6 or both?

    Both really.

    Jamie> The Document/DMA-mapping.txt in 2.6.0-test9 says "To map a
    Jamie> single region, you do:" and then shows pci_map_single. Is
    Jamie> DMA-mapping.txt in need of patching?

    Sounds like it needs an update.

    Cheers,
    Jes
    -
    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:58    [W:0.021 / U:0.952 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site