Re: [PATCH 09/71] atari_NCR5380: Reset bus on driver initialization if required

From: Hannes Reinecke
Date: Thu Nov 19 2015 - 08:38:51 EST


On 11/18/2015 09:35 AM, Finn Thain wrote:
> Merge the bus reset code from NCR5380.c into atari_NCR5380.c. This allows
> for removal of a lot of duplicated code conditional on the RESET_BOOT
> macro (in the next patch).
>
> The atari_NCR5380.c fork lacks the do_reset() and NCR5380_poll_politely()
> routines from NCR5380.c, so introduce them. They are indispensible. Keep
> the two implementations in sync.
>
> Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
>
> ---
> drivers/scsi/NCR5380.c | 33 +++++++-----
> drivers/scsi/atari_NCR5380.c | 113 +++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 134 insertions(+), 12 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke zSeries & Storage
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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/