Save and restore state for suspend/resume.
Save and restore state for suspend/resume.

PR:		kern/28692
Obtained from:	SAKIYAMA Nobuo <sakichan@sakichan.org>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase