Re: pcmcia problems with IDE & cardbus

dhinds (dhinds@sonic.net)
Wed, 27 Feb 2002 11:15:26 -0800


Herbert Rosmanith wrote:

> "unable to get IRQ 10" is somewhat funny, since IRQ-10 is used by
> the cardbus device. what I don't understand is if the IDE-drive
> sould get its own interrupt or not.

The card should (must) share the PCI interrupt with the CardBus bridge
device. However, the IDE driver assumes that it should have exclusive
use of the interrupt, because it doesn't believe that this is a PCI
IDE device (well, it is sort of an ISA IDE device sitting behind a PCI
bridge).

> and finally an ugly detail: when removing the ComapctFlash and
> unloading pcmcia, ide_cs will still have the ioport-ressources
> clailed form /proc/ioport. seems there's a call to *_unregister
> missing.

The ide_cs driver does call ide_unregister(). The problem is that the
IDE driver doesn't clean up properly if you hot-eject an interface
that has active devices associated with it. Use "cardctl eject"
before you eject an IDE card.

-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/