linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.5] fix megaraid driver compile error
@ 2003-02-06 19:20 Mark Haverkamp
  2003-02-06 19:24 ` Christoph Hellwig
  2003-02-06 20:04 ` Linus Torvalds
  0 siblings, 2 replies; 16+ messages in thread
From: Mark Haverkamp @ 2003-02-06 19:20 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-scsi, linux-kernel

This moves access of the host element to device since host has been
removed from struct scsi_cmnd.


===== drivers/scsi/megaraid.c 1.32 vs edited =====
--- 1.32/drivers/scsi/megaraid.c        Fri Jan  3 10:58:49 2003
+++ edited/drivers/scsi/megaraid.c      Thu Feb  6 10:18:43 2003
@@ -4515,7 +4515,7 @@
                if(scsicmd == NULL) return -ENOMEM;

                memset(scsicmd, 0, sizeof(Scsi_Cmnd));
-               scsicmd->host = shpnt;
+               scsicmd->device->host = shpnt;

                if( outlen || inlen ) {
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
@@ -4652,7 +4652,7 @@
                if(scsicmd == NULL) return -ENOMEM;

                memset(scsicmd, 0, sizeof(Scsi_Cmnd));
-               scsicmd->host = shpnt;
+               scsicmd->device->host = shpnt;

                if (outlen || inlen) {
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
-- 
Mark Haverkamp <markh@osdl.org>


^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: [PATCH 2.5] fix megaraid driver compile error
@ 2003-02-06 19:59 Matt_Domsch
  0 siblings, 0 replies; 16+ messages in thread
From: Matt_Domsch @ 2003-02-06 19:59 UTC (permalink / raw)
  To: hch, markh, atulm; +Cc: torvalds, linux-scsi, linux-kernel

> Any reason we can't jump straight to the v2 driver instead of fixing
> the now obsolete driver?

Atul told linux-megaraid-devel last week that there's at least one important
change to the ISR interaction with firmware that needs to be made, as well
as a broken SCSI RESERVATION_STATUS command.  He is addressing these and
will submit a 2.00.3 driver soon (I hope).

Thanks,
Matt

--
Matt Domsch
Sr. Software Engineer, Lead Engineer, Architect
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2003-02-07 13:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-06 19:20 [PATCH 2.5] fix megaraid driver compile error Mark Haverkamp
2003-02-06 19:24 ` Christoph Hellwig
2003-02-06 20:04 ` Linus Torvalds
2003-02-06 20:39   ` Mark Haverkamp
2003-02-06 21:00   ` Steven Cole
2003-02-06 21:02     ` Linus Torvalds
2003-02-06 22:12       ` Steven Cole
2003-02-06 22:26         ` Linus Torvalds
2003-02-06 23:09           ` Steven Cole
2003-02-06 21:16     ` Mark Haverkamp
2003-02-06 23:19       ` David Woodhouse
2003-02-06 23:22         ` Linus Torvalds
2003-02-07  8:45           ` John Bradford
2003-02-07 14:39           ` Alan Cox
2003-02-06 23:40   ` Philippe Gramoullé
2003-02-06 19:59 Matt_Domsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).