lkml.org 
[lkml]   [1998]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectNetwork inteface w/ DMA
Date
From
	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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.039 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site