kernel-ark/include/pcmcia
Dominik Brodowski 88b060d6c0 pcmcia: improve check for same card in slot after resume
During a suspend/resume cycle, an user may change the card in the
PCMCIA/CardBus slot. The pcmcia_core can at least look at the
socket state to check whether it is the same.

For PCMCIA devices, move the detection and handling of such a
change to ds.c.

For CardBus devices, the PCI hotplug interface doesn't offer a "rescan"
facility which also _removes_ devices no longer to be found behind a
bridge. Therefore, remove and re-add all devices unconditionally.

CC: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2010-01-17 18:30:12 +01:00
..
ciscode.h pcmcia: cleanup device driver header file 2008-08-29 09:28:47 +02:00
cisreg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cistpl.h pcmcia: ioctl-internal definitions 2008-08-31 16:00:42 +02:00
cs_types.h pcmcia: Change window_handle_t logic to unsigned long 2009-11-28 18:02:50 +01:00
cs.h pcmcia: remove unused IRQ_FIRST_SHARED 2009-12-07 22:23:24 +01:00
device_id.h pcmcia: device_id header cleanup 2008-08-29 09:43:18 +02:00
ds.h pcmcia: CodingStyle fixes 2009-12-07 22:23:40 +01:00
mem_op.h pcmcia: CodingStyle fixes 2009-12-07 22:23:40 +01:00
ss.h pcmcia: improve check for same card in slot after resume 2010-01-17 18:30:12 +01:00