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. 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
signature.asc
Description: PGP signature