Re: ISA DMA controller hangs

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

 



On Thu, Jun 16, 2005 at 05:53:47PM +0200, Pierre Ossman wrote:
> So how do we solve this problem? We should do a master clear and then
> enable channel 4 after a suspend. The question is where. I see three
> possible places:
> 
> * In the suspend code in kernel/power.
> * In the driver actually handling the suspend (ACPI/APM/etc.).
> * Via the device layer by adding a device for the DMA controller.
> 
> Which would be the preferred solution?

Shouldn't there be a system device for the DMA controller?  I think
that should have appropriate hooks into the power management system
to do the necessary magic to restore whatever's needed - just like
we do for the PIC.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
-
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