[PATCH 1/1] megaraid_legacy: kobject_register failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Attached patch fixes problem that cause kobject_register failure during
loading.
Kobject_register would fail when there are more than 1 module with same
module name.
This patch will change module name of megaraid_legacy from 'megaraid' to
'megaraid_legacy'.

Thank you,

Signed-Off-by: Seokmann Ju <seokmann.ju@xxxxxxxx>
---
diff -Naur old/drivers/scsi/megaraid.c new/drivers/scsi/megaraid.c
--- old/drivers/scsi/megaraid.c	2006-02-09 14:08:28.000000000 -0500
+++ new/drivers/scsi/megaraid.c	2006-02-09 14:10:10.000000000 -0500
@@ -5049,7 +5049,7 @@
 MODULE_DEVICE_TABLE(pci, megaraid_pci_tbl);
 
 static struct pci_driver megaraid_pci_driver = {
-	.name		= "megaraid",
+	.name		= "megaraid_legacy",
 	.id_table	= megaraid_pci_tbl,
 	.probe		= megaraid_probe_one,
 	.remove		= __devexit_p(megaraid_remove_one),
diff -Naur old/drivers/scsi/megaraid.h new/drivers/scsi/megaraid.h
--- old/drivers/scsi/megaraid.h	2006-02-09 14:08:28.000000000 -0500
+++ new/drivers/scsi/megaraid.h	2006-02-09 14:09:34.000000000 -0500
@@ -5,7 +5,7 @@
 #include <linux/mutex.h>
 
 #define MEGARAID_VERSION	\
-	"v2.00.3 (Release Date: Wed Feb 19 08:51:30 EST 2003)\n"
+	"v2.00.4 (Release Date: Thu Feb 9 08:51:30 EST 2006)\n"
 
 /*
  * Driver features - change the values to enable or disable features in
the
---

Attachment: megaraid_legacy.patch
Description: megaraid_legacy.patch


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux