vxge: Pass correct number of VFs value to pci_sriov_enable().
authorSreenivasa Honnur <sreenivasa.honnur@exar.com>
Thu, 8 Apr 2010 08:48:57 +0000 (01:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2010 08:48:57 +0000 (01:48 -0700)
commitcb27ec60640b3d3b40412c57a3fa92a0ae88dd2f
tree9e3d86c987a4a75fe72d09d7bdf0016869d7ced7
parent9002397e2999b53a0d673cd89892c4cda58e1416
vxge: Pass correct number of VFs value to pci_sriov_enable().

-  max_config_dev loadable parameter is set to 0xFF by default. Pass correct
   number of VFs value to pci_sriov_enable() if max_config_dev is set to its
   default value.

Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@exar.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-config.h
drivers/net/vxge/vxge-main.c
drivers/net/vxge/vxge-main.h