[PATCH] make 2.6 megaraid recognize intel vendor id

From: Jason Holmes
Date: Thu Nov 13 2003 - 12:15:37 EST


Hi,

The 2.4 megaraid driver recognizes the Intel PCI vendor id whereas the
2.6 driver does not. The attached patch against 2.6.0-test9 adds the
missing two lines from the 2.4 driver to enable this.

Thanks,

--
Jason Holmesdiff -uNr linux-2.6.0-test9.clean/drivers/scsi/megaraid.c linux-2.6.0-test9/drivers/scsi/megaraid.c
--- linux-2.6.0-test9.clean/drivers/scsi/megaraid.c Sat Oct 25 14:42:42 2003
+++ linux-2.6.0-test9/drivers/scsi/megaraid.c Thu Nov 13 06:58:04 2003
@@ -295,6 +295,7 @@
if( subsysvid && (subsysvid != AMI_SUBSYS_VID) &&
(subsysvid != DELL_SUBSYS_VID) &&
(subsysvid != HP_SUBSYS_VID) &&
+ (subsysvid != INTEL_SUBSYS_VID) &&
(subsysvid != LSI_SUBSYS_VID) ) continue;


diff -uNr linux-2.6.0-test9.clean/drivers/scsi/megaraid.h linux-2.6.0-test9/drivers/scsi/megaraid.h
--- linux-2.6.0-test9.clean/drivers/scsi/megaraid.h Sat Oct 25 14:43:42 2003
+++ linux-2.6.0-test9/drivers/scsi/megaraid.h Thu Nov 13 06:56:20 2003
@@ -82,6 +82,7 @@
#define DELL_SUBSYS_VID 0x1028
#define HP_SUBSYS_VID 0x103C
#define LSI_SUBSYS_VID 0x1000
+#define INTEL_SUBSYS_VID 0x8086

#define HBA_SIGNATURE 0x3344
#define HBA_SIGNATURE_471 0xCCCC