On Fri, Dec 19, 2008 at 02:34:13PM +0800, Zhang Rui wrote: > + /* parallel resume for pci devices on bus 0 */ > + if (dev->bus->number == 0) > + device_parallel_resume_register(&dev->dev, 1); "bus 0" is presumably supposed to mean "devices on a root bus". I think you should be checking for dev->bus->parent == NULL instead. -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html