be2net: fix to correctly know if driver needs to run for a VF or a PF
authorAjit Khaparde <ajitk@serverengines.com>
Thu, 29 Jul 2010 06:15:32 +0000 (06:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jul 2010 06:59:05 +0000 (23:59 -0700)
commit6dedec818ac2a3783581a761b0680e713f78afde
treeaa5d5308dae532e901577c8b9de1b764770c1ab5
parent060b946cc28682620667c33cb145094c763078be
be2net: fix to correctly know if driver needs to run for a VF or a PF

Move be_check_sriov_fn_type to appropriate place to correctly determine
if the be2net driver needs to work as a VF driver or a PF driver.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c