[SCSI] qla2xxx: Check to make sure multique and CPU affinity support is not enabled...
commitd84a47c2e8d8880d068f23f3033f6f6987717b17
authorMichael Hernandez <michael.hernandez@qlogic.com>
Fri, 19 Mar 2010 23:59:18 +0000 (19 16:59 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 27 Mar 2010 19:11:32 +0000 (27 15:11 -0400)
tree4f8a75f46db164ca9e6aa6ff8271e70365fb492b
parent12cec63e40f9b9c2a4766a0f43404a9642062f35
[SCSI] qla2xxx: Check to make sure multique and CPU affinity support is not enabled at the same time.

The logic is changed to detect this condition based on following
1) both module parameters are off (ql2xmaxqueues and ql2xmultique_tag).
2) both module parameters are on (ql2xmaxqueues and ql2xmultique_tag).
3) The HBA does not support multi queue.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_os.c