From: Ondrej Zary <linux@xxxxxxxxxxxxxxxxxxxx>Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>
Add I/O register mapping for NCR53C400A and enable PDMA mode to
improve performance and fix non-working IRQ.
Tested with HP C2502 (and user-space enabler).
Signed-off-by: Ondrej Zary <linux@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
---
Changes to Ondrej's version:
- An 'if' statement is now a 'switch' statement.
- Throw an error if MMIO register locations are not known.
---
drivers/scsi/g_NCR5380.c | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)