Files
linux-legacy/include/linux
Antonino A. Daplas 09aaf268eb fbdev: add fb_read/fb_write functions for framebuffers in system RAM
The functions fb_read() and fb_write in fbmem.c assume that the framebuffer
is in IO memory.  However, we have 3 drivers (hecubafb, arcfb, and vfb)
where the framebuffer is allocated from system RAM (via vmalloc). Using
__raw_read/__raw_write (fb_readl/fb_writel) for these drivers is
illegal, especially in other platforms.

Create file read and write methods for these types of drivers.  These are
named fb_sys_read() and fb_sys_write().

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:30 -07:00
..
…
…
…
…
…
…
…
2007-05-08 11:15:16 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-07 12:12:55 -07:00
…
…
…
…
…
…
…
…
…
…
2007-05-08 11:15:15 -07:00
…
…
…
…
2007-05-07 12:13:00 -07:00
2007-05-07 12:13:00 -07:00
…
…
…
…
…
…
…
…
…
2007-05-08 11:15:25 -07:00
…
…
…
…
…
…
2007-05-08 11:15:26 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-07 12:12:58 -07:00
…
…
…
…
…
2007-05-03 13:17:25 -07:00
…
…
…
2007-05-06 20:38:28 -04:00
…
…
…
…
…
…
…
…
2007-05-08 11:15:04 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-05 22:03:49 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-08 11:15:09 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-07 12:13:00 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-08 11:15:18 -07:00
…
…
…
…
…
2007-05-07 12:12:53 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-04 17:59:07 -07:00
…
…
…
2007-05-07 12:12:59 -07:00
…
…
2007-05-08 11:15:05 -07:00
2007-05-08 11:15:05 -07:00
2007-05-05 14:15:32 -07:00
…
…
…
…
…
2007-05-08 11:15:14 -07:00
…
…
…
…
…
…
…
…
2007-05-08 11:14:57 -07:00
…
…
…
…
…
…
…
…
2007-05-07 12:12:54 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-08 11:15:18 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-07 12:12:58 -07:00
2007-05-07 12:12:50 -07:00
…
…
…
…
…
…
2007-05-07 12:12:54 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-08 11:14:58 -07:00
2007-05-08 11:15:18 -07:00
…
…
…
2007-05-07 12:12:59 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-08 11:15:18 -07:00
2007-05-08 11:15:05 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-07 12:12:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2007-05-04 12:55:39 -07:00
…
…
…
…
…