public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: linux-scsi@vger.kernel.org
Subject: [PATCH] aic79xxx_osm.c in 2.5.59-bk3
Date: Mon, 10 Feb 2003 09:17:15 +1100	[thread overview]
Message-ID: <3E46D36B.2070901@torque.net> (raw)

[-- 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;

                 reply	other threads:[~2003-02-09 22:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E46D36B.2070901@torque.net \
    --to=dougg@torque.net \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox