public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* misc device suspend/resume new model
@ 2004-05-31 22:57 Florian Lohoff
  2004-05-31 23:52 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Lohoff @ 2004-05-31 22:57 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]


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 ?

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-171-2280134
                        Heisenberg may have been here.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: misc device suspend/resume new model
  2004-05-31 22:57 misc device suspend/resume new model Florian Lohoff
@ 2004-05-31 23:52 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2004-05-31 23:52 UTC (permalink / raw)
  To: Florian Lohoff; +Cc: Linux Kernel list

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-31 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-31 22:57 misc device suspend/resume new model Florian Lohoff
2004-05-31 23:52 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox