vxge: correct multi-function detection
authorJon Mason <jon.mason@exar.com>
Thu, 11 Nov 2010 04:26:01 +0000 (04:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Nov 2010 17:30:23 +0000 (09:30 -0800)
commitca3e3b8fae982400dacbbf19f3112cc84e51d46a
treedf9281d265161c04fa632ed8a4ccaac9bd1392a4
parente7935c9669c27c5d530bff634c0c15f7a602d697
vxge: correct multi-function detection

The values used to determined if the adapter is running in single or
multi-function mode were previously modified to the values necessary
when making the VXGE_HW_FW_API_GET_FUNC_MODE firmware call.  However,
the firmware call was not modified.  This had the driver printing out on
probe that the adapter was in multi-function mode when in single
function mode and vice versa.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-config.c
drivers/net/vxge/vxge-reg.h