Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Sep 2008 22:17:35 +0200
From:      Volker <volker@vwsoft.com>
To:        Raul <raul@b2n.org>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: Adaptec AAR-1225SA REV A2, Help!
Message-ID:  <48C2E55F.9000901@vwsoft.com>
In-Reply-To: <1220724123.6519.8.camel@ws.pinlabs.b2n.org>
References:  <1220724123.6519.8.camel@ws.pinlabs.b2n.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------000404090708000702080209
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 09/06/08 20:02, Raul wrote:
> Hello driver gurus!
> 
>  I have read somewhere that the adaptec AAR-1225SA is based on SiI3132
> and the ata man page says that this chip is supported so I have bought
> one of them today.
> 
> The chip in fact says:
> 
> Silicon Image TM
> SII3132CNU
> QM2517.1-1
> AD02CX2
> 
> but sadly, my RELENG_7 (amd64, compiled yesterday) pciconf reports:
> 
> none0@pci0:7:0:0:       class=0x010401 card=0x02449005 chip=0x02441095
> rev=0x01 hdr=0x00
>     vendor     = 'Silicon Image Inc (Was: CMD Technology Inc)'
>     class      = mass storage
>     subclass   = RAID
> 
> May I do something to get this controller working?
> 
> Thanks a lot in advance,
> Raul.
> 

Raul,

the ata driver does not know anything about the device ID.

Try the attached patches and rebuild kernel.

Volker

--------------000404090708000702080209
Content-Type: text/x-patch;
 name="ata-chipset.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="ata-chipset.diff"

--- sys/dev/ata/ata-chipset.c.orig	2008-09-06 22:12:23.000000000 +0200
+++ sys/dev/ata/ata-chipset.c	2008-09-06 22:13:07.000000000 +0200
@@ -4458,6 +4458,7 @@
      { ATA_SII3112_1, 0x00, SIIMEMIO, SIIBUG,    ATA_SA150, "SiI 3112" },
      { ATA_SII3124,   0x00, SIIPRBIO, SII4CH,    ATA_SA300, "SiI 3124" },
      { ATA_SII3132,   0x00, SIIPRBIO, 0,         ATA_SA300, "SiI 3132" },
+     { ATA_SII3132_1, 0x00, SIIPRBIO, 0,         ATA_SA300, "SiI 3132" },
      { ATA_SII0680,   0x00, SIIMEMIO, SIISETCLK, ATA_UDMA6, "SiI 0680" },
      { ATA_CMD649,    0x00, 0,        SIIINTR,   ATA_UDMA5, "CMD 649" },
      { ATA_CMD648,    0x00, 0,        SIIINTR,   ATA_UDMA4, "CMD 648" },

--------------000404090708000702080209
Content-Type: text/x-patch;
 name="ata-pci.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="ata-pci.diff"

--- sys/dev/ata/ata-pci.h.orig	2008-09-06 22:09:23.000000000 +0200
+++ sys/dev/ata/ata-pci.h	2008-09-06 22:12:10.000000000 +0200
@@ -304,6 +304,7 @@
 #define ATA_SII3112_1           0x02401095
 #define ATA_SII3124		0x31241095
 #define ATA_SII3132		0x31321095
+#define ATA_SII3132_1           0x02441095
 #define ATA_SII0680             0x06801095
 #define ATA_CMD646              0x06461095
 #define ATA_CMD648              0x06481095

--------------000404090708000702080209--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48C2E55F.9000901>