vxge: Allow driver load for all enumerated pci functions.
authorSreenivasa Honnur <sreenivasa.honnur@exar.com>
Thu, 8 Apr 2010 08:48:30 +0000 (01:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2010 08:48:30 +0000 (01:48 -0700)
commit9002397e2999b53a0d673cd89892c4cda58e1416
tree4d0c7734948cb60bcea2ab6dc82d35330bdaced2
parentaaffbd9f7734721bf42d246eb31fc79d7adb2cb9
vxge: Allow driver load for all enumerated pci functions.

- Allow all instances of the driver be loaded when multiple pci functions are
enumerated. The max_config_dev driver loadable option limits the driver
load instances if required. The X3100's function configuration of single/multi
function, SR and MR IOV allows the user to select the number of pci functions.

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-main.c