On Mon, Apr 25, 2011 at 9:14 PM, Roman Mamedov <r...@romanrm.ru> wrote:
> On Mon, 25 Apr 2011 11:23:40 +0800
> wu zhangjin <wuzhang...@gmail.com> wrote:
>
>> To RM: for the DMA problem, does libata.force=1:pio4 make the IDE work
>> in pio mode?
>
> Sorry I did not get to try that :)
> Because this patch fixed the problem and it now works with DMA too.

Ok, If DMA works, why we need the slow pio mode ;-)

Will apply the patch from xiangyu asap.

Thanks & Regards,
Wu Zhangjin

>
> On Mon, 25 Apr 2011 16:56:58 +0800
> 项宇 <xia...@lemote.com> wrote:
>
>> --- a/arch/mips/loongson/common/pci.c
>> +++ b/arch/mips/loongson/common/pci.c
>> @@ -54,7 +54,7 @@ static void __init setup_pcimap(void)
>>           */
>>          LOONGSON_PCIBASE0 = 0x80000000ul;   /* base: 2G -> mmap: 0M */
>>          /* size: 256M, burst transmission, pre-fetch enable, 64bit */
>> *-       LOONGSON_PCI_HIT0_SEL_L = 0xc000000cul;
>> +      LOONGSON_PCI_HIT0_SEL_L = 0x8000000cul;*
>>          LOONGSON_PCI_HIT0_SEL_H = 0xfffffffful;
>>          LOONGSON_PCI_HIT1_SEL_L = 0x00000006ul; /* set this BAR as
>> invalid */
>>          LOONGSON_PCI_HIT1_SEL_H = 0x00000000ul;
>
> --
> With respect,
> Roman
>

-- 
You received this message because you are subscribed to the Google Groups 
"loongson-dev" group.
To post to this group, send email to loongson-dev@googlegroups.com.
To unsubscribe from this group, send email to 
loongson-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/loongson-dev?hl=en.

Reply via email to