lkml.org 
[lkml]   [2005]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] pci device wakeup flags
From
Date
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-29 01:06    [W:0.069 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site