[ECOS] Re: Settign ethernet speed and duplex

Daniel Néri daniel.neri@sigicom.se
Fri Sep 15 12:01:00 GMT 2006

Nick Garnett <nickg@ecoscentric.com> writes:

> You might be able to get an ioctl() to work. However there is no
> existing BSD IOCTL to do this.

That's not really true; on BSD you would use the "ifmedia" interface
and SIOCGIFMEDIA/SIOCSIFMEDIA ioctls to do this (used by ifconfig(8)
with the "media" and "mediaopt" parameters).

But it appears that those parts of the FreeBSD stack were never ported
to eCos.

Daniel Néri <daniel.neri@sigicom.se>
Sigicom AB, Stockholm, Sweden

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list