Re: [PATCH] pci device wakeup flags
From: Greg KH
Date: Fri Oct 28 2005 - 10:51:25 EST
On Fri, Oct 28, 2005 at 03:51:16AM -0700, Andrew Morton wrote:
> Greg KH <gregkh@xxxxxxx> wrote:
> >
> > [PATCH] pci device wakeup flags
> >
> > This patch teaches "pci_dev" about the new driver model wakeup support:
> >
> > - It marks devices as supporting wakeup when "can issue PME#" is
> > listed in its PCI PM capability.
> >
> > - pci_enable_wake() refuses to enable wake if that's been disabled
> > (e.g. through sysfs).
> >
> > NOTE that a recent patch changed PCI probing, and this reverts part
> > of that change ... so that driver model initialization is again done
> > before the PCI setup.
> >
> > (One issue is that the driver model "init + add == register" pattern isn't
> > being used inside PCI ... and that probe change worsened the problem by
> > making "add" do some "init" too. Maybe PCI should match the driver model
> > more closely, and just grow a new "pci_dev_init" function.)
>
> This is the patch which I've been religiously dropping from -mm because it
> kills my Mac G5. What are we doing merging this?
Crap, sorry about that. I've deleted my tree and will rebuild it. I
thought that it was one of the usb patches in my tree that was causing
you problems. I'll not include this one until we get to the bottom of
it (and with David gone, that might take a while.)
Again, very sorry about this.
Oh, and I'll also drop the one from Randy with the gfp flags, and
properly attribute Russell's patch.
thanks,
greg k-h
-
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/