Yes, the pcmcia scripts can be persuaded to do this. You tell them the
path to the 3c575 driver module is "net/3c59x" and it finds it:
device "3c575_cb"
class "network" module "cb_enabler", "net/3c59x"
But David is concerned that this will require everyone to upgrade their
pcmcia config.
> > - I don't want to copy a single .o file into two places because the
> > source _should_ be compiled twice.
>
> What makes you think this? The source should not need to be compiled
> twice. The PCI driver interface is designed to seamlessly support
> hotplug and non-hotplug.
Well, at present this driver supports EISA, PCI and cardbus. But it
_used_ to have a couple of #ifdef CARDBUS conditionals in it. I have
removed these, deferring the decision to runtime.
If there is a future need to employ #ifdef CARDBUS then 3c59x.o and
3c575_cb.o will be different, even though the source is the same. I
don't think this option should be discarded.
Any opinions, David?
-- -akpm-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/