On Fri, 29 Aug 2014, Miod Vallat wrote:
> > sc->sc_xfer_max is computed according to the host's capabilities. What I 
> > want to simulate with this diff is a host adapter that can only cope with 
> > transfers < 64k == MAXPHYS.
> 
> Back to your original problem, you might want to print the sc_link
> struct as well the scsi_adapter struct it points to, when you detect a
> transfer larger than MAXPHYS. It has likely been overriden or reset to
> NULL by mistake at some point.

OK, I will try that. Will take a bit until I have time, though.

But I have also read the code and I could not find a place in the path 
from bread() to the scsi adapter cmd function where the minphys function 
is called.

Reply via email to