On Thu, 2006-11-23 at 22:39 -0500, Len Brown wrote: > > Index: linux-2.6.18-rc7/drivers/acpi/scan.c > > =================================================================== > > --- linux-2.6.18-rc7.orig/drivers/acpi/scan.c 2006-09-19 19:55:25.000000000 +0800 > > +++ linux-2.6.18-rc7/drivers/acpi/scan.c 2006-09-19 19:55:52.000000000 +0800 > > @@ -865,12 +865,13 @@ static int acpi_bus_remove(struct acpi_d > > > > if (!rmdevice) > > return 0; > > - > > + /* FIXME: device_release_driver will automically call unbind, is this ok */ > > +#if 0 > > if (dev->flags.bus_address) { > > if ((dev->parent) && (dev->parent->ops.unbind)) > > dev->parent->ops.unbind(dev); > > } > > - > > +#endif > > eh? Code here should never be executed. all the acpi-pci bridges(except root bridge) are managed by this acpi- pci bridge driver . The bind and unbind methods are called automatically in the .add/.remove method now. > - > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html