Re: misc device suspend/resume new model

From: Benjamin Herrenschmidt
Date: Mon May 31 2004 - 18:56:25 EST


On Tue, 2004-06-01 at 08:57, Florian Lohoff wrote:
> Hi,
> what is the preferred way of getting suspend/resume events (new model)
> with misc devices registered via misc_register.
>
> Registering a sys_driver/device/class ?

The suspend/resume events aren't propagated from the functional
interface/class (which misc is), but from the bus binding. So you
should get them from whatever bus your device is on, that is via
a pci_dev for PCI devices, etc...

Ben.


-
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/