vxge: Update driver_config->vpath_per_dev for each function in probe.
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Mon, 5 Oct 2009 01:52:54 +0000 (01:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 22:22:51 +0000 (15:22 -0700)
commit657205bdd7b276d95b3a5bac7e856e22c4001136
tree30ab3ec80b6933771703b56c3919e4e5879fa848
parent92cdd7c377c893c72d6968537076a18a510ae5cc
vxge: Update driver_config->vpath_per_dev for each function in probe.

- Update driver_config->vpath_per_dev for each function in probe.

- vpath_per_device specifies number of vpaths supported for each function/device. The
  current code was updating vpath_per_device only for physical device, however this has
  to be updated for each function also in case of a MF(Multi function) device.

Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-main.c