Re: [PATCH] sata_nv: add suspend/resume support v3 (Resubmit)

From: Jeff Garzik
Date: Tue Jan 09 2007 - 05:42:31 EST


Robert Hancock wrote:
Thoughts from Jeff & company on merging the patch below into libata-dev? This has been in the -mm tree for over a month now, I haven't heard any complaints about regressions..

---

From: Robert Hancock <hancockr@xxxxxxx>

This patch adds the necessary callbacks to support suspend/resume properly
in sata_nv. Most of the controllers don't need any specific handling but
CK804/MCP04 controllers, whether ADMA is enabled or not, need some
additional setup on resume.

As well as the additional storage of the controller type needed for proper
resume handling, this also removes the inline helper functions for getting
ADMA register locations by storing the pointers so we don't have to keep
calculating them all the time.

Signed-off-by: Robert Hancock <hancockr@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>

applied


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