]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Disable admin tools interface for VF driver mode
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Fri, 9 Jul 2010 13:15:05 +0000 (13:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jul 2010 00:41:58 +0000 (17:41 -0700)
commite26b7502d5c807f5b311fc217ad8db12cc1e49bf
tree020c3254753286c59a5d17757d2d05fce243abce
parent4bd4243be196fc2262f396f5dd3c30db70ddeb8c
qlcnic: Disable admin tools interface for VF driver mode

Non privileged (VF) driver will not be able to carry out any of the FW update,
etc. operations. Disable the tools interface by not creating the sysfs nodes.

Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c