be2net: Fix VF driver load for Lancer
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Wed, 18 Jul 2012 02:51:58 +0000 (02:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 16:28:38 +0000 (09:28 -0700)
commit0b13fb458fe6d244baaa701049c9a51105224820
tree9f00d7b106586938b5acf9c3f8d7431cc55647ce
parentc3fe065cea56f1fcd4f8e4ae1fb15fa785d2bb79
be2net: Fix VF driver load for Lancer

Lancer FW has added new capability checks for VFs.
Driver should only use those capabilities which are allowed for VFs.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c