android_kernel_xiaomi_sm8350/drivers/atm
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
..
.gitignore [ATM]: Ignore generated file pca200e_ecd.bin2 2006-12-11 14:34:35 -08:00
adummy.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ambassador.c [SK_BUFF]: Convert skb->end to sk_buff_data_t 2007-04-25 22:26:29 -07:00
ambassador.h
atmsar11.data
atmsar11.regions
atmsar11.start
atmtcp.c [NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net 2007-04-26 01:37:44 -07:00
eni.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
eni.h [ATM] ENI: Convert to struct timeval to ktime_t. 2007-04-25 22:23:46 -07:00
firestream.c potential compiler error, irqfunc caller sites update 2007-07-06 10:23:43 -07:00
firestream.h
fore200e_firmware_copyright
fore200e_mkfirm.c
fore200e.c [ATM]: Use mutex instead of binary semaphore in FORE Systems 200E-series driver 2007-04-26 01:41:49 -07:00
fore200e.h [ATM]: Use mutex instead of binary semaphore in FORE Systems 200E-series driver 2007-04-26 01:41:49 -07:00
he.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
he.h
horizon.c [PATCH] horizon.c: missing __devinit 2007-01-23 11:09:49 -08:00
horizon.h
idt77105.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
idt77105.h
idt77252_tables.h
idt77252.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
idt77252.h [ATM]: Use mutex instead of binary semaphore in idt77252 driver. 2007-05-24 16:36:45 -07:00
iphase.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
iphase.h
Kconfig Fix Kconfig dependency problems wrt boolean menuconfigs 2007-06-28 11:34:53 -07:00
lanai.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
Makefile [ATM]: Add CPPFLAGS to byteorder.h check 2006-12-06 18:38:42 -08:00
midway.h
nicstar.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
nicstar.h
nicstarmac.c atm: Use ARRAY_SIZE macro when appropriate 2007-02-17 15:30:48 -05:00
nicstarmac.copyright
pca200e_ecd.data
pca200e.data
sba200e_ecd.data
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
uPD98402.h
zatm.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
zatm.h
zeprom.h