commit | 9974a356b204833b32173210ca25edfdc24dcdd5 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Sun Oct 07 23:27:28 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:54:44 2007 -0700 |
tree | 1b6a4d69ec46c01934fb5ff2cf4d76d57a103752 | |
parent | 8658251dc3fed54b09991a2c5e0a7084755157d7 [diff] |
[TG3]: Walk PCI capability lists. Newer tg3 devices shuffle around the registers in PCI configuration space. This patch changes the way the driver accesses the PCI capabilities registers. Hardcoded register locations are replaced with offsets from pci_find_capability() return values. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>