Re: [PATCH v3 10/12] scsi/ncr5380: Expedite register polling

2016-10-10 Thread Finn Thain
On Mon, 10 Oct 2016, Russell King - ARM Linux wrote: > On Mon, Oct 10, 2016 at 12:46:53AM -0400, Finn Thain wrote: > > Avoid the call to NCR5380_poll_politely2() when possible. The call is > > easily short-circuited on the PIO fast path, using the inline wrapper. > > This requires that the NCR5

Re: [PATCH v3 10/12] scsi/ncr5380: Expedite register polling

2016-10-10 Thread Russell King - ARM Linux
On Mon, Oct 10, 2016 at 12:46:53AM -0400, Finn Thain wrote: > Avoid the call to NCR5380_poll_politely2() when possible. The call is > easily short-circuited on the PIO fast path, using the inline wrapper. > This requires that the NCR5380_read macro be made available before > any #include "NCR5380.h

[PATCH v3 10/12] scsi/ncr5380: Expedite register polling

2016-10-09 Thread Finn Thain
Avoid the call to NCR5380_poll_politely2() when possible. The call is easily short-circuited on the PIO fast path, using the inline wrapper. This requires that the NCR5380_read macro be made available before any #include "NCR5380.h" so a few declarations have to be moved too. Signed-off-by: Finn T