ifmedia_xx() and mii_xx() ?
gregory.menke at gsfc.nasa.gov
gregory.menke at gsfc.nasa.gov
Mon Feb 9 17:15:22 UTC 2004
I ended up stripping out all the ifmedia stuff from the 3com driver,
which also had a bunch of media functions.
Gregm
Thomas Doerfler writes:
> Hi Kate,
>
> all the references to "ifmedia_xx" functions in
> the if_fxp driver are inactive, because they are
> embraced in a "#ifdef NOTUSED ... #endif" pair.
> Maybe this is not the cleanest (and most obvious)
> way to make code inactive, but it keeps most of
> the original code in place. As you might have
> seen, the if_fxp driver was ported rather quick-
> and-dirty from the FreeBSD code base.
>
> wkr,
> Thomas Doerfler.
>
>
> > Hi all,
> >
> >
> > While porting the NetBSD files: if_media.c and mii.c
> > for my RTEMS software, I noticed that the
> > rtems-4.6.0pre3/c/src/libchip/network/if_fxp.c file
> > actually calls some of the functions, for example :
> > ifmedia_init(), ifmedia_add(), mii_mediachg(),...
> > ,etc.. Strangely, I could not find the source codes
> > for thoses ifmedia_xx() and mii_xx() functions in
> > the rtems-4.6.0pre3 release. Please advise.
> >
> >
> > Thanks,
> > Kate
>
> --------------------------------------------
> IMD Ingenieurbuero fuer Microcomputertechnik
> Thomas Doerfler Herbststrasse 8
> D-82178 Puchheim Germany
> email: Thomas.Doerfler at imd-systems.de
> PGP public key available at: http://www.imd-
> systems.de/pgp_keys.htm
>
>
>
More information about the users
mailing list