Messages in this thread | | | From | Stephen Hemminger <> | Subject | Re: /sys: Network device status: link; Hard disks? | Date | Wed, 22 Sep 2004 15:30:28 -0700 |
| |
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. - 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/
| |