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?


On 2008-12-19, Kelvin Lawson <news@kibosh.org> wrote:
>>> 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.

Is it really needed when there's already an ioctl call that
returns the link status?

-- 
Grant Edwards                   grante             Yow! How's the wife?
                                  at               Is she at home enjoying
                               visi.com            capitalism?


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