Re: Ejecting a CardBus device

From: Russell King
Date: Sat Sep 27 2003 - 05:21:11 EST


On Sat, Sep 27, 2003 at 12:18:09PM +0200, Felipe Alfaro Solana wrote:
> On Sat, 2003-09-27 at 09:28, Russell King wrote:
> > On Sat, Sep 27, 2003 at 04:00:16AM +0200, Felipe Alfaro Solana wrote:
> > > How can I tell the CardBus subsystem to eject my CardBus NIC by software
> > > with 2.6.0 kernels? In 2.4 I could use "cardctl eject", but I don't know
> > > how to do the same on 2.6.0-test5-mm4.
> >
> > The same works with 2.6.0-test5.
>
> I doesn't seem to work: "cardctl eject" complains that no pcmcia driver
> appears in /proc/devices. Any ideas?

That'll be because ds got unloaded. Although ds isn't required for
cardbus cards, it does provide the interface to cardctl.

--
Russell King (rmk@xxxxxxxxxxxxxxxx) http://www.arm.linux.org.uk/personal/
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/