Re: [PATCH] pciehp: Remove a non-existent card, regardless of "surprise" capability

2014-02-19 Thread Bjorn Helgaas
On Tue, Feb 18, 2014 at 06:53:19PM -0800, Rajat Jain wrote: > In case a card is physically yanked out, it should immediately be > removed, regardless of the "surprise" capability bit. Thus: > > * Always handle the physical removal - regardless of the "surprise" bit. > * Don't use "surprise" capabi

[PATCH] pciehp: Remove a non-existent card, regardless of "surprise" capability

2014-02-18 Thread Rajat Jain
In case a card is physically yanked out, it should immediately be removed, regardless of the "surprise" capability bit. Thus: * Always handle the physical removal - regardless of the "surprise" bit. * Don't use "surprise" capability when making decisions about enabling presence detect notification