2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/arch/mips/pci
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
..
fixup-atlas.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-au1000.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-capcella.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-cobalt.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
fixup-ddb5477.c [PATCH] mips: nuke trailing whitespace 2005-09-05 00:06:07 -07:00
fixup-emma2rh.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-excite.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-ip32.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-jmr3927.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-lm2e.c [MIPS] New files for lemote fulong mini-PC support 2007-07-10 17:33:02 +01:00
fixup-malta.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-mpc30x.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-ocelot.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fixup-pmcmsp.c [MIPS] PMC MSP71xx PCI support 2007-07-10 17:33:03 +01:00
fixup-pnx8550.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-rbtx4927.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-sb1250.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
fixup-sni.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-tb0219.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-tb0226.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-tb0287.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-tx4938.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-vr4133.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-wrppmc.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-yosemite.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
Makefile [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00
ops-au1000.c [MIPS] MTX1: clear PCI errors 2007-03-04 19:02:45 +00:00
ops-bonito64.c [MIPS] New files for lemote fulong mini-PC support 2007-07-10 17:33:02 +01:00
ops-bridge.c [MIPS] IP27: Extract pci_ops into separate file. 2006-06-19 17:39:23 +01:00
ops-ddb5477.c [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
ops-emma2rh.c [MIPS] Don't include obsolete <linux/config.h>. 2006-07-13 21:25:58 +01:00
ops-gt64xxx_pci0.c [MIPS] merge GT64111 PCI routines and GT64120 PCI_0 routines 2007-04-27 16:20:23 +01:00
ops-mace.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ops-msc.c Fixes for system controllers for Atlas/Malta core cards. 2005-10-29 19:30:20 +01:00
ops-pmcmsp.c [MIPS] PMC MSP71xx PCI support 2007-07-10 17:33:03 +01:00
ops-pnx8550.c [MIPS] pnx8550: Fix write_config_byte() PCI config space accessor 2007-01-08 21:41:04 +00:00
ops-sni.c [MIPS] Support for several more SNI RM models. 2007-02-18 21:31:37 +00:00
ops-titan-ht.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ops-titan.c [MIPS] Support for the RM9000-based Basler eXcite smart camera platform. 2006-06-19 17:39:26 +01:00
ops-tx3927.c [MIPS] JMR3927 cleanup 2007-04-27 16:20:23 +01:00
ops-tx4927.c [MIPS] Remove BSD and Sys V compat data types. 2006-06-29 21:10:54 +01:00
ops-tx4938.c [MIPS] rbtx4938: Fix secondary PCIC and glue internal NICs 2007-07-10 17:33:04 +01:00
ops-vr41xx.c Update Yoichi Yuasa's email address. 2006-01-10 13:39:07 +00:00
pci-bcm1480.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
pci-bcm1480ht.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pci-dac.c [MIPS] Unify dma-{coherent,noncoherent.ip27,ip32} 2007-02-13 22:40:50 +00:00
pci-ddb5477.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
pci-emma2rh.c [MIPS] Don't include obsolete <linux/config.h>. 2006-07-13 21:25:58 +01:00
pci-excite.c [MIPS] Support for the RM9000-based Basler eXcite smart camera platform. 2006-06-19 17:39:26 +01:00
pci-ip27.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
pci-ip32.c [MIPS] Complete fixes after removal of pt_regs argument to int handlers. 2006-10-08 02:38:28 +01:00
pci-jmr3927.c [MIPS] C99-ify struct resource initialization. 2006-06-19 17:39:20 +01:00
pci-ocelot.c parse errors in ifdefs 2007-06-01 08:18:28 -07:00
pci-sb1250.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
pci-vr41xx.c Update Yoichi Yuasa's email address. 2006-01-10 13:39:07 +00:00
pci-vr41xx.h Update Yoichi Yuasa's email address. 2006-01-10 13:39:07 +00:00
pci-yosemite.c [MIPS] C99-ify struct resource initialization. 2006-06-19 17:39:20 +01:00
pci.c [MIPS] Register PCI host bridge resource earlier 2007-04-27 16:20:25 +01:00