Files
linux-apfs/drivers/scsi
Finn Thain 9c3f0e2b52 atari_NCR5380: Remove RESET_BOOT, CONFIG_ATARI_SCSI_TOSHIBA_DELAY and CONFIG_ATARI_SCSI_RESET_BOOT
The atari_NCR5380.c core driver now takes care of bus reset upon driver
initialization if required (same as NCR5380.c). Move the Toshiba CD-ROM
support into the core driver, enabled with a host flag, so that all
NCR5380 drivers can make use of it.

Drop the RESET_BOOT macros and the ATARI_SCSI_RESET_BOOT and
ATARI_SCSI_TOSHIBA_DELAY Kconfig symbols, which are now redundant.

Remove the atari_scsi_reset_boot(), mac_scsi_reset_boot() and
sun3_scsi_reset_boot() routines. None of this duplicated code is needed
now that all drivers can use NCR5380_maybe_reset_bus().

This brings atari_scsi, mac_scsi and sun3_scsi into line with all of the
other NCR5380 drivers.

The bus reset may raise an interrupt. That would be new behaviour for
atari_scsi only when CONFIG_ATARI_SCSI_RESET_BOOT=n. The ST DMA interrupt
is not assigned to atari_scsi at this stage, so
CONFIG_ATARI_SCSI_RESET_BOOT=y may well be problematic already.
Regardless, do_reset() now raises and clears the interrupt within
local_irq_save/restore which should avoid problems.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-01-06 21:42:53 -05:00
..
2015-11-09 17:11:57 -08:00
2015-11-09 17:11:57 -08:00
2015-12-16 22:32:37 -05:00
2015-11-12 07:06:18 -05:00
2015-11-12 07:06:18 -05:00
2015-11-09 17:11:57 -08:00
2015-11-09 17:11:57 -08:00
2015-11-25 22:08:55 -05:00
2015-07-31 13:31:10 +02:00
2015-11-09 17:11:57 -08:00
2015-11-09 16:32:14 -08:00
2015-11-09 17:11:57 -08:00
2015-11-12 07:06:18 -05:00
2015-11-09 19:32:41 -05:00
2015-06-02 17:24:54 -07:00
2015-11-12 07:06:18 -05:00
2015-12-02 16:43:11 -05:00
2015-11-30 11:23:45 -05:00
2015-12-02 16:42:13 -05:00
2015-11-30 11:23:45 -05:00
2015-11-30 11:23:45 -05:00
2015-11-18 11:59:09 -05:00
2015-11-09 17:42:19 -08:00