be2net: remove usage of be_pci_func
authorAjit Khaparde <ajitkhaparde@gmail.com>
Sun, 7 Mar 2010 14:21:27 +0000 (14:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Mar 2010 18:45:27 +0000 (10:45 -0800)
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>

No differences found