powerpc/qe: Implement qe_alive_during_sleep() helper function
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 27 Aug 2009 07:35:50 +0000 (07:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2009 04:51:33 +0000 (21:51 -0700)
In some CPUs (i.e. MPC8569) QE shuts down completely during sleep,
drivers may want to know that to reinitialize registers and buffer
descriptors.

This patch implements qe_alive_during_sleep() helper function, so far
it just checks if MPC8569-compatible power management controller is
present, which is a sign that QE turns off during sleep.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found