lkml.org 
[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: mmap RAM?
Date
> I am trying to write a driver for a new device.  It is an MPEG2 video
> *encoder*. The device sits on a PCI bus. It wants to DMA encoded

Tasty

> video to the host RAM.

> My driver needs at least 128kb. (I'd really like 256kb, but I guess
> that's a problem). Assume I use get_free_pages to grab 128kb. How
> can this be accessed via mmap? Are there any examples?

Please see both video4linux in 2.1.x (the at least roughly there standard
API for video capture on Linux) and the 0.5.6 bttv driver (I can never
remember the url but altavista +linux +bttv +host:.de finds it every time)
has mmap support

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site