From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: [PATCH 0/5] net: hwmon fixes Date: Fri, 22 Nov 2013 22:07:56 -0800 Message-ID: <1385186881-7931-1-git-send-email-linux@roeck-us.net> Cc: "David S. Miller" , Jeff Kirsher , Jesse Brandeburg , Bruce Allan , Carolyn Wyborny , Don Skidmore , Greg Rose , Nithin Nayak Sujir , Michael Chan , e1000-devel@lists.sourceforge.net, lm-sensors@lm-sensors.org, Guenter Roeck To: netdev@vger.kernel.org Return-path: Received: from mail-pb0-f43.google.com ([209.85.160.43]:57479 "EHLO mail-pb0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750851Ab3KWGIO (ORCPT ); Sat, 23 Nov 2013 01:08:14 -0500 Received: by mail-pb0-f43.google.com with SMTP id rq2so2346148pbb.30 for ; Fri, 22 Nov 2013 22:08:14 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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. 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.