Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2008 09:43:23 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-drivers@freebsd.org
Cc:        Newsfeeds <newsfeeds@downcrunch.com>, sos@FreeBSD.org
Subject:   Re: Marvell 6145 SATA drivers for FreeBSD
Message-ID:  <200804080943.23601.jhb@freebsd.org>
In-Reply-To: <47fad89b.15bb720a.60e2.ffff8dbe@mx.google.com>
References:  <47fad89b.15bb720a.60e2.ffff8dbe@mx.google.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 07 April 2008 10:29:40 pm Newsfeeds wrote:
> Hello John,
>
> This is the "pciconf -l"'s output of My system.

So the problem is that for some reason the ata driver thinks the 6145 is a 
PATA controller rather than a SATA controller which doesn't seem right.  You 
can try this diff but it may not work:

Index: ata-chipset.c
===================================================================
RCS file: /host/cvs/usr/cvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.202.2.7
diff -u -r1.202.2.7 ata-chipset.c
--- ata-chipset.c       1 Apr 2008 15:20:49 -0000       1.202.2.7
+++ ata-chipset.c       8 Apr 2008 13:42:58 -0000
@@ -2456,7 +2456,7 @@
      { ATA_M88SX6041, 0, 4, MV60XX, ATA_SA300, "88SX6041" },
      { ATA_M88SX6081, 0, 8, MV60XX, ATA_SA300, "88SX6081" },
      { ATA_M88SX6101, 0, 1, MV61XX, ATA_UDMA6, "88SX6101" },
-     { ATA_M88SX6145, 0, 2, MV61XX, ATA_UDMA6, "88SX6145" },
+     { ATA_M88SX6145, 0, 4, MV60XX, ATA_SA300, "88SX6145" },
      { 0, 0, 0, 0, 0, 0}};

     if (!(ctlr->chip = ata_match_chip(dev, ids)))

-- 
John Baldwin



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