On Wed, 27 Aug 2008, Garrett D'Amore wrote:
> 4. Support for DDI_SUSPEND and DDI_RESUME. Device drivers must properly
> support DDI_SUSPEND and DDI_RESUME, including dealing with a potential
> loss of power in between. Note that system firmware may not execute
> on resume, so adherence to #3 above will help greatly. Pseudo-drivers
> generally don't have to worry about this, and certain kinds of hardware
> drivers may be able to rely on their bus parents to properly shutdown
> the device.
>
>
> 17. Proper support for hotplug where applicable. A driver for a removable
> system peripheral must support hot insertion and removal. Via
> attach(9e) and detach(9e). Note that PCI and PCI express busses are
> hotpluggable on some platforms.
>
Not certain where this should be added, but it should be noted that
the "hotplugging" can occur while suspended, and drivers that have
notion of this (as a good example, USB devices), should be able to
handle the removal or insertion while suspended on resume. It might,
though, make sense to have this blocked so that there is a section for
suspend/resume and/or power management (could also apply to other
driver classes).
---- Randy
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss