[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1178828848.4062.104.camel@localhost>
Date: Thu, 10 May 2007 16:27:28 -0400
From: jamal <hadi@...erus.ca>
To: Florian Fainelli <florian.fainelli@...ecomint.eu>
Cc: Mark Brown <broonie@...ena.org.uk>, netdev@...r.kernel.org,
Richard Purdie <rpurdie@...ys.net>
Subject: Re: Network activity LED trigger
On Thu, 2007-10-05 at 21:21 +0200, Florian Fainelli wrote:
> Netdev people can probably comment on the place of ledtrig_network_activity(),
> which is probably not adequate. Also the ledtrig_network_activity can be
> network device specific for instance.
Thanks for CCing me Florian.
Yes, ledtrig_network_activity() should be device specific - given the
spot you have it at. Just pass dev->name for example and filter on
whether the user wanted that specific device.
Additionaly is there a way to sort of light different colors depending
whether it is an incoming packet or outgoing?
Then you can pass a hook number OUT in the case where you have
ledtrig_network_activity() at the moment. This way we can add
multiple hooks within the network stack.
I dont remember the original patches you posted, but could you have
multiple LEDs as well?
cheers,
jamal
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists