tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmf(9) and Xen domU suspending?



Iain Hibbert wrote:
On Sat, 29 Mar 2008, Jared D. McNeill wrote:

Take a look at any device driver -- sys/dev/pci/esa.c is a typical example.

Hi Jared; the manpage is not quite clear on some points, can you clarify?

- is pmf_device_deregister() required on device_detach? (esa does not..)

That's a bug in esa :)

- what is the significance of the bool return value for suspend/resume?

To indicate that the device was successfully suspended or resumed.

- is the PMF_FN_ARGS and PFM_FN_PROTO required?

I believe so, dyoung could better answer this one though.

Cheers,
Jared


Home | Main Index | Thread Index | Old Index