[PATCH] megaraid patches

From: Matt_Domsch@Dell.com
Date: Fri May 05 2000 - 14:24:02 EST


Someone repackaged the Dell PERC2/SC firmware v3.13 on our web site. The
firmware hasn't changed. Here are patches against 2.2.15 and 2.3.99-pre6 to
fix the URL (and 2.3.99-pre6 includes detection of one more adapter).
-Matt

::::::::::::::
linux-2.2.15-megaraid-urlfix.patch
::::::::::::::
--- linux-2.2.15/drivers/scsi/megaraid.c.orig Fri May 5 14:13:17 2000
+++ linux-2.2.15/drivers/scsi/megaraid.c Fri May 5 14:15:57 2000
@@ -1677,7 +1677,7 @@
 "megaraid: to protect your data, please upgrade your firmware to version\n"
 "megaraid: 3.10 or later, available from the Dell Technical Support web\n"
 "megaraid: site at\n"
-"http://support.dell.com/us/en/filelib/download/index.asp?fileid=2489\n");
+"http://support.dell.com/us/en/filelib/download/index.asp?fileid=2940\n");
        megaraid_release (host);
 #ifdef MODULE
        continue;

::::::::::::::
linux-2.3.99-pre6-megaraid-urlfix.patch
::::::::::::::
--- linux-2.3.99-pre6/drivers/scsi/megaraid.h.orig Thu May 4 12:39:17
2000
+++ linux-2.3.99-pre6/drivers/scsi/megaraid.h Thu May 4 12:41:59 2000
@@ -109,6 +109,7 @@
 #define PCI_CONF_IRQ_OFFSET 0x3c
 #define PCI_CONF_AMISIG 0xa0
 #define AMI_SIGNATURE 0x3344
+#define AMI_SIGNATURE_471 0xCCCC
 
 #if LINUX_VERSION_CODE < 0x20100
 #define MEGARAID \
--- linux-2.3.99-pre6/drivers/scsi/megaraid.c.orig Thu May 4 12:39:13
2000
+++ linux-2.3.99-pre6/drivers/scsi/megaraid.c Fri May 5 14:17:33 2000
@@ -1481,7 +1481,7 @@
     if ((flag & BOARD_QUARTZ) && (skip_id == -1)) {
       u16 magic;
       pci_read_config_word(pdev, PCI_CONF_AMISIG, &magic);
- if (magic != AMI_SIGNATURE)
+ if ((magic != AMI_SIGNATURE) && (magic != AMI_SIGNATURE_471))
        continue; /* not an AMI board */
     }
     printk (KERN_INFO "megaraid: found 0x%4.04x:0x%4.04x: in %s\n",
@@ -1589,7 +1589,7 @@
 "megaraid: to protect your data, please upgrade your firmware to version\n"
 "megaraid: 3.10 or later, available from the Dell Technical Support web\n"
 "megaraid: site at\n"
-"http://support.dell.com/us/en/filelib/download/index.asp?fileid=2489\n");
+"http://support.dell.com/us/en/filelib/download/index.asp?fileid=2940\n");
        megaraid_release (host);
 #ifdef MODULE
        continue;

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



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:18 EST