|
From: Geert U. <ge...@li...> - 2002-05-03 08:39:29
|
On Thu, 2 May 2002, Ani Joshi wrote:
> After further looking at your code, it seems you are mmaping /dev/fb for
> your MMIO. Is this even possible? Shouldn't you be mapping /dev/mem?
> Has someone changed the fbdev layer so you can mmap mmio via /dev/fb?
That change was made many years ago :-)
You have the frame buffer at offset 0...fix.smem_len-1, and the MMIO at
fix.smem_len...fix.smem_len+fix.mmio_len-1.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li...
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
|