Messages in this thread | | | Date | Thu, 23 Sep 2004 10:57:14 +0200 (CEST) | From | Jesper Juhl <> | Subject | Re: /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/
| |