Messages in this thread Patches in this message | | | Subject | [PATCH][BUGFIX] : Megaraid patch for 2.6 1/5 | From | Paul Wagland <> | Date | Fri, 20 Feb 2004 03:05:39 +0100 |
| |
Hi all,
On Linux-SCSI over the last few days I have been discussing a couple of problems with the 2.6.2 megaraid driver. This patch, originally submitted by Christoph Hellwig, fixes the problem where the megaraid driver could be removed, even though it was in use.
patch is attached and below.
diff --recursive --ignore-all-space --unified linux-2.6.2.o/drivers/scsi/megaraid.c linux-2.6.2.megaraid/drivers/scsi/megaraid.c --- linux-2.6.2.o/drivers/scsi/megaraid.c 2004-02-09 22:56:09.000000000 +0100 +++ linux-2.6.2.megaraid/drivers/scsi/megaraid.c 2004-02-20 01:32:21.000000000 +0100 @@ -4614,6 +4614,7 @@ } static struct scsi_host_template megaraid_template = { + .module = THIS_MODULE, .name = "MegaRAID", .proc_name = "megaraid", .info = megaraid_info, diff --recursive --ignore-all-space --unified linux-2.6.2.o/drivers/scsi/megaraid.c linux-2.6.2.megaraid/drivers/scsi/megaraid.c --- linux-2.6.2.o/drivers/scsi/megaraid.c 2004-02-09 22:56:09.000000000 +0100 +++ linux-2.6.2.megaraid/drivers/scsi/megaraid.c 2004-02-20 01:32:21.000000000 +0100 @@ -4614,6 +4614,7 @@ } static struct scsi_host_template megaraid_template = { + .module = THIS_MODULE, .name = "MegaRAID", .proc_name = "megaraid", .info = megaraid_info, | |