Re: [PATCH 73/71] ncr5380: Use runtime register mapping

2015-12-06 Thread Geert Uytterhoeven
On Sun, Dec 6, 2015 at 4:39 AM, Finn Thain wrote: >> - while (NCR5380_read(C400_CONTROL_STATUS_REG) & >> CSR_HOST_BUF_NOT_RDY); >> + while (NCR5380_read(hostdata->c400_ctl_status) & >> CSR_HOST_BUF_NOT_RDY); > > The semicolon should appear on

Re: [PATCH 73/71] ncr5380: Use runtime register mapping

2015-12-05 Thread Finn Thain
On Fri, 4 Dec 2015, Ondrej Zary wrote: > Convert compile-time C400_ register mapping to runtime mapping. > This removes the weird negative register offsets and allows adding > additional mappings. > > Signed-off-by: Ondrej Zary > --- > drivers/scsi/NCR5380.h |

[PATCH 73/71] ncr5380: Use runtime register mapping

2015-12-04 Thread Ondrej Zary
Convert compile-time C400_ register mapping to runtime mapping. This removes the weird negative register offsets and allows adding additional mappings. Signed-off-by: Ondrej Zary --- drivers/scsi/NCR5380.h | 13 +- drivers/scsi/g_NCR5380.c | 61

Re: [RFC PATCH 73/71] ncr5380: Use runtime register mapping

2015-11-30 Thread Finn Thain
On Sun, 29 Nov 2015, Ondrej Zary wrote: > Convert compile-time C400_ register mapping to runtime mapping. > This removes the weird negative register offsets and allows adding > additional mappings. > > Signed-off-by: Ondrej Zary > --- > drivers/scsi/NCR5380.h |

[RFC PATCH 73/71] ncr5380: Use runtime register mapping

2015-11-29 Thread Ondrej Zary
Convert compile-time C400_ register mapping to runtime mapping. This removes the weird negative register offsets and allows adding additional mappings. Signed-off-by: Ondrej Zary --- drivers/scsi/NCR5380.h | 13 +- drivers/scsi/g_NCR5380.c | 61