aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-07-05 12:05:20 +0000
committerLars-Peter Clausen <lars@metafoo.de>2009-07-05 12:05:20 +0000
commitd131752f0d13baef7ef26d7b24edb52fcc98056d (patch)
treebb696ab02b0b97454d070e46f504c6a6bbef9dc0 /target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch
parent36293686234f12e5f5fc166a6b38a1efec36da2d (diff)
downloadupstream-d131752f0d13baef7ef26d7b24edb52fcc98056d.tar.gz
upstream-d131752f0d13baef7ef26d7b24edb52fcc98056d.tar.bz2
upstream-d131752f0d13baef7ef26d7b24edb52fcc98056d.zip
Add ioctls to glamo framebuffer driver to enable/disable glamo engines.
SVN-Revision: 16686
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch b/target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch
new file mode 100644
index 0000000000..532e00a3a3
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.30/750-glamo-headers.patch
@@ -0,0 +1,23 @@
+--- a/include/linux/fb.h
++++ b/include/linux/fb.h
+@@ -124,6 +124,7 @@ struct dentry;
+ #define FB_ACCEL_TRIDENT_BLADE3D 52 /* Trident Blade3D */
+ #define FB_ACCEL_TRIDENT_BLADEXP 53 /* Trident BladeXP */
+ #define FB_ACCEL_CIRRUS_ALPINE 53 /* Cirrus Logic 543x/544x/5480 */
++#define FB_ACCEL_GLAMO 50 /* SMedia Glamo */
+ #define FB_ACCEL_NEOMAGIC_NM2070 90 /* NeoMagic NM2070 */
+ #define FB_ACCEL_NEOMAGIC_NM2090 91 /* NeoMagic NM2090 */
+ #define FB_ACCEL_NEOMAGIC_NM2093 92 /* NeoMagic NM2093 */
+diff --git a/Kbuild b/Kbuild
+index 3f0eaa3..72699f0 100644
+--- a/include/linux/Kbuild
++++ b/include/linux/Kbuild
+@@ -75,6 +75,8 @@ header-y += genetlink.h
+ header-y += gen_stats.h
+ header-y += gfs2_ondisk.h
+ header-y += gigaset_dev.h
++header-y += glamofb.h
++header-y += glamo-engine.h
+ header-y += hysdn_if.h
+ header-y += i2o-dev.h
+ header-y += i8k.h