linux/drivers/scsi/arm
Finn Thain 54d8fe4425 ncr5380: Remove NCR5380_local_declare and NCR5380_setup macros
The NCR5380_local_declare and NCR5380_setup macros exist to define and
initialize a particular local variable, to provide the address of the
chip registers needed for the driver's implementation of its
NCR5380_read/write register access macros.

In cumana_1 and macscsi, these macros generate pointless code like this,
	struct Scsi_Host *_instance;
	_instance = instance;

In pas16, the use of NCR5380_read/write in pas16_hw_detect() requires that
the io_port local variable has been defined and initialized, but the
NCR5380_local_declare and NCR5380_setup macros can't be used for that
purpose because the Scsi_Host struct has not yet been instantiated.

Moreover, these macros were removed from atari_NCR5380.c long ago and
now they constitute yet another discrepancy between the two core driver
forks.

Remove these "optimizations".

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>
2016-01-06 21:42:52 -05:00
..
Kconfig drivers/scsi/arm: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:45 -08:00
Makefile
acornscsi-io.S
acornscsi.c acornscsi: use scsi_print_command() 2014-11-12 11:15:58 +01:00
acornscsi.h Fix common misspellings 2011-03-31 11:26:23 -03:00
arxescsi.c scsi: Do not set cmd_per_lun to 1 in the host template 2015-05-31 18:06:28 -07:00
cumana_1.c ncr5380: Remove NCR5380_local_declare and NCR5380_setup macros 2016-01-06 21:42:52 -05:00
cumana_2.c scsi: Do not set cmd_per_lun to 1 in the host template 2015-05-31 18:06:28 -07:00
eesox.c scsi: Do not set cmd_per_lun to 1 in the host template 2015-05-31 18:06:28 -07:00
fas216.c scsi: replace seq_printf with seq_puts 2015-02-02 09:57:45 -08:00
fas216.h fas216: switch to ->show_info() 2013-04-09 14:13:26 -04:00
msgqueue.c
msgqueue.h
oak.c ncr5380: Remove NCR5380_local_declare and NCR5380_setup macros 2016-01-06 21:42:52 -05:00
powertec.c [SCSI] remove deprecated IRQF_DISABLED from SCSI 2014-03-19 15:04:44 -07:00
queue.c scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
queue.h
scsi.h