]> git.baikalelectronics.ru Git - kernel.git/commit
atari_NCR5380: Introduce FLAG_TAGGED_QUEUING
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 12 Nov 2014 05:12:19 +0000 (16:12 +1100)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:19 +0000 (09:11 +0100)
commit445b09195fe2517648a984ef4c9860d134850de9
tree354d51b6c7ffdc8390d4820a7d145d3785ed2a85
parent2aa919b93c123095627de26eff8401d8db263c6b
atari_NCR5380: Introduce FLAG_TAGGED_QUEUING

The static variable setup_use_tagged_queuing is declared in mac_scsi.c,
sun3_scsi.c and atari_scsi.c and doesn't belong in the core driver.
None of the other NCR5380 drivers suffer from this layering issue which
makes merging the core drivers more difficult and will likely hinder plans
for future use of platform data to configure the driver.

Replace the static variable with a host flag. This way it can be reported
along with the other flags.

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>
drivers/scsi/NCR5380.h
drivers/scsi/atari_NCR5380.c
drivers/scsi/atari_scsi.c
drivers/scsi/mac_scsi.c
drivers/scsi/sun3_scsi.c