1
linux/drivers/char/agp
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
..
agp.h [AGPGART] intel_agp: Add support for G33, Q33 and Q35 chipsets 2007-06-06 17:10:03 -04:00
ali-agp.c [AGPGART] Add missing calls to global_flush_tlb() to ali-agp 2007-04-26 14:22:50 -04:00
alpha-agp.c PCI: Convert to alloc_pci_dev() 2007-05-02 19:02:37 -07:00
amd64-agp.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
amd-k7-agp.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
ati-agp.c [AGPGART] Further constification. 2007-02-22 18:41:28 -05:00
backend.c [AGPGART] Allow drm-populated agp memory types 2007-02-03 17:16:24 -05:00
compat_ioctl.c [AGPGART] compat ioctl 2007-02-03 17:16:24 -05:00
compat_ioctl.h [AGPGART] compat ioctl 2007-02-03 17:16:24 -05:00
efficeon-agp.c [AGPGART] Further constification. 2007-02-22 18:41:28 -05:00
frontend.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
generic.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
hp-agp.c [AGPGART] fix compile errors 2007-02-27 00:36:00 -05:00
i460-agp.c [AGPGART] fix compile errors 2007-02-27 00:36:00 -05:00
intel-agp.c [AGPGART] intel_agp: don't load if no IGD and AGP port 2007-06-21 12:49:11 -04:00
isoch.c [AGPGART] Lots of CodingStyle/whitespace cleanups. 2006-02-28 00:54:25 -05:00
Kconfig Merge ../linus 2006-12-12 18:13:32 -05:00
Makefile [AGPGART] Fix modular agpgart ia64 allmodconfig 2007-02-20 14:18:01 -05:00
nvidia-agp.c [AGPGART] Nvidia AGP: Use refcount aware PCI interfaces 2007-04-26 14:22:51 -04:00
parisc-agp.c PCI: Convert to alloc_pci_dev() 2007-05-02 19:02:37 -07:00
sgi-agp.c [AGPGART] Fix sparse warning in sgi-agp.c 2007-04-26 14:22:51 -04:00
sis-agp.c [AGPGART] prevent probe collision of sis-agp and amd64_agp 2007-04-26 14:22:50 -04:00
sworks-agp.c [AGPGART] sworks-agp: Switch to PCI ref counting APIs 2007-04-26 14:22:51 -04:00
uninorth-agp.c [POWERPC] Rename get_property to of_get_property: drivers 2007-05-02 20:04:32 +10:00
via-agp.c [AGPGART] Fix wrong ID in via-agp.c 2007-05-13 17:41:47 -04:00