android_kernel_xiaomi_sm8350/drivers
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
..
acorn [PATCH] fix request->cmd == INT cases 2007-07-10 08:03:34 +02:00
acpi PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
amba
ata PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
atm PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
auxdisplay
base
block Merge branch 'splice-2.6.23' of git://git.kernel.dk/data/git/linux-2.6-block 2007-07-10 13:51:06 -07:00
bluetooth
cdrom Remove legacy CDROM drivers 2007-07-10 08:03:34 +02:00
char PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
clocksource PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
connector
cpufreq
crypto
dio
dma IOATDMA: fix section mismatches 2007-06-28 11:34:53 -07:00
edac
eisa
fc4
firewire firewire: fw-sbp2: fix DMA mapping of management ORBs 2007-07-10 00:07:49 +02:00
firmware
hid Merge branches 'debug-module-param' and 'upstream' into for-linus 2007-07-09 14:23:37 +02:00
hwmon hwmon/coretemp: fix a broken error path 2007-06-24 08:59:10 -07:00
i2c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
ide PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
ieee1394 ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
infiniband PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
input Input: tsdev - fix broken usec-to-millisecs conversion 2007-07-10 00:43:06 -04:00
isdn PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
kvm
leds
macintosh x86_64: Fix only make Macintosh drivers default on Macs 2007-06-22 18:41:18 -07:00
mca
md
media PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
message
mfd SM501: Check SM501 ID register on initialisation 2007-06-24 08:59:11 -07:00
misc eeprom_93cx6: shorten pulse timing to match spec (bis) 2007-07-10 12:41:09 -04:00
mmc mmc: at91_mci: fix hanging and rework to match flowcharts 2007-07-09 21:29:07 +02:00
mtd [MIPS] remove LASAT Networks platforms support 2007-07-10 17:33:04 +01:00
net PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
nubus
oprofile
parisc [PARISC] stop lcd driver from stripping initial whitespace 2007-06-21 17:46:19 -04:00
parport
pci PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pcmcia
pnp PNP SMCf010 quirk: work around Toshiba Portege 4000 ACPI issues 2007-07-06 10:23:43 -07:00
power [BATTERY] One Laptop Per Child power/battery driver 2007-07-10 11:28:22 +01:00
ps3
rapidio
rtc
s390 [S390] vmlogrdr function annotation. 2007-07-10 11:24:54 +02:00
sbus
scsi PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
serial PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
sh
sn
spi
tc [MIPS] DEC: Fix modpost warning. 2007-07-10 17:33:05 +01:00
telephony
usb PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
video PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
w1 [BATTERY] ds2760 W1 slave 2007-07-10 11:28:31 +01:00
zorro
Kconfig Merge git://git.infradead.org/~dwmw2/battery-2.6 2007-07-10 14:47:59 -07:00
Makefile [BATTERY] Universal power supply class (was: battery class) 2007-07-10 11:25:44 +01:00