]> bbs.cooldavid.org Git - net-next-2.6.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)
commit132ff00a0fdea43708639d84ab3b42bb106410d7
tree020c3254753286c59a5d17757d2d05fce243abce
parentac8d0c4feb5577a830bbf1d9a3bb5b1d30298e2c
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