Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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 [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
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] Fix dev->header_cache_update having a random value. 2007-03-02 20:37:37 -08:00
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] Fix dev->header_cache_update having a random value. 2007-03-02 20:37:37 -08:00
hdlc_raw.c [HDLC] Fix dev->header_cache_update having a random value. 2007-03-02 20:37:37 -08:00
hdlc_raw_eth.c
hdlc_x25.c [HDLC] Fix dev->header_cache_update having a random value. 2007-03-02 20:37:37 -08:00
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 PC300too alternative WAN driver 2007-02-05 16:58:51 -05:00
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 [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
x25_asy.h
z85230.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
z85230.h