linux-stable/drivers/scsi/arm
Finn Thain 8c32513bd3 ncr5380: Cleanup host info() methods
If the host->info() method is not set, then host->name is used by default.
For atari_scsi, that is exactly the same text. So remove the redundant
info() method. Keep sun3_scsi.c in line with atari_scsi.

Some NCR5380 drivers return an empty string from the info() method
(arm/cumana_1.c arm/oak.c mac_scsi.c) while other drivers use the default
(dmx3191d dtc.c g_NCR5380.c pas16.c t128.c).

Implement a common info() method to replace a lot of duplicated code which
the various drivers use to announce the same information.

This replaces most of the (deprecated) show_info() output and all of the
NCR5380_print_info() output. This also eliminates a bunch of code in
g_NCR5380 which just duplicates functionality in the core driver.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-11-20 09:11:08 +01:00
..
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 fas216: switch to ->show_info() 2013-04-09 14:13:26 -04:00
cumana_1.c ncr5380: Cleanup host info() methods 2014-11-20 09:11:08 +01:00
cumana_2.c [SCSI] remove deprecated IRQF_DISABLED from SCSI 2014-03-19 15:04:44 -07:00
eesox.c fas216: switch to ->show_info() 2013-04-09 14:13:26 -04:00
fas216.c scsi: Remove scsi_print_command when calling abort 2014-11-12 11:16:04 +01:00
fas216.h fas216: switch to ->show_info() 2013-04-09 14:13:26 -04:00
Kconfig drivers/scsi/arm: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:45 -08:00
Makefile
msgqueue.c
msgqueue.h
oak.c ncr5380: Cleanup host info() methods 2014-11-20 09:11:08 +01: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