Skip to contentSkip to conversation

sym53c8xx_2 Ultra 160 requires LVD

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 Ultra 160 requires LVD

This patch prevents sym53c8xx_2 from attempting to negotiate Ultra 160 on a SE or HVD bus, which is invalid and confuses some devices. Please apply.

drivers/scsi/sym53c8xx_2/sym_glue.c +2 -1
@@ -1469,7 +1497,8 @@
 					tp->tinfo.goal.offset  = 0;
 					break;
 				}
-				if (uc->data <= 9 && np->minsync_dt) {
+				if (uc->data <= 9 && np->minsync_dt &&
+				    np->scsi_mode == SMODE_LVD) {
 					if (uc->data < np->minsync_dt)
 						uc->data = np->minsync_dt;
 					tp->tinfo.goal.options = PPR_OPT_DT;

Anthony J. Battersby
Cybernetics