Skip to contentSkip to conversation

aic79xxx_osm.c in 2.5.59-bk3

PATCH New Douglas Gilbert 1 participant 1 message Feb 9, 2003

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

PATCH 1/1 aic79xxx_osm.c in 2.5.59-bk3

I needed the attachment to compile this file in lk 2.5.59-bk3. Unfortunately I don't have the hardware to test it.

Doug Gilbert

drivers/scsi/aic7xxx/aic79xx_osm.c2559bk3fix renamed from drivers/scsi/aic7xxx/aic79xx_osm.c +1 -1
@@ -1560,7 +1560,7 @@
 	hscb = scb->hscb;
 	hscb->control = 0;
 	hscb->scsiid = BUILD_SCSIID(ahd, cmd);
-	hscb->lun = cmd->lun;
+	hscb->lun = cmd->device->lun;
 	hscb->cdb_len = 0;
 	hscb->task_management = SIU_TASKMGMT_LUN_RESET;
 	scb->flags |= SCB_DEVICE_RESET|SCB_RECOVERY_SCB|SCB_ACTIVE;