lkml.org 
[lkml]   [1999]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: mmap question (2.2.12)
Date
From
> I've read here previously that bttv.c is a good example of how to do
> this. I'm assigning the mmapped memory to the tulip chips, which PCI
> Bus Master's the actual frame data into it.

BTTV is probably overkill unless you are using very large buffers.

> I didn't see any obvious limitation on size in the source (or through
> man mmap()), but I am planning on doing ~30Mb using this. Is that a
> problem?

The simple way its generally about 64K. The bttv approach its basically
infinite providing you can do scatter gather DMA or land your packets
suitably (eg on 2K boundaries 2 per page)

Alan


-
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/

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