[lkml]   [2005]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectbus_to_virt equivalent

    I am trying to port bus_to_virt and virt_to_bus to the
    DMA-mapping scheme.
    I found a way to move virt_to_bus() as follows:
    page = virt_to_page(cmd->request_buffer);
    offset = (unsigned long)address & ~PAGE_MASK;
    dma_addr_t addr = pci_map_page(dev, page, offset,

    But now I want to get virtual address for dma_addr_t.

    Any help is greatly appreciated.

    with regards,

    Yahoo! FareChase: Search multiple travel sites in one click.
    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-11-08 00:55    [W:0.020 / U:5.656 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site