diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-11-04 09:15:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-04 17:31:48 -0400 |
commit | 9dc5e342703948ea7b086d063c85c0e79dac8149 (patch) | |
tree | 664ce50ab14d997f01f44f84a982440257413b78 /drivers/net/ethernet/sfc/phy.h | |
parent | 5bc09186deba2a016b60aa3923fc0e42838ce877 (diff) | |
download | blackbird-op-linux-9dc5e342703948ea7b086d063c85c0e79dac8149.tar.gz blackbird-op-linux-9dc5e342703948ea7b086d063c85c0e79dac8149.zip |
tg3: Obtain PCI function number from device
This patch adds code to attempt to obtain the PCI function number from
the device rather than accept the number handed by the kernel. In
pass-through scenarios, the function number handed by the kernel may not
reflect the true function of the device.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/phy.h')
0 files changed, 0 insertions, 0 deletions