]> 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)
commitef60d0e8cda258fe577caba5df33bd6d4df68e0f
tree354d51b6c7ffdc8390d4820a7d145d3785ed2a85
parentfaeb68d71d9f735bc5af99c6c12e87d2f0d6dd33
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