android_kernel_xiaomi_sm8350/drivers/video/sis
Auke Kok 44c10138fd PCI: Change all drivers to use pci_device->revision
Instead of all drivers reading pci config space to get the revision
ID, they can now use the pci_device->revision member.

This exposes some issues where drivers where reading a word or a dword
for the revision number, and adding useless error-handling around the
read. Some drivers even just read it for no purpose of all.

In devices where the revision ID is being copied over and used in what
appears to be the equivalent of hotpath, I have left the copy code
and the cached copy as not to influence the driver's performance.

Compile tested with make all{yes,mod}config on x86_64 and i386.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:10 -07:00
..
300vtbl.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
310vtbl.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
init301.c [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
init301.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
init.c [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
init.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
initdef.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
initextlfb.c [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
Makefile [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
oem300.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
oem310.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
osdef.h drivers/video/sis/: remove more kernel 2.4 code 2007-05-08 11:15:33 -07:00
sis_accel.c [PATCH] drivers/video/sis/sis_accel.c: removal of old code 2006-10-03 08:04:11 -07:00
sis_accel.h [PATCH] drivers/video/sis/sis_accel.h: removal of old code 2006-10-03 08:04:11 -07:00
sis_main.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
sis_main.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
sis.h drivers/video/sis/: remove more kernel 2.4 code 2007-05-08 11:15:33 -07:00
vgatypes.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
vstruct.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00