vxge: Modify __vxge_hw_device_is_privilaged() to not assume function-0 as the privile...
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Mon, 5 Oct 2009 01:51:38 +0000 (01:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 22:22:51 +0000 (15:22 -0700)
commit92cdd7c377c893c72d6968537076a18a510ae5cc
tree4f7080cee365a3cdcc4b1416cbc5dc931ae3af9e
parent6deac6f2b46f84b8822683cce92eab4edf2ade5e
vxge: Modify __vxge_hw_device_is_privilaged() to not assume function-0 as the privileged function: Resubmit#1

- vxge driver was assuming function-0 is always the privilaged function. Now that
  restriction has been removed any function can act as a privilaged function.

- This patch modifies the __vxge_hw_device_is_privilaged routine to not assume
  function-0 as the privileged function.

- Recreated the patch by incorporating review comments from Dave Miller to
  remove double slash in path names.

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