This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get Ethernet link status?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]