From owner-freebsd-drivers@FreeBSD.ORG Sat Sep 6 20:49:01 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAD53106566C for ; Sat, 6 Sep 2008 20:49:01 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 79E538FC24 for ; Sat, 6 Sep 2008 20:49:01 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7da4.q.ppp-pool.de [89.53.125.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id E855B12883F; Sat, 6 Sep 2008 22:17:51 +0200 (CEST) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 620282E90F; Sat, 6 Sep 2008 22:15:43 +0200 (CEST) Message-ID: <48C2E55F.9000901@vwsoft.com> Date: Sat, 06 Sep 2008 22:17:35 +0200 From: Volker User-Agent: Thunderbird 2.0.0.16 (X11/20080727) MIME-Version: 1.0 To: Raul References: <1220724123.6519.8.camel@ws.pinlabs.b2n.org> In-Reply-To: <1220724123.6519.8.camel@ws.pinlabs.b2n.org> X-Enigmail-Version: 0.95.1 Content-Type: multipart/mixed; boundary="------------000404090708000702080209" MailScanner-NULL-Check: 1221336956.52921@g5p/fIc43on+IpD4AdIVww X-MailScanner-ID: 620282E90F.EB919 X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-drivers@freebsd.org Subject: Re: Adaptec AAR-1225SA REV A2, Help! X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2008 20:49:02 -0000 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--