[SCSI] Negotiate correctly with async-only devices
authorMatthew Wilcox <matthew@wil.cx>
Wed, 30 Nov 2005 04:08:40 +0000 (23:08 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Wed, 14 Dec 2005 00:27:10 +0000 (17:27 -0700)
commit322e079f1b606e46b79bb8b8e6cf6110b5f2aa3f
tree541a03bb0d7ff2809069122e5b10431072124587
parent1a68de5c08be8c77c4ad208306187bd95107c7cd
[SCSI] Negotiate correctly with async-only devices

When we got a device only capable of async, we would zero out goal->period
which would cause us to try PPR negotiations.  Leave goal->period alone,
and check goal->offset before doing PPR.  Kudos to Daniel Forsgren for
figuring this out.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sym53c8xx_2/sym_hipd.c