]> bbs.cooldavid.org Git - net-next-2.6.git/commit
qlcnic: Fix a bug in setting up NIC partitioning mode
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Wed, 16 Jun 2010 09:07:27 +0000 (09:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 21:45:51 +0000 (14:45 -0700)
commit0e33c6649eea99f03d6b444d93fe67d856f1b10d
tree91343e3b02d66ad62f9e469ceaee60642c4656b1
parent8c76368174ed2359739f1b7b8a9c042b1ef839c4
qlcnic: Fix a bug in setting up NIC partitioning mode

The driver was not detecting the presence of NIC partitioning capability of the
firmware properly. Now, it checks the eswitch set bit in the FW capabilities
register and accordingly sets the driver mode as NPAR capable or not.

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