linux-sg2042/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 gitignore: misc files 2006-01-01 22:21:50 +01:00
Kconfig Use menuconfig objects II - netdev/wan 2007-05-11 17:53:26 -04:00
Makefile PC300too alternative WAN driver 2007-02-05 16:58:51 -05:00
c101.c [PATCH] WAN: fix C101 card carrier handling 2006-08-19 17:51:25 -04:00
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 drivers/net: eliminate irq handler impossible checks, needless casts 2006-10-06 14:56:04 -04:00
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 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
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 [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
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
lapbether.c
n2.c [PATCH] n2: fix confusing error code 2006-10-31 20:22:05 -05:00
pc300-falc-lh.h
pc300.h [PATCH] git-netdev-all: pc300_tty build fix 2006-09-27 16:18:24 -04:00
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 drivers/net: eliminate irq handler impossible checks, needless casts 2006-10-06 14:56:04 -04:00
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 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
wanxl.h
wanxlfw.S
wanxlfw.inc_shipped
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 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00