[SCSI] tmscsim: set max_sectors
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 Oct 2006 22:11:17 +0000 (00:11 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:12:03 +0000 (15:12 -0700)
commit75c28851c9eee889ef4347ff6f55b2dd1e1ceb81
tree18e74628313a7757cb90b865add12548176c0f8d
parent413f73272090a69e35a03c938272ec661b1d3d4c
[SCSI] tmscsim: set max_sectors

AM53C974A's Start Transfer Counter register has 24 bits, thus
maximum transfer length is 16MiB. But the maximum I can test
is 8MiB, so use that until somebody tests 16MiB.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/tmscsim.c