mirror of
https://github.com/torvalds/linux.git
synced 2026-07-18 11:37:36 +02:00
Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified
probe() callback. As all in-kernel drivers are changed to this new
callback, there will be no temporary backwards-compatibility. Inside a
probe() function, each driver _must_ set struct pcmcia_device
*p_dev->instance and instance->handle correctly.
With these patches, the basic driver interface for 16-bit PCMCIA drivers
now has the classic four callbacks known also from other buses:
int (*probe) (struct pcmcia_device *dev);
void (*remove) (struct pcmcia_device *dev);
int (*suspend) (struct pcmcia_device *dev);
int (*resume) (struct pcmcia_device *dev);
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
|
||
|---|---|---|
| .. | ||
| arm | ||
| cris | ||
| h8300 | ||
| legacy | ||
| mips | ||
| pci | ||
| ppc | ||
| ide-cd.c | ||
| ide-cd.h | ||
| ide-disk.c | ||
| ide-dma.c | ||
| ide-floppy.c | ||
| ide-generic.c | ||
| ide-io.c | ||
| ide-iops.c | ||
| ide-lib.c | ||
| ide-pnp.c | ||
| ide-probe.c | ||
| ide-proc.c | ||
| ide-tape.c | ||
| ide-taskfile.c | ||
| ide-timing.h | ||
| ide.c | ||
| Kconfig | ||
| Makefile | ||
| setup-pci.c | ||