lkml.org 
[lkml]   [2000]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectpci - dma definative?
Date
Hey
I am writing a device driver for a data acquisition card and I cant find a
definative text on pci memory transfers. the card transfers one of two
blocks, 128k in size to the host on each transfer. What i am unsure about is
the memory allocation.

cardptr->busaddr = __get_free_pages(GFP_KERNEL,6);

6 being for the two blocks of 128k.

is this the way to do it for the 2.2 kernel?

any help would be greatly appreciated.

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

\
 
 \ /
  Last update: 2005-03-22 12:37    [W:0.016 / U:4.588 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site