Package: linux-2.6
Severity: normal
Tags: patch

In order to use a 2.6.16 linux kernel on our Dell PowerEdge 1600SC with
CERC ATA100/4ch raid controller I had to apply th following patch to the
legacy megaraid driver to support the device.

The new driver (megaraid_mbox) recognized the device, displayed some
info on its configuration, but did not provide the system with any
disks. I guess it does not support CERC ATA100/4ch at all.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-1-d2
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
--- linux-source-2.6.16_14/drivers/scsi/megaraid.h      2006-03-20 
06:53:29.000000000 +0100
+++ linux-source-2.6.16-1-d2_11bpo1.200605252227/drivers/scsi/megaraid.h        
2006-05-29 13:14:03.000000000 +0200
@@ -84,6 +84,8 @@
 #define LSI_SUBSYS_VID                 0x1000
 #define INTEL_SUBSYS_VID               0x8086
 
+#define PCI_SUBSYS_ID_CERC_ATA100      0x0511
+
 #define HBA_SIGNATURE                  0x3344
 #define HBA_SIGNATURE_471              0xCCCC
 #define HBA_SIGNATURE_64BIT            0x0299
--- linux-source-2.6.16_14/drivers/scsi/megaraid.c      2006-03-20 
06:53:29.000000000 +0100
+++ linux-source-2.6.16-1-d2_11bpo1.200605252227/drivers/scsi/megaraid.c        
2006-05-29 13:20:32.000000000 +0200
@@ -5042,6 +5042,8 @@
                PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
        {PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID2,
                PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+       {PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID3,
+               PCI_VENDOR_ID_DELL, PCI_SUBSYS_ID_CERC_ATA100, 0, 0, 0},
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_AMI_MEGARAID3,
                PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
        {0,}

Reply via email to