Re: 2.4.23-pre7 build problems

From: Matt Domsch
Date: Sat Oct 11 2003 - 10:17:38 EST


> I have the fix for the nsp driver but not for the megaraid2.

ftp://ftp.lsil.com/pub/linux-megaraid/drivers/version-2.00.9/megaraid-2009-wo-hostlock.patch.gz
ftp://ftp.lsil.com/pub/linux-megaraid/drivers/version-2.00.9/megaraid-2009-wo-hostlock.patch.gz.sig

and appended. Done by Atul Mukker @ LSIL.

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

diff -Naur linux/drivers/scsi/megaraid2.c linux/drivers/scsi/megaraid2.c
--- linux/drivers/scsi/megaraid2.c 2003-09-09 15:31:43.000000000 -0400
+++ linux/drivers/scsi/megaraid2.c 2003-09-09 15:32:03.000000000 -0400
@@ -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;

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