RE: [PATCH] megaraid_sas: Fix probing cards without io port

From: Kashyap Desai
Date: Tue Aug 09 2016 - 13:52:41 EST


> > that does not io port resource allocated from BIOS, and kernel can
not
> > assign one as io port shortage.
> >
> > The driver is only looking for MEM, and should not fail.
>
> > It turns out megasas_init_fw() etc are using bar index as mask.
> > index 1 is used as mask 1, so that pci_request_selected_regions() is
> > trying to request BAR0 instead of BAR1.
>
> > Fix all related reference.

Review patch and looks good. Thanks Yinghai for submitting patch.

Acked-by: Kashyap Desai <kashyap.desai@xxxxxxxxxxxx>

>
> Kashyap? Sumit?
>
> --
> Martin K. Petersen Oracle Linux Engineering