Re: [Pcihpd-discuss] [PATCH 2/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kristen Carlson Accardi
Date: Wednesday, October 17, 2007 - 4:54 pm

On Tue, 16 Oct 2007 21:54:42 -0400
Mark Lord <lkml@rtr.ca> wrote:


I think it would be ok to try allowing the slot to be enabled when not
using pciehp_force mode.  We can wrap it later if it proves to break 
things, however, see my comment below:


Here it seems like what you want to do just go ahead and try to call
pciehp_enable_slot always, but check the return value.  If an adapter is
not present, it will return -ENODEV, and then you can check to see if
you have the ability to power off the slot, and try to power it off.
Please fix CodingStyle issues too.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 8:46 am)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 11:43 am)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 12:51 pm)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 1:07 pm)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 1:29 pm)
Re: PCIe Hotplug: NFG unless I boot with card already ins ..., Kristen Carlson Accardi, (Tue Oct 16, 2:01 pm)
Re: [PATCH] Fix PCIe hotplug for Dell notebook ExpressCard ..., Kristen Carlson Accardi, (Tue Oct 16, 3:04 pm)
Re: [Pcihpd-discuss] [PATCH] Fix PCIe hotplug for Dell not ..., Kristen Carlson Accardi, (Tue Oct 16, 3:41 pm)
Re: [Pcihpd-discuss] [PATCH 2/4] Fix PCIe hotplug for non- ..., Kristen Carlson Accardi, (Wed Oct 17, 4:54 pm)
Re: [PATCH 4/4] Fix PCIe hotplug for non-ACPI ExpressCard ..., Kristen Carlson Accardi, (Wed Oct 17, 5:01 pm)