From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 05:56:19 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9600F16A420 for ; Tue, 6 Nov 2007 05:56:19 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by mx1.freebsd.org (Postfix) with ESMTP id BAA2013C4A7 for ; Tue, 6 Nov 2007 05:56:18 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:62172 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S739019AbXKFFzy (ORCPT ); Tue, 6 Nov 2007 08:55:54 +0300 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: bu7cher Message-ID: <473001E7.2090201@yandex.ru> Date: Tue, 06 Nov 2007 08:55:51 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: d@delphij.net References: <472D56A1.7070206@gmail.com> <200711041119.45971.jrh29@alumni.cwru.edu> <472DD231.9030501@gmail.com> <472E67CC.9040201@delphij.net> <472E4FF0.3080801@gmail.com> <472EB211.7050001@delphij.net> <472EEADF.1000008@gmail.com> <472F466E.8050405@delphij.net> <472F5846.1020304@gmail.com> <472F5D9A.9050900@delphij.net> <472FCC15.9040903@gmail.com> <472FD0FB.9090608@delphij.net> In-Reply-To: <472FD0FB.9090608@delphij.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, "Aryeh M. Friedman" , Justin Hibbits Subject: Re: [ANNOUNCEMENT] Wiki for discussing P35/IHC9(R)/SATA issues set up X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 05:56:19 -0000 Xin LI wrote: > Thanks for the information, I'd appreciate if you would help me to test > the attached patch against RELENG_7 (should apply to HEAD as well). Hi, Xin. This patch is not correct for me. I think we need implement a full support for several new Marvell chips: #define ATA_M88SE6101 0x610111ab /* ThorLite 1P */ #define ATA_M88SE6111 0x611111ab /* ThorLite 1S/1P */ #define ATA_M88SE6121 0x612111ab /* ThorLite 2S/1P */ #define ATA_M88SE6122 0x612211ab /* ThorLite 2S/1P w/ flash */ #define ATA_M88SE6141 0x614111ab /* Thor 4S/1P */ #define ATA_M88SE6145 0x614511ab /* Thor 4S/1P */ There is a linux driver from ASUS: ftp://dlsvr01.asus.com/pub/ASUS/mb/socket775/P5E_WS_Professional/LinuxDrivers.zip These controllers have one PATA port and may have several SATA ports. As i understand from the sources controller is mostly AHCI-like. It use AHCI registers, but not fully AHCI. Also driver need some hacks if we want to have both SATA and PATA support, because current our ata driver uses methods from the parent atapci driver for each channel, but we need different methods for SATA and PATA. I think the right way - try to fix ICH9 part of this problem and wait until we will have a full support for the Marvell chips. -- WBR, Andrey V. Elsukov