Re: [PATCH 07/22] ncr5380: Remove BOARD_REQUIRES_NO_DELAY macro

From: Hannes Reinecke
Date: Mon Mar 14 2016 - 03:33:33 EST


On 03/14/2016 05:27 AM, Finn Thain wrote:
> The io_recovery_delay macro is intended to insert a microsecond delay
> between the chip register accesses that begin a DMA operation. This
> is reportedly needed for some ISA boards.
>
> Reverse the sense of the macro test so that in the common case,
> where no delay is required, drivers need not define the macro.
>
> Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
>
> ---
> drivers/scsi/NCR5380.c | 18 ++++++++----------
> drivers/scsi/dtc.h | 2 ++
> drivers/scsi/g_NCR5380.h | 2 ++
> drivers/scsi/t128.h | 2 ++
> 4 files changed, 14 insertions(+), 10 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@xxxxxxx +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)