linux-mips
[Top] [All Lists]

Re: [PATCH V2 11/16] ata: Use 32-bit DMA in AHCI for Loongson-3.

To: Jeff Garzik <jeff@garzik.org>
Subject: Re: [PATCH V2 11/16] ata: Use 32-bit DMA in AHCI for Loongson-3.
From: Huacai Chen <chenhuacai@gmail.com>
Date: Tue, 19 Jun 2012 20:36:17 +0800
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, Fuxin Zhang <zhangfx@lemote.com>, Zhangjin Wu <wuzhangjin@gmail.com>, Huacai Chen <chenhc@lemote.com>, Hongliang Tao <taohl@lemote.com>, Hua Yan <yanh@lemote.com>, linux-ide@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=YAKtWQES9uG/stNzoJacSP9cxHQ8R6+satvrtVc7md4=; b=CNFHmJRMm+FTIp3HiJsZmOvW0iz9gPD7vuMirGRHJrmOGNrC7S9q8MVvVOzUsv7sp7 siirhmd6RbYlstcTdRmSCQM4Yy+9KInCnOo0jm5jK8U99R83erfrFJYaYMgW6DdtKdTB x4UFkGHsCuJjmGc0MF+6vqOH1e5L8LXzamqw9wa4du2I2DFYFEMQtS2lACe7wUEyzWh2 KKdz4xDvuy+6rmqRjGd5NbR8DrrgG374KEbapEGAVK+MNdCsCiIoQeVzajtT89EOC6q2 U9GyZ+5m3bsXccBZQa+jN/dxhkI+gOmZnl0Fh9lXfq8mQ1byWQMmpRKDEvzx9z25a1Mg NJ8Q==
In-reply-to: <4FE0717A.7070109@garzik.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1340088624-25550-1-git-send-email-chenhc@lemote.com> <1340088624-25550-12-git-send-email-chenhc@lemote.com> <4FE0717A.7070109@garzik.org>
Sender: linux-mips-bounce@linux-mips.org
OK, thanks.

On Tue, Jun 19, 2012 at 8:32 PM, Jeff Garzik <jeff@garzik.org> wrote:
> On 06/19/2012 02:50 AM, Huacai Chen wrote:
>>
>> diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
>> index ebaf67e..3e3cfd8 100644
>> --- a/drivers/ata/ahci.c
>> +++ b/drivers/ata/ahci.c
>> @@ -183,7 +183,12 @@ static const struct ata_port_info ahci_port_info[] =
>> {
>>        },
>>        [board_ahci_sb700] =    /* for SB700 and SB800 */
>>        {
>> +#ifndef CONFIG_CPU_LOONGSON3
>>                AHCI_HFLAGS     (AHCI_HFLAG_IGN_SERR_INTERNAL),
>> +#else
>> +               AHCI_HFLAGS     (AHCI_HFLAG_IGN_SERR_INTERNAL |
>> +                                               AHCI_HFLAG_32BIT_ONLY),
>> +#endif
>>                .flags          = AHCI_FLAG_COMMON,
>
>
>
> NAK -- the place to fix this up is ahci_init_one()
>

<Prev in Thread] Current Thread [Next in Thread>