[PATCH] 2.5.43 aacraid driver

From: Mark Haverkamp (markh@osdl.org)
Date: Fri Oct 18 2002 - 11:10:01 EST


This change replaces the 2.5.42 patch I sent on Monday.

Fill devno[cid] from request instead of sc_request->sr_request since
sc_request is passed in as NULL now.

diff -Nru base_linux-2.5/drivers/scsi/aacraid/aachba.c linux-2.5/drivers/scsi/aacraid/aachba.c
--- base_linux-2.5/drivers/scsi/aacraid/aachba.c Mon Oct 7 13:03:15 2002
+++ linux-2.5/drivers/scsi/aacraid/aachba.c Thu Oct 17 16:16:20 2002
@@ -1060,7 +1060,8 @@
                          */
                          
                         spin_unlock_irq(scsicmd->host->host_lock);
- fsa_dev_ptr->devno[cid] = DEVICE_NR(scsicmd->sc_request->sr_request->rq_dev);
+ fsa_dev_ptr->devno[cid] =
+ DEVICE_NR(scsicmd->request->rq_dev);
                         ret = aac_read(scsicmd, cid);
                         spin_lock_irq(scsicmd->host->host_lock);
                         return ret;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:41 EST