]> git.karo-electronics.de Git - linux-beck.git/commit
atari_NCR5380: Move static TagAlloc array to host data
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 12 Nov 2014 05:12:20 +0000 (16:12 +1100)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:19 +0000 (09:11 +0100)
commit61d739a4976424af0d2a62d8e8d0b2159702fb45
tree1a65ddf3e88a58b794cfdf7e2ad4bb7ffeabdd0a
parentca513fc948e66ecdd3c75cca9371762bb4c06776
atari_NCR5380: Move static TagAlloc array to host data

The atari_NCR5380.c core driver keeps some per-host data in a static
variable which limits the driver to a single instance. Fix this by moving
TagAlloc to the hostdata struct.

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