lkml.org 
[lkml]   [2004]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /sys: Network device status: link; Hard disks?
On Wed, 22 Sep 2004, Stephen Hemminger wrote:

> Date: Wed, 22 Sep 2004 15:30:28 -0700
> From: Stephen Hemminger <shemminger@osdl.org>
> To: linux-kernel@vger.kernel.org
> Subject: Re: /sys: Network device status: link; Hard disks?
>
> You probably just want to expose the state of netif_carrier_ok (and netif_running).
> Doing it in net-sysfs.c is trivial. I was hoping someone else would learn something
> and do it for me.

That is exactely what I've started to do, but it's taking me a little
while since I have limited time and have to learn about sysfs first. But
it's a nice learning experience and I'll post a patch as soon as I have
something that works resonably, but it might take me a few days.


--
Jesper Juhl

-
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 14:06    [W:0.049 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site