On LynxOS 4.0 how can I know from the application if the ethernet
interface is up or down? ioctl with SIOCGIFFLAGS always returns that
link is up. Same info printed by ifconfig.
Ethernet driver definitely has this info but it does not export it in
any way out: SIOCGIFFLAGS is not processed by the driver_ioctl
routine. There's always a way to patch the driver but i would prefer
some 'legal' way.
Thanks to everybody who helps.
What is the driver you are using ?
Both available on MVME-5500: gfec & em