lkml.org 
[lkml]   [2001]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question: Etherenet Link Detection
Peter Sandstrom wrote:
>
> I know for sure that the Intel 82559 Fast Ethernet embedded controller
> has a register where it's possible to read out if the link led is active
> or not. It seems quite likely that this would be available on other
> controllers as well.
>
> Is there any functionality in the current kernel that enables a userland
> program to read this? I mostly turn my machines on and and let them do
> their thing until the hardware fails :)
>
> /Peter

You can get this information out of any NIC that supports
the mii-diag protocols. The two I've used are the eepro100
and tulip drivers...

You can read Becker's mii-diag source for the gory details!

Ben

--
Ben Greear <greearb@candelatech.com> <Ben_Greear@excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.067 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site