commit | 344dbf1073d1cea179ed0831547cab2b7ea4ea27 | [log] [tgz] |
---|---|---|
author | Sarveshwar Bandi <sarveshwarb@serverengines.com> | Fri Jul 09 01:43:55 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 10 19:42:05 2010 -0700 |
tree | 0963847f46c5b4c7197dc1039081937ac0d934d2 | |
parent | 1ebed71ae23b0b3c68d2a03e8e1b421efb7f35b0 [diff] |
be2net: Patch to determine if function is VF while running in guest OS. When driver is loaded in guest OS, the pci variables is_virtfn and is_physfn are both set to 0. This change uses registers in controller to determine the same. Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>