[ECOS] Re: How to get Ethernet link status?

Kelvin Lawson news@kibosh.org
Fri Dec 19 11:02:00 GMT 2008


>> We did this by adding a new query "ETH_DRV_GET_MEDIA_STATUS" in the
>> ethernet driver control function (xxx_control()) and adding support for
>> SIOCGIFMEDIA in eth_drv_ioctl().
> 
> Can you share this code?  It's probably worth putting into
> the mainline.

Sure, I'll tidy it up and send a patch.

Kelvin.


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