This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Settign ethernet speed and duplex
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.
Regards,
--
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