lkml.org 
[lkml]   [1998]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Network inteface w/ DMA
    Date
    > can send/receive packets via ISA DMA. Is there any way of telling kernel
    > to pass a DMA-able memory only to the dev->hard_start_xmit()

    No you need to use bounce buffers. Theres an example in the z85230 driver
    on ftp.linux.org.uk:pub/linux/alan - thats a sync card using bounce
    buffers when needed

    > (The rx side is easy because the skb is allocated in the device's
    > own interrupt routine and I can use alloc_skb(..., ...|GFP_DMA) here).

    Be aware that all the atomic memory pools may not contain any ISA DMA memory
    and that may be a stable state. ie dont do it , or if you do have
    a bounce buffer fallback


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/faq.html

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