Messages in this thread | | | Subject | Network inteface w/ DMA | Date | Fri, 04 Sep 1998 18:39:17 +0200 | From | Jan Kasprzak <> |
| |
Hello,
I am developing the driver for a synchronous serial board. The board 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() routine of my device (I am talking about the skb->data here)?
I have looked at other drivers - the ni65.c seems to use its own bounce buffers and memcpy() to them.
(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).
-Yenya
-- \ Jan "Yenya" Kasprzak <kas at fi.muni.cz> http://www.fi.muni.cz/~kas/ \\ PGP: finger kas at aisa.fi.muni.cz 0D99A7FB206605D7 8B35FCDE05B18A5E // \\\ Czech Linux Homepage: http://www.linux.cz/ /// If there are race conditions in programs fix them. The "my programs suck fix something else" mentality leads you to things like Java. -- Alan Cox
- 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
| |