On Wed, May 14, 2008 at 01:48:22AM -0400, David H. Lynch Jr. wrote: > Is there some easy way of deriving the pcmcia socket # from either > the device name /dev/xxxxx or from > the pci_dev or pcmcia_device structure within a driver ?
(pcmcia_device *) p_dev->socket->sock . Note that this number may change
between reboots.
Best,
Dominik
_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
