[PATCH] sstfb: add sysfs interface
commit0743b86800cf1dfbf96df4a438938127bbe4476c
authorHelge Deller <deller@gmx.de>
Wed, 13 Dec 2006 08:35:55 +0000 (13 00:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:55 +0000 (13 09:05 -0800)
tree49a9807cdf0fcefb4d4d1652b8d9515766535d21
parent3161986224a3faa8ccca3e665b7404d81e7ee3cf
[PATCH] sstfb: add sysfs interface

Modify the sstfb (Voodoo1/2) driver:

- fix a memleak when removing the sstfb module

- fix sstfb to use the fbdev default videomode database

- add module option "mode_option" to set initial screen mode

- add sysfs-interface to turn VGA-passthrough on/off via
  /sys/class/graphics/fbX/vgapass

- remove old debug functions from ioctl interface

Signed-off-by: Helge Deller <deller@gmx.de>
Acked-By: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/sstfb.c
include/video/sstfb.h