public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] aic79xxx_osm.c in 2.5.59-bk3
@ 2003-02-09 22:17 Douglas Gilbert
  0 siblings, 0 replies; only message in thread
From: Douglas Gilbert @ 2003-02-09 22:17 UTC (permalink / raw)
  To: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 129 bytes --]

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

[-- Attachment #2: aic79xx_osm_2559bk3.diff --]
[-- Type: text/plain, Size: 465 bytes --]

--- linux/drivers/scsi/aic7xxx/aic79xx_osm.c	2003-02-10 08:56:24.000000000 +1100
+++ linux/drivers/scsi/aic7xxx/aic79xx_osm.c2559bk3fix	2003-02-10 09:11:17.000000000 +1100
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-09 22:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-09 22:17 [PATCH] aic79xxx_osm.c in 2.5.59-bk3 Douglas Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox