Re: set power state of firewire host during suspend

From: Pavel Machek
Date: Tue Sep 05 2006 - 07:03:13 EST


Hi!

> Pavel Machek wrote:
> > --- a/drivers/ieee1394/ohci1394.c
> > +++ b/drivers/ieee1394/ohci1394.c
> > @@ -3565,6 +3565,7 @@ static int ohci1394_pci_suspend (struct
> > }
> > #endif
> >
> > + pci_set_power_state(pdev, pci_choose_state(pdev, state));
> > return 0;
> > }
> >
> >
>
> Does this work on PPC_PMAC? Note the platform code before #endif.
> http://www.linux-m32r.org/lxr/http/source/drivers/ieee1394/ohci1394.c?v=2.6.18-rc5-mm1#L3554


No idea, I know very little about PMACs. They still have PCI, right?
Why does it need hooks into drivers like this?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/