be2net: use common method to check for sriov function type
authorAjit Khaparde <ajit.khaparde@emulex.com>
Wed, 6 Apr 2011 18:08:01 +0000 (18:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Apr 2011 22:04:44 +0000 (15:04 -0700)
commitb0060586d23968d66325d775651d92ee830c032f
treeeec9d0ae244be4f66dd1f03e59293b0f10b3eb87
parent4b97291429bf59c09a969184a7d2ebde7287e7eb
be2net: use common method to check for sriov function type

Lancer and BE can both use SLI_INTF_REG to check a VF or a PF.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h