On Tue, 23 Oct 2007, Michael Schmitz wrote:
> > Alternatively, you can put the platform device in the driver. That's
> > what e.g. drivers/block/floppy.c does.
>
> As device_initcall? May be cleaner indeed. I was glad I found the initcall
Just use module_{in,ex}it().
> trick at all... Does that work on module load as well?
Yep.
> > > other one is a kconfig issue - I need to select MMIO either as module or
> > > builtin, depending on how the EtherNAT driver is built. That does not
> > > appear to be automatic yet.
> >
> > You mean MII? Doesn't `select MII' do the right thing?
>
> Did fail (MII compiled in when driver was modular) at least once for me.
Strange. Do you remember what went wrong? Missing exports in MII?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html