From: Florian Fainelli <florian.fainelli@telecomint.eu>
To: Patrick McHardy <kaber@trash.net>
Cc: netdev@vger.kernel.org, rpurdie@rpsys.net
Subject: Re: [PATCH] Add a network activity LED trigger
Date: Wed, 18 Jul 2007 15:44:11 +0200 [thread overview]
Message-ID: <200707181544.11890.florian.fainelli@telecomint.eu> (raw)
In-Reply-To: <469E16C5.4000102@trash.net>
[-- Attachment #1: Type: text/plain, Size: 608 bytes --]
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.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-07-18 13:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 13:27 [PATCH] Add a network activity LED trigger Florian Fainelli
2007-07-18 13:33 ` Patrick McHardy
2007-07-18 13:44 ` Florian Fainelli [this message]
2007-07-18 13:54 ` Patrick McHardy
2007-07-18 14:10 ` Richard Purdie
2007-07-18 14:14 ` Patrick McHardy
2007-07-18 22:22 ` David Miller
2007-07-18 13:41 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707181544.11890.florian.fainelli@telecomint.eu \
--to=florian.fainelli@telecomint.eu \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.