]> git.baikalelectronics.ru Git - kernel.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)
commita429f0f1e041bf799ba36fff06c4d091fa71f5bd
tree1a65ddf3e88a58b794cfdf7e2ad4bb7ffeabdd0a
parentef60d0e8cda258fe577caba5df33bd6d4df68e0f
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