Subject: DELL PERC 4/Di
To: None <current-users@NetBSD.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 09/30/2003 18:15:46
Hi!

I saw there's some of support for this RAID controller in -current. 
However, the product id is different than what I have (0x000e) so
my controller is not detected.

I tried to patch the source code with the following patch. The
installation kernel detects now the controller but panics saying 
something about unsupported card (I can't remember the exact message
as all my notes are at work).

I have tried "AT_QUARTZ" and "AT_QUARTZ | AT_SIG" but the both fail.
Any ideas?

Martti


--- amr.c       2003-09-30 21:28:27.000000000 +0000
+++ amr.c      2003-09-30 21:09:49.000000000 +0000
@@ -133,7 +133,8 @@
         { PCI_VENDOR_AMI,   PCI_PRODUCT_AMI_MEGARAID2, 0 },
         { PCI_VENDOR_AMI,   PCI_PRODUCT_AMI_MEGARAID3, AT_QUARTZ },
         { PCI_VENDOR_INTEL, PCI_PRODUCT_AMI_MEGARAID3, AT_QUARTZ | 
AT_SIG },
-       { PCI_VENDOR_DELL,  PCI_PRODUCT_DELL_PERC_4DI, AT_QUARTZ },
+       { PCI_VENDOR_DELL,  PCI_PRODUCT_DELL_PERC_4DI, AT_SIG },
+       { PCI_VENDOR_DELL,  PCI_PRODUCT_DELL_PERC_4DI_2, AT_QUARTZ },
  };

--- pcidevs     2003-09-30 21:28:41.000000000 +0000
+++ pcidevs    2003-09-30 18:12:56.000000000 +0000
@@ -1244,7 +1244,8 @@
  product DELL PERC_3SI_2                0x0004  PERC 3/Si
  product DELL PERC_3DI_2                0x0008  PERC 3/Di
  product DELL PERC_3DI_3                0x000a  PERC 3/Di
-product DELL PERC_4DI          0x000f  PERC 4/Di
+product DELL PERC_4DI          0x000e  PERC 4/Di
+product DELL PERC_4DI_2                0x000f  PERC 4/Di
  product DELL PERC_3DI_2_SUB    0x00cf  PERC 3/Di
  product DELL PERC_3SI_2_SUB    0x00d0  PERC 3/Si
  product DELL PERC_3DI_SUB2     0x00d1  PERC 3/Di