search for: slot_poweredon

Displaying 1 result from an estimated 1 matches for "slot_poweredon".

2011 Feb 28
12
[RFC PATCH] set current_state to D0 in register_slot
...o the commit message that introduced the comment above (10b3dcae0f275e2546e55303d64ddbb58cec7599), it is up to the hotplug driver to set the state to D0. However AFAICT the pci hotplug driver never does, in fact drivers/pci/hotplug/acpiphp_glue.c:register_slot sets the slot flags to (SLOT_ENABLED | SLOT_POWEREDON) but it does not set the pci device current state to PCI_D0. So my proposed fix is also to set current_state = PCI_D0 in register_slot. Comments are very welcome. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/dr...