[SCSI] aic7xxx: cap maxsync according to correct card limits
authorJames Bottomley <James.Bottomley@steeleye.com>
Mon, 30 Jul 2007 14:52:25 +0000 (09:52 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 31 Jul 2007 15:44:26 +0000 (10:44 -0500)
commit142009a3df39ecd4e96601d8bdabbe0c5f6e2f4e
treef5a546967d2d9932fae7c96b82146cf2020b22df
parent28f85009e0cf6a5232cd285131eac3dfe26d9e3a
[SCSI] aic7xxx: cap maxsync according to correct card limits

Not doing this can cause cards less than u160 capable to send out PPR
offers to devices they can't then deliver on ... causing some devices to
get a bit confused.  Fix by capping the start syncrate at the
appropriate level according to the card capabilities.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic7xxx_core.c