lkml.org 
[lkml]   [2005]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ISA DMA controller hangs
FromAlan Cox <>
DateThu, 30 Jun 2005 12:28:48 +0100
On Iau, 2005-06-30 at 09:00, Pierre Ossman wrote:
> + for (i = 0;i < 8;i++) {
> + set_dma_addr(i, 0x000000);
> + /* DMA count is a bit wierd so this is not 0 */
> + set_dma_count(i, 1);

It is spelt "weird"

Looks basically OK although it would be good to document the situation
for a bus mastering DMA controller. Does the device have to reconfigure
the DMA on a resume or is that something the restore code for the device
should handle ?

My own feeling is tha we should dump that on the device (safer) and also
expect the device to prevent suspends during an active DMA transfer (eg
floppy)

Alan

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

\
 
 \ /
  Last update: 2005-06-30 13:35    [from the cache]
©2003-2010