freebsd-dev/sys/i386/apm
n_hibma 5447bd3579 Correctly handle suspend and resume in APM.
Up to now, errors from DEVICE_SUSPEND(root_bus) were ignored. The fix for
this problem (the introduction of defaults for device methods) has been
committed months ago by Doug Rabson.

Second, the suspended devices were not always properly resumed on error.

Third, swapped the order for calling restore hooks and restore methods, to
be in line with the cases above.

Reviewed by:	Doug Rabson
Approved by:	jhk
2000-02-06 14:57:05 +00:00
..
apm.c Correctly handle suspend and resume in APM. 2000-02-06 14:57:05 +00:00
apm.h Prepare for the apm_saver screen saver module. 1999-10-02 03:34:15 +00:00