> We occasionally see the PCI device in a non-accessible state at the > point the driver is loaded. When this happens, all BAR accesses will > read back as 0xFFFFFFFF. Rather than reading registers and > misinterpreting their (invalid) values, let's specifically check for > 0xFFFFFFFF in a register that cannot have that value to see if the > device is accessible. > > Signed-off-by: Matt Roper <[email protected]> > Cc: Mika Kuoppala <[email protected]> > Signed-off-by: Andi Shyti <[email protected]>
Reviewed-by: Andi Shyti <[email protected]> Andi
