Re: [PATCH] pci device wakeup flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-10-28 at 07:31 -0700, Linus Torvalds wrote:
> 
> On Fri, 28 Oct 2005, Andrew Morton wrote:
> > 
> > This is the patch which I've been religiously dropping from -mm because it
> > kills my Mac G5.  What are we doing merging this?
> 
> Well, since my main machine is a Mac G5, we certainly /aren't/ merging it 
> if it kills it.

Yah, that's a known one, the problem is due to the removal of
device_initialize() from pci_device_add(). The breaks the new mecanism
on ppc64 that creates the PCI tree from the firmware instead of probing
the bus. In addition, even with that fixed, the code looking for PME#
will not be run on the pmac neither.

I'm not 100% what is the best fix at this point. I suppose it would be 2
things, let me know what you think about it:

 - Have the ppc64 PCI tree code call device_initialize() itself before
calling pci_device_add()

 - Move the search of PME# (and possibly other similar bits) from probe
to pci_device_add()

 Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux