qlcnic: Fix usage of use_msi and use_msi_x module parameters
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Mon, 24 Feb 2014 13:54:47 +0000 (08:54 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 23:32:39 +0000 (18:32 -0500)
commitb7520d2b59b09eb284e5fc9080d13145f0a8d9fd
treef3ffdabfd3941c030f935522601a581028664633
parentfc49beaee2a410402f49fd21c81a37a863b7a9ba
qlcnic: Fix usage of use_msi and use_msi_x module parameters

Once interrupts are enabled, instead of using module parameters,
use flags (QLCNIC_MSI_ENABLED and QLCNIC_MSIX_ENABLED) set by driver
to check interrupt mode.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c