Skip to contentSkip to conversation

sym53c8xx_2 sniff inquiry fix

PATCH In review Tony Battersby 2 participants 2 messages Apr 5, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sym53c8xx_2 sniff inquiry fix

The following patch fixes a problem where sym53c8xx_2 always sniffs a value of 0x00 for inquiry byte 56, which breaks 160 MB/s negotiations.

I am working with lk 2.4.x; I don't know if this needs to be applied to lk 2.6.x also.

scsi/sym53c8xx_2/sym_misc.c renamed from scsi/sym53c8xx_2/sym_misc.c.orig +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

#1 lore raw
Quoted 5 lines · Tony Battersby

The following patch fixes a problem where sym53c8xx_2 always sniffs a value of 0x00 for inquiry byte 56, which breaks 160 MB/s negotiations.

I am working with lk 2.4.x; I don't know if this needs to be applied to lk 2.6.x also.

2.6 already has this fix; I only maintain 2.6 -- the 2.4 sym drivers are unmaintained.

Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain