[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1385225290.20467.73.camel@deadeye.wl.decadent.org.uk>
Date: Sat, 23 Nov 2013 16:48:10 +0000
From: Ben Hutchings <bhutchings@...arflare.com>
To: Guenter Roeck <linux@...ck-us.net>
CC: <netdev@...r.kernel.org>, "David S. Miller" <davem@...emloft.net>,
"Jeff Kirsher" <jeffrey.t.kirsher@...el.com>,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Bruce Allan <bruce.w.allan@...el.com>,
Carolyn Wyborny <carolyn.wyborny@...el.com>,
Don Skidmore <donald.c.skidmore@...el.com>,
Greg Rose <gregory.v.rose@...el.com>,
"Nithin Nayak Sujir" <nsujir@...adcom.com>,
Michael Chan <mchan@...adcom.com>,
<e1000-devel@...ts.sourceforge.net>, <lm-sensors@...sensors.org>
Subject: Re: [PATCH 0/5] net: hwmon fixes
On Fri, 2013-11-22 at 22:07 -0800, Guenter Roeck wrote:
> The hwmon subsystem is used by various network drivers to report temperature
> sensor and other information. Unfortunately, its use is often not correct.
> Typical errors are that the mandatory name sysfs attribute is not created,
> that the temperature sensor index starts with 0 instead of 1, and/or that
> sysfs attributes are created after the hwmon device was created.
As it happens, I was just looking at what we do in sfc
(drivers/net/ethernet/sfc/mcdi_mon.c) and wondering why I made it create
the hwmon device before the attributes. I think I avoided the other
bugs though.
Ben.
> The following sequence of patches fixes most of the problems.
>
> The igb patches have been tested with real hardware; the others are compile
> tested only.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
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