[lkml]   [1999]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: DMA and Cache coherency on machines without hardware enforced
    Pete Zaitcev [] wrote:
    > Also note that if one wants to produce the bus address to
    > program a DMA master he/she must use virt_to_bus(page), and NOT
    > virt_to_bus(ptr).

    Where did you get this requirement from? That isn't what
    Documentation/IO-mapping.txt appears to indicate.

    It gives a prototype of
    bus_addr = virt_to_bus(virt_addr);
    and even the examples don't seem to indicate that it is anything other than
    an address that is passed in.

    When you say you must use virt_to_bus(page), I'm guessing you mean that the
    address must be page aligned.


    SBS Technologies, Connectivity Products
    ... solutions for real-time connectivity

    Bret Indrelee, Engineer
    SBS Technologies, Inc., Connectivity Products
    1284 Corporate Center Drive, St. Paul MN 55121
    Direct: (651) 905-4731
    Main: (651) 905-4700 Fax: (651) 905-4701

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:55    [W:0.041 / U:158.324 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site