Docking station, bay, battery hotplug follows the same principle. we currently have a lot of duplicate code for each of the hotplug (we currently don't support battery hotplug yet). The patch series try to make ACPI dock driver support all above hotplug. This simplified things and removed a lot of code. The patches haven't too much changes against my last attempt, just add one patch (patch 2) and refreshed them against Andi's ACPI latest test tree. patch 1, 2: fix a bug. the patch isn't related with follow patches patch 3: add _LCK method support patch 4, 5, 6: merge bay driver into dock driver. dock driver can handle battery and bay. patch 7, 8: make libata work well with dock driver patch 9: cleanup patch 10: fix for eject bay in a dock station. Tested by Holger. patch 11: added a type for dock, like battery, docking station and ata_bay as Holger suggested. I tested in a T61 with bay and battery hotplug, please review. I had a lot of discussion with Holger and a lot of issues are fixed. hopes this series can be merged. Thanks, Shaohua -- 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