[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
    >>>>> "Jamie" == Jamie Wellnitz <> 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

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

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