Bad VCC with 5V slot and 3.3/5V card
David Hinds
dhinds at sonic.net
Thu Mar 3 14:23:13 EST 2005
On Thu, Mar 03, 2005 at 06:13:55PM +0200, Kimmo Koivisto wrote:
>
> /* Do power control. We don't allow changes in Vcc. */
> // if (s->socket.Vcc != req->Vcc)
> // return CS_BAD_VCC;
> if (req->Vpp1 != req->Vpp2)
> return CS_BAD_VPP;
> s->socket.Vpp = req->Vpp1;
> if (s->ops->set_socket(s, &s->socket))
> return CS_BAD_VPP;
In pcmcia-cs, I currently do:
/* Do power control. We don't allow changes in Vcc. */
if (s->socket.Vcc != req->Vcc)
printk(KERN_DEBUG "cs: ignoring requested Vcc\n");
-- Dave
More information about the linux-pcmcia
mailing list