[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100503.150524.250828270.davem@davemloft.net>
Date: Mon, 03 May 2010 15:05:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mst@...hat.com
Cc: eric.dumazet@...il.com, ebiederm@...ssion.com,
johannes@...solutions.net, therbert@...gle.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: show stopped status in sysfs
From: "Michael S. Tsirkin" <mst@...hat.com>
Date: Tue, 4 May 2010 00:24:25 +0300
> @@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists