summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb
Commit message (Collapse)AuthorAgeFilesLines
* Staging: xgifb: fixed many style issues in vb_util.cPrashant P. Shah2010-09-041-127/+58
| | | | | | | | | | | | This is a patch to the vb_util.c file that fixes many style issues found by the checkpatch.pl tool. - extra spaces - invalid code indent - extra braces - invalid comment style Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: fixed many style issues in vb_init.cPrashant P. Shah2010-09-041-2746/+2220
| | | | | | | | | | | | This is a patch to the vb_init.c file that fixes many style issues found by the checkpatch.pl tool. - extra spaces - invalid code indent - extra braces - invalid comment style Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: fixed many style issue in vb_setmode.cPrashant P. Shah2010-09-041-9267/+7760
| | | | | | | | | | | | This is a patch to the vb_setmode.c file that fixes many style issues found by the checkpatch.pl tool. - extra spaces - invalid code indent - extra braces - invalid comment style Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: fixed many style issue in vb_ext.cPrashant P. Shah2010-09-041-970/+769
| | | | | | | | | | | | This is a patch to the vb_ext.c file that fixes many style issues found by the checkpatch.pl tool. - extra spaces - invalid code indent - extra braces - invalid comment style Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: fix lots of sparse warningsRandy Dunlap2010-08-318-409/+462
| | | | | | | | | | | | | | Fix many sparse warnings about data or functions being static. Fix many sparse warnings about data or functions not being used (put them inside #if 0/#endif blocks). Fix sparse warnings about 0 being used for NULL. Fixed a small bit of source formatting when those lines were being modified anyway, but there is still lots of this yet to be done. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: devel@driverdev.osuosl.org Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: use DEFINE_PCI_DEVICE_TABLE() macroJavier Martinez Canillas2010-08-311-2/+1
| | | | | | | Use DEFINE_PCI_DEVICE_TABLE() to make xgifb_pci_table const and marked as __devinitconst Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: increase VBIOS_VER_MAX_LENGTH to 5Bill Pemberton2010-06-221-1/+1
| | | | | | | | | VBIOS_VER_MAX_LENGTH was set to 4, but the value "0.84" is strcpy'd into it. That value is 5 long including the trailing NULL. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: remove externs in XGI_accel.cBill Pemberton2010-06-221-4/+0
| | | | | | | | | Remove 2 extern variables definations from XGI_accel.c that were defined in other .h files. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: remove __KERNEL__ #ifdef in XGIfb.hBill Pemberton2010-06-221-5/+0
| | | | | | | | | The code inside this #ifdef declared a couple extern functions that weren't used anywhere, so remove the whole #ifdef Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: remove XGI.hBill Pemberton2010-06-221-10/+0
| | | | | | | | This was not included anywhere and just defined a debugging macro. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove XGI_TV_PLUG typedefBill Pemberton2010-06-221-3/+3
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove typedefs in XGIfb.hBill Pemberton2010-06-222-12/+10
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove typedefs in vb_struct.hBill Pemberton2010-06-2210-777/+774
| | | | | | | | This removes all the remaining typedefs in vb_struct.h Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove XGI_HW_DEVICE_INFO and PXGI_HW_DEVICE_INFO typedefsBill Pemberton2010-06-229-186/+184
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove XGI_DSReg and PXGI_DSReg typedefsBill Pemberton2010-06-223-9/+8
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove XGI_LCD_TYPE and XGI_VB_CHIP_TYPE typedefsBill Pemberton2010-06-221-4/+4
| | | | | | | | There is no need for these to be typedefs as a simple enum will do. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove SHORT, UCHAR, and LONG typedefBill Pemberton2010-06-2211-532/+540
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove USHORT, ULONG, BOOLEAN, and VOID typedefsBill Pemberton2010-06-2213-908/+1060
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove unused codeBill Pemberton2010-06-226-452/+0
| | | | | | | | Remove code that was removed using #if 0 Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove PUSHORT, PLONGU, and PVOID typedefsBill Pemberton2010-06-223-51/+39
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove PUCHAR typedefBill Pemberton2010-06-225-21/+18
| | | | | | | | PUCHAR was unsigned char *, use that instead Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove defines for TRUE, FALSE, and NULLBill Pemberton2010-06-224-122/+105
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove port macros in osdef.hBill Pemberton2010-06-228-59/+8
| | | | | | | | | | The port related macros in osdef.h are replaced with calls to out?() and in?(). This removes the last macros defined in osdef.h, so this file is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove XGI_SetMemory and XGI_MemoryCopyBill Pemberton2010-06-223-8/+2
| | | | | | | | These were just macros for memset and memcpy, so use those instead. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove use of LINUX_KERNEL defineBill Pemberton2010-06-228-114/+3
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove use of LINUX_XF86 defineBill Pemberton2010-06-226-134/+2
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove use of TC defineBill Pemberton2010-06-223-214/+0
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove use of WINCE_HEADER defineBill Pemberton2010-06-222-19/+0
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove code for WIN2000Bill Pemberton2010-06-227-558/+0
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: remove use of LINUX_VERSION_CODEBill Pemberton2010-06-226-375/+3
| | | | | | | | | Remove ifdefs that check LINUX_VERSION_CODE as this is not needed in the staging tree. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: use %lx instead of %x in printk formatBill Pemberton2010-06-221-1/+2
| | | | | | | | | This fixes compiler warning format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int' Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: XGI: remove duplicated #includeHuang Weiyi2010-06-182-2/+0
| | | | | | | | | Remove duplicated #include('s) in drivers/staging/xgifb/XGI_main_26.c drivers/staging/xgifb/vb_init.c Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Add framebuffer driver for XGI chipsetsapatard@mandriva.com2010-06-0422-0/+28500
This driver handles XG20, XG21, XG40, XG42 chipsets from XGI. They're also known as Z7,Z9,Z11 chipsets. It's based on the SiS fb driver but has been heavily modified by XGI to support their newer chipsets. Signed-off-by: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud