[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: mmap RAM?
> 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


> 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 finds it every time)
has mmap support


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

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