Thread (1 message) 1 message, 1 author, 2010-05-03

Re: [PATCH] net: show stopped status in sysfs

From: David Miller <davem@davemloft.net>
Date: 2010-05-03 22:05:21
Also in: lkml

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: Tue, 4 May 2010 00:24:25 +0300
quoted hunk
@@ -303,6 +313,7 @@ static struct device_attribute net_class_attributes[] = {
 	__ATTR(address, S_IRUGO, show_address, NULL),
 	__ATTR(broadcast, S_IRUGO, show_broadcast, NULL),
 	__ATTR(carrier, S_IRUGO, show_carrier, NULL),
+	__ATTR(carrier, S_IRUGO, show_stopped, NULL),
Besides the fact that you have to publish this as a per-queue attribute,
you're also erroneously naming it 'carrier' here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help