[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101117200100.GA30815@kroah.com>
Date: Wed, 17 Nov 2010 12:01:00 -0800
From: Greg KH <greg@...ah.com>
To: Pavel Machek <pavel@....cz>
Cc: Eric Cooper <ecc@....edu>, linux-kernel@...r.kernel.org,
Richard Purdie <rpurdie@...ys.net>
Subject: Re: [PATCH] add netdev led trigger
On Wed, Nov 17, 2010 at 08:58:43PM +0100, Pavel Machek wrote:
> Hi!
>
> > > > Add a netdev LED trigger for all Blinkenlights lovers...
> > > > Originally taken from https://dev.openwrt.org/ticket/2776
> > > > Slightly updated for 2.6.24 by Mickey Lauer <mickey@...nmoko.org>
> > > > and for 2.6.36 by Eric Cooper <ecc@....edu>
> > >
> > > Nice!
> > >
> > > > +/*
> > > > + * Configurable sysfs attributes:
> > > > + *
> > > > + * device_name - network device name to monitor
> > > > + *
> > > > + * interval - duration of LED blink, in milliseconds
> > >
> > > This needs to go to Doc/ somewhere.
> >
> > Documentation/ABI is the correct place for it.
>
> I was hoping you'd comment on the ABI itself, too. It uses
>
> echo "foo bar baz" > file
>
> to enable/disable specific events to be "displayed". More traditional
> interface would be
>
> echo disable > file_foo
Sorry, yes, I missed that. It would be obvious that the api was
incorrect once it was documented in the correct format :)
thanks,
greg k-h
--
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