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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Lord <lkml@...>
Cc: Linux Kernel <linux-kernel@...>, Greg KH <greg@...>, Andrew Morton <akpm@...>, Theodore Tso <tytso@...>, <pcihpd-discuss@...>
Date: Wednesday, October 17, 2007 - 7: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 inser..., Kristen Carlson Accardi, (Tue Oct 16, 11:46 am)
Re: PCIe Hotplug: NFG unless I boot with card already inser..., Kristen Carlson Accardi, (Tue Oct 16, 4:29 pm)
Re: PCIe Hotplug: NFG unless I boot with card already inser..., Kristen Carlson Accardi, (Tue Oct 16, 2:43 pm)
Re: PCIe Hotplug: NFG unless I boot with card already inser..., Kristen Carlson Accardi, (Tue Oct 16, 4:07 pm)
Re: [Pcihpd-discuss] [PATCH 2/4] Fix PCIe hotplug for non-AC..., Kristen Carlson Accardi, (Wed Oct 17, 7:54 pm)
Re: [PATCH 4/4] Fix PCIe hotplug for non-ACPI ExpressCard sl..., Kristen Carlson Accardi, (Wed Oct 17, 8:01 pm)
Re: [Pcihpd-discuss] [PATCH] Fix PCIe hotplug for Dell noteb..., Kristen Carlson Accardi, (Tue Oct 16, 6:41 pm)
Re: [PATCH] Fix PCIe hotplug for Dell notebook ExpressCard s..., Kristen Carlson Accardi, (Tue Oct 16, 6:04 pm)
Re: PCIe Hotplug: NFG unless I boot with card already inser..., Kristen Carlson Accardi, (Tue Oct 16, 5:01 pm)
Re: PCIe Hotplug: NFG unless I boot with card already inser..., Kristen Carlson Accardi, (Tue Oct 16, 3:51 pm)