[lkml]   [2000]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectpci - dma definative?
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
Please read the FAQ at

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