Re: deriving pcmcia socket number

2008-05-15 Thread Dominik Brodowski
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/x or from the pci_dev or pcmcia_device structure within a driver ? (pcmcia_device *) p_dev-socket-sock . Note that this number may

Re: Power Cycling cards II

2008-05-15 Thread Dominik Brodowski
On Tue, May 13, 2008 at 05:24:30PM -0400, David H. Lynch Jr. wrote: How do I force Linux to rescan for pcmcia/cardbus/expresscard cards. For PCMCIA only, you could try echo'ing 1 to /sys/class/pcmcia_socket/pcmcia_socket0/available_resources_setup_done Best, Dominik

Re: [2.6 patch] pcmcia: kill IN_CARD_SERVICES

2008-05-15 Thread Dominik Brodowski
Hi, On Thu, May 15, 2008 at 06:33:04PM +0200, Marcel Holtmann wrote: IN_CARD_SERVICES was #define'd but not used, so let's remove it. NAK. This breaks compilation of the pcmcia-cs userspace utils. then it is time to finally fix pcmcia-cs. Russell -- what exactly do you still need

Re: [2.6 patch] pcmcia: kill IN_CARD_SERVICES

2008-05-15 Thread Russell King
On Thu, May 15, 2008 at 06:42:14PM +0200, Dominik Brodowski wrote: Hi, On Thu, May 15, 2008 at 06:33:04PM +0200, Marcel Holtmann wrote: IN_CARD_SERVICES was #define'd but not used, so let's remove it. NAK. This breaks compilation of the pcmcia-cs userspace utils. then it

Re: [2.6 patch] pcmcia: kill IN_CARD_SERVICES

2008-05-15 Thread Dominik Brodowski
On Thu, May 15, 2008 at 06:26:49PM +0100, Russell King wrote: On Thu, May 15, 2008 at 06:42:14PM +0200, Dominik Brodowski wrote: Hi, On Thu, May 15, 2008 at 06:33:04PM +0200, Marcel Holtmann wrote: IN_CARD_SERVICES was #define'd but not used, so let's remove it. NAK.

Re: [2.6 patch] pcmcia: kill IN_CARD_SERVICES

2008-05-15 Thread Adrian Bunk
On Thu, May 15, 2008 at 12:37:26PM +0200, Dominik Brodowski wrote: On Mon, May 05, 2008 at 09:25:52PM +0300, Adrian Bunk wrote: IN_CARD_SERVICES was #define'd but not used, so let's remove it. NAK. This breaks compilation of the pcmcia-cs userspace utils. Ahem, what exactly are they