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    [W:0.025 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site