Re: Vortex 3c900 passing driver parameters

From: Andrew Morton
Date: Tue Oct 14 2003 - 23:11:02 EST


"Randy.Dunlap" <rddunlap@xxxxxxxx> wrote:
>
> Andrew Morton wrote:
> | Karel Kulhavý <clock@xxxxxxxxxxxxx> wrote:
> | >
> | > Hello
> | >
> | > How do I do a ether=... (kernel boot-time) equivalent of
> | > insmod 3c59x.o options=0x201 full_duplex=1 ?
> |
> | Unfortunately you cannot. `ether=' is broken for all drivers which use the
> | new(ish) alloc_etherdev() API.
> |
> | It is due to ordering problems: the name of the interface is not known at
> | the time of parsing the setup info and nobody has got down and worked out
> | how to fix it.
>
> Does this ordering problem apply to both 2.4.current and 2.6.0-test?

Well it was a problem a year or so ago.

But init_netdev()'s call to netdev_boot_setup_check() looks like it
should fix things up, so I'm not sure what's going on...

-
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/