]> git.hungrycats.org Git - linux/commitdiff
[PATCH] make 2.6 megaraid recognize intel vendor id
authorJason Holmes <jholmes@psu.edu>
Thu, 13 Nov 2003 09:02:48 +0000 (01:02 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 13 Nov 2003 09:02:48 +0000 (01:02 -0800)
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.

drivers/scsi/megaraid.c
drivers/scsi/megaraid.h

index 033a89721d0bd6b7be5bf9af466f14ec2688a281..316f13bbdcb4d3e83dc5f168b68c314ca8f352b4 100644 (file)
@@ -295,6 +295,7 @@ mega_find_card(Scsi_Host_Template *host_template, u16 pci_vendor,
                if( subsysvid && (subsysvid != AMI_SUBSYS_VID) &&
                                (subsysvid != DELL_SUBSYS_VID) &&
                                (subsysvid != HP_SUBSYS_VID) &&
+                               (subsysvid != INTEL_SUBSYS_VID) &&
                                (subsysvid != LSI_SUBSYS_VID) ) continue;
 
 
index 588220bda75d4a38dbc35f0e2d0d7f1a08d9471e..3c1b6f7776f2478bfe33d8a2332c64ec75530108 100644 (file)
@@ -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