kernel-fxtec-pro1x/drivers/net/wan
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
..
lmc PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
.gitignore
c101.c
cosa.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
cosa.h
cycx_drv.c
cycx_main.c
cycx_x25.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
dlci.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
dscc4.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
farsync.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
farsync.h
hd6457x.c
hd64570.h
hd64572.h
hdlc.c
hdlc_cisco.c Generic HDLC sparse annotations 2007-04-28 11:01:07 -04:00
hdlc_fr.c Generic HDLC sparse annotations 2007-04-28 11:01:07 -04:00
hdlc_ppp.c
hdlc_raw.c
hdlc_raw_eth.c
hdlc_x25.c
hostess_sv11.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
Kconfig Use menuconfig objects II - netdev/wan 2007-05-11 17:53:26 -04:00
lapbether.c
Makefile
n2.c
pc300-falc-lh.h
pc300.h
pc300_drv.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pc300_tty.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
pc300too.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pci200syn.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
sbni.c [ETH]: Make eth_type_trans set skb->dev like the other *_type_trans 2007-04-25 22:24:30 -07:00
sbni.h
sdla.c
sealevel.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
syncppp.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
wanxl.c
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c
x25_asy.h
z85230.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
z85230.h