android_kernel_motorola_sm6225/arch/mips
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
..
arc [MIPS] ARC: Fix several compiler warnings. 2007-03-08 01:10:30 +00:00
au1000 [MIPS] Alchemy: Fix modpost warnings. 2007-07-10 17:33:05 +01:00
basler/excite [MIPS] excite: use __maybe_unused 2007-05-11 14:28:33 +01:00
boot Add .gitignore files for MIPS. 2005-11-07 18:05:37 +00:00
cobalt [MIPS] add io_map_base to pci_controller on Cobalt 2007-06-26 19:57:33 +02:00
configs [MIPS] MIPSsim: Enable MIPSsim virtual network driver. 2007-07-10 17:33:05 +01:00
ddb5xxx [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
dec [MIPS] DECstation: Optimised early printk() 2007-07-10 17:33:00 +01:00
emma2rh [MIPS] EMMA2RH: remove dead KGDB code 2007-06-06 19:34:31 +01:00
gt64120 [MIPS] WRPPMC: Fix build. 2007-07-10 17:33:06 +01:00
jazz [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
jmr3927 parse errors in ifdefs 2007-06-01 08:18:28 -07:00
kernel [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00
lemote/lm2e [MIPS] New files for lemote fulong mini-PC support 2007-07-10 17:33:02 +01:00
lib [MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 2007-07-10 17:33:02 +01:00
math-emu [MIPS] Add debugfs files to show fpuemu statistics 2007-07-10 17:33:04 +01:00
mips-boards [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
mipssim [MIPS] MIPSsim: Move code away from the other MIPS Inc. BSP code. 2007-07-10 17:32:56 +01:00
mm [MIPS] SB1: Fix modpost warning. 2007-07-10 17:33:05 +01:00
oprofile [MIPS] Separate performance counter interrupts 2007-06-14 18:25:15 +01:00
pci PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
philips/pnx8550 [MIPS] PNX8550: Cleanup proc code. 2007-07-10 17:33:07 +01:00
pmc-sierra [MIPS] Yosemite: Fix modpost warnings. 2007-07-10 17:33:06 +01:00
qemu [MIPS] Remove prototype for deleted function qemu_handle_int 2007-06-06 19:34:33 +01:00
sgi-ip22 [MIPS] Transform old-style macros to newer "__noreturn" 2007-07-10 17:32:56 +01:00
sgi-ip27 [MIPS] Remove unused dump_tlb functions 2007-07-10 17:32:57 +01:00
sgi-ip32 [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
sibyte [MIPS] Transform old-style macros to newer "__noreturn" 2007-07-10 17:32:56 +01:00
sni [MIPS] SNI RM updates 2007-07-10 17:33:03 +01:00
tx4927 ne: MIPS: Use platform_driver for ne on RBTX49XX 2007-05-08 01:23:09 -04:00
tx4938 [MIPS] rbtx4938: Fix secondary PCIC and glue internal NICs 2007-07-10 17:33:04 +01:00
vr41xx [MIPS] update vr41xx Kconfig 2007-04-27 16:20:26 +01:00
defconfig [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00
Kconfig [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00
Kconfig.debug [MIPS] SMTC: Fix cut'n'paste bug in Kconfig.debug 2007-07-06 16:17:11 +01:00
Makefile [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00