linux/drivers/video/matrox
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
..
g450_pll.c [PATCH] matroxfb: fix jittery display on non-ppc systems 2006-08-27 11:01:29 -07:00
g450_pll.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-matroxfb.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_accel.c Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
matroxfb_accel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_base.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
matroxfb_base.h [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
matroxfb_crtc2.c [PATCH] matroxfb: Use kzalloc 2007-02-12 09:48:42 -08:00
matroxfb_crtc2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_DAC1064.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
matroxfb_DAC1064.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
matroxfb_g450.c [PATCH] drivers/video: Use ARRAY_SIZE macro 2006-03-27 08:44:58 -08:00
matroxfb_g450.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_maven.c [PATCH] drivers/video: Use ARRAY_SIZE macro 2006-03-27 08:44:58 -08:00
matroxfb_maven.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_misc.c Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
matroxfb_misc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_Ti3026.c Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
matroxfb_Ti3026.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00