All of lore.kernel.org
 help / color / mirror / Atom feed
* differences in megaraid2 v2.00.9 source from LSIL FTP and 2.4.24 tree
@ 2004-01-13 11:59 Philippe Gramoullé
  2004-11-03 13:47 ` Matt Domsch
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Gramoullé @ 2004-01-13 11:59 UTC (permalink / raw)
  To: linux-scsi


 Hi,

I just compared the original source code from ftp.lsil.com and 2.4.24.
v2.00.9 megaraid driver and i'd like to know what are the differences and which one i should use.

I assume that the one in the 2.4.24 is the one to be used but i just wanted to be sure.

Thanks,

Philippe
Lycos Europe


~/2.4.24-filer/megaraid$ diff -Nu megaraid2.c ../linux-2.4.24/drivers/scsi/megaraid2.c 
--- megaraid2.c 2003-09-09 21:24:36.000000000 +0200
+++ ../linux-2.4.24/drivers/scsi/megaraid2.c    2003-11-28 19:26:20.000000000 +0100
@@ -398,9 +398,7 @@
                // replace adapter->lock with io_request_lock for kernels w/o
                // per host lock and delete the line which tries to initialize
                // the lock in host structure.
-               adapter->host_lock = &adapter->lock;
-
-               host->lock = adapter->host_lock;
+               adapter->host_lock = &io_request_lock;
 
                host->cmd_per_lun = max_cmd_per_lun;
                host->max_sectors = max_sectors_per_io;
@@ -2402,7 +2400,7 @@
        *len = (u32)cmd->request_bufflen;
 
        if( scb->dma_direction == PCI_DMA_TODEVICE ) {
-               pci_dma_sync_sg(adapter->host->pci_dev, sgl, cmd->use_sg,
+               pci_dma_sync_sg(adapter->host->pci_dev, cmd->request_buffer, cmd->use_sg,
                                PCI_DMA_TODEVICE);
        }

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

end of thread, other threads:[~2004-11-03 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20040113101507.6cad6e13@philou.gramoulle.local>
2004-01-13 13:25 ` differences in megaraid2 v2.00.9 source from LSIL FTP and 2.4.24 tree Xose Vazquez Perez
2004-01-13 11:59 Philippe Gramoullé
2004-11-03 13:47 ` Matt Domsch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.