Re: ISA DMA controller hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sad, 2005-05-28 at 14:38, Pierre Ossman wrote:
> I've been having some problems with ISA DMA transfers failing. They work
> fine until the machine does a suspend-to-ram. After that all DMA
> transfers stall. Does perhaps the DMA controller need a kick in the ***
> after a suspend? I'm no expert on the ISA DMA controller so I could use
> some help here.

The DMA controller has some bits of state which are potentially in need
of restoration as well as a need to ensure you don't suspend while it is
running I would imagine. Even for bus masters I believe you would need
to restore the DMA enable bits.

See include/asm-i386/dma.h but note that some registers have side
effects and the dma_outb etc are used to get required delays on some PCs

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux