commit | 94c982bd9f07b801f03cebe32b20f893b4ad6d27 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Thu Dec 03 08:36:23 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 03 13:18:06 2009 -0800 |
tree | 2df6b908732f09f8882a8e8a91b0dc083fce2dde | |
parent | 141518c95870228da4e050fbe31a8f0c9df82c72 [diff] |
tg3: Use pci_read_vpd() instead of private method If the driver needs to use PCI configuration space to read the VPD data, the accesses could collide with the pci_read_vpd() function. This patch converts the driver to use pci_read_vpd() to avoid any potential collisions. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>