Skip to contentSkip to conversation

sym53c8xx_2 sniff inquiry fix

PATCH New Tony Battersby 1 participant 1 message Nov 1, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sym53c8xx_2 sniff inquiry fix

This is a resend of http://marc.theaimsgroup.com/?l=linux-scsi&m=108117878914404&w=2

The sym53c8xx_2 driver in lk 2.4.x is unmaintained. This is a backported fix from lk 2.6.x for a problem with sniffing inquiry data incorrectly resulting in Ultra 160 negotiation being disabled for some devices. Please apply.

drivers/scsi/sym53c8xx_2/sym_misc.c +1 -1
@@ -315,7 +315,7 @@
 	 */
 	inq_byte56 = tp->inq_byte56;
 	if (inq_version >= 4 && inq_len > 56)
-		tp->inq_byte56 = inq_data[56];
+		inq_byte56 = inq_data[56];
 #if 0
 printf("XXXXXX [%d] inq_version=%x inq_byte7=%x inq_byte56=%x XXXXX\n",
 	inq_len, inq_version, inq_byte7, inq_byte56);

Anthony J. Battersby
Cybernetics