[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707181544.11890.florian.fainelli@telecomint.eu>
Date: Wed, 18 Jul 2007 15:44:11 +0200
From: Florian Fainelli <florian.fainelli@...ecomint.eu>
To: Patrick McHardy <kaber@...sh.net>
Cc: netdev@...r.kernel.org, rpurdie@...ys.net
Subject: Re: [PATCH] Add a network activity LED trigger
Hello Patrick,
Le mercredi 18 juillet 2007, Patrick McHardy a écrit :
> Module isn't possible, you call the led trigger from net/core/dev.c.
You are right, it just occured to me.
> Besides missing a declaration and not linking without the network
> LED config option, its pretty ridiculous to call this for every
> packet just to make a led blink.
Could you suggest me a better way to do so ? The code was highly inspired from
what is done with the IDE trigger. The declaration is done in linux/leds.h,
which is included in dev.c for that purpose.
Thank you very much for your answer.
Download attachment "signature.asc " of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists