commit | 500ca9ba241304937c54c379e515b24400379353 | [log] [tgz] |
---|---|---|
author | Ajit Khaparde <ajitkhaparde@gmail.com> | Sun Mar 07 14:21:27 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 08 10:45:27 2010 -0800 |
tree | 2a55bf6487ff8f366f361f0f91cabb31a4865a98 | |
parent | 6cce09f87a04797fae5b947ef2626c14a78f0b49 [diff] |
be2net: remove usage of be_pci_func When PCI functions are virtuialized in applications by assigning PCI functions to VM (PCI passthrough), the be2net driver in the VM sees a different function number. So, use of PCI function number in any calculation will break existing code. This patch takes care of it. Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>