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)
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>

No differences found