[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060905110347.GA2052@elf.ucw.cz>
Date: Tue, 5 Sep 2006 13:03:48 +0200
From: Pavel Machek <pavel@....cz>
To: Stefan Richter <stefanr@...6.in-berlin.de>
Cc: bcollins@...ian.org, scjody@...ernduck.com,
linux1394-devel@...ts.sourceforge.net,
kernel list <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>
Subject: Re: set power state of firewire host during suspend
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists