Update of /cvsroot/linux-mips/linux/drivers/video
In directory usw-pr-cvs1:/tmp/cvs-serv31114
Modified Files:
Config.in Makefile fbmem.c
Added Files:
it8181fb.c
Log Message:
New framebuffer driver for ITE IT8181/PCI card.
--- NEW FILE: it8181fb.c ---
/* IT8181 console frame buffer driver---it8181fb.c
*
* Copyright (C) 2001 Integrated Technology Express, Inc.
* Copyright (C) 2001 MontaVista Software Inc.
*
* Initial work by ric...@it...
*
* Rewritten by MontaVista Software, Inc.
* st...@mv... or so...@mv...
*
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
[...1070 lines suppressed...]
strcpy(fontname, this_opt+5);
} else if (!strncmp(this_opt, "bpp:", 4)) {
default_bpp = simple_strtoul(this_opt+4, NULL, 0);
} else if (!strncmp(this_opt, "xres:", 5)) {
xres = simple_strtoul(this_opt+5, NULL, 0);
if (xres == 640)
default_res = RES_640x480;
else if (xres == 800)
default_res = RES_800x600;
else if (xres == 1024)
default_res = RES_1024x768;
} else {
mode_option = this_opt;
}
}
return 0;
}
#endif /* MODULE */
Index: Config.in
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/video/Config.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Config.in 2001/10/19 21:19:39 1.7
+++ Config.in 2001/10/22 22:32:06 1.8
@@ -154,6 +154,8 @@
bool ' Use TFT Panel on Pb1000 (J64)' CONFIG_PB1000_TFT
fi
fi
+
+ tristate ' ITE IT8181 framebuffer support' CONFIG_FB_IT8181
fi
if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
bool ' SBUS and UPA framebuffers' CONFIG_FB_SBUS
Index: Makefile
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/video/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile 2001/10/19 21:19:39 1.6
+++ Makefile 2001/10/22 22:32:06 1.7
@@ -114,6 +114,7 @@
obj-$(CONFIG_FB_HIT) += hitfb.o fbgen.o
obj-$(CONFIG_FB_E1355) += epson1355fb.o fbgen.o
obj-$(CONFIG_FB_E1356) += epson1356fb.o
+obj-$(CONFIG_FB_IT8181) += it8181fb.o fbgen.o
obj-$(CONFIG_FB_PVR2) += pvr2fb.o
obj-$(CONFIG_FB_VOODOO1) += sstfb.o
Index: fbmem.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/video/fbmem.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- fbmem.c 2001/10/22 19:16:45 1.9
+++ fbmem.c 2001/10/22 22:32:06 1.10
@@ -130,6 +130,8 @@
extern int e1355fb_setup(char*);
extern int e1356fb_init(void);
extern int e1356fb_setup(char*);
+extern int it8181fb_init(void);
+extern int it8181fb_setup(char*);
extern int pvr2fb_init(void);
extern int pvr2fb_setup(char*);
extern int mq200fb_init(void);
@@ -289,6 +291,9 @@
#endif
#ifdef CONFIG_FB_E1356
{ "e1356fb", e1356fb_init, e1356fb_setup },
+#endif
+#ifdef CONFIG_FB_IT8181
+ { "it8181fb", it8181fb_init, it8181fb_setup },
#endif
#ifdef CONFIG_FB_PVR2
{ "pvr2", pvr2fb_init, pvr2fb_setup },
|