On Sun, Oct 08, 2006 at 04:16:58PM -0700, Matt Taggart wrote:
> No I mean the message from Yanko Kaneti <[EMAIL PROTECTED]> which says,
...

Yanko-san didn't have his facts quite right though I agree his
conclusion is correct:

linux-2.6.18/include/linux/pci_ids.h says:
#define PCI_DEVICE_ID_LSI_53C1510       0x000a
#define PCI_DEVICE_ID_NCR_53C1510       0x0010


>  I have with me a Compaq dl380 with the same lspci output and sym2 from
>  the latest kernel tree still claims the raid. I believe the tweak for
>  PCI_DEVICE_ID_LSI_53C1510 in sym_glue.c should also be applied to
>  PCI_DEVICE_ID_NCR_53C1510 to fix this for good."

I didn't know Compaq used two different 53[cC]510 parts.
Patch below adds the same tweak to the 0x0010 device ID.

James or willy, this look good to you?

thanks,
grant

diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c 
b/drivers/scsi/sym53c8xx_2/sym_glue.c
index 52abce4..defca91 100644
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.c
@@ -2093,7 +2093,7 @@ static struct pci_device_id sym2_id_tabl
        { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_NCR_53C875,
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
        { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_NCR_53C1510,
-         PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, /* new */
+         PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_STORAGE_SCSI<<8,  0xffff00, 0UL },
        { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_53C895A,
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
        { PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_53C875A,


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to