ncr5380: Move NCR53C400-specific code
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 3 Jan 2016 05:05:09 +0000 (16:05 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:42:52 +0000 (21:42 -0500)
commit4d8c08c71ea261a31855e4919fa8b875cd507ef3
tree88679b155760c14a0c8418dca1003c5ea7b63981
parentb6488f97d3b5b602a066956e58a1ba282456d79b
ncr5380: Move NCR53C400-specific code

Move board-specific code like this,
NCR5380_write(C400_CONTROL_STATUS_REG, CSR_BASE);
from the core driver to the board driver. Eliminate the NCR53C400 macro
from the core driver. Removal of all macros like this one will be
necessary in order to have one core driver that can support all kinds of
boards.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c
drivers/scsi/g_NCR5380.c
drivers/scsi/g_NCR5380.h