qla2x00t-32gbit: Use pci_enable_msix_range() on RHEL 6

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-04-02 04:04:27 +00:00
parent 5ce12b8c42
commit bd3543fc7d

View File

@@ -3495,7 +3495,7 @@ qla24xx_enable_msix(struct qla_hw_data *ha, struct rsp_que *rsp)
}
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) && !defined(RHEL_MAJOR)
ret = pci_enable_msix(ha->pdev, entries, ha->msix_count);
if (ret) {
if (ret < QLA_BASE_VECTORS)