Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756425Ab1CGVmh (ORCPT ); Mon, 7 Mar 2011 16:42:37 -0500 Received: from sj-iport-5.cisco.com ([171.68.10.87]:61130 "EHLO sj-iport-5.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756347Ab1CGVmf (ORCPT ); Mon, 7 Mar 2011 16:42:35 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsIGALvfdE2rRN+K/2dsb2JhbACmVQJ0okScAoViBIUchxSDSYUv X-IronPort-AV: E=Sophos;i="4.62,279,1297036800"; d="scan'208";a="341895501" User-Agent: Microsoft-Entourage/12.28.0.101117 Date: Mon, 07 Mar 2011 13:42:37 -0800 Subject: Re: [PATCH] hwmon: (pmbus) Improve support for paged fans From: Greg Schnorr To: Guenter Roeck , Jean Delvare CC: Jonathan Cameron , Randy Dunlap , , Message-ID: Thread-Topic: [PATCH] hwmon: (pmbus) Improve support for paged fans Thread-Index: AcvdEJNC0oSeL1p9lkWsMb3ycOVWyw== In-Reply-To: <1299341303-32570-1-git-send-email-guenter.roeck@ericsson.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 07 Mar 2011 21:42:31.0846 (UTC) FILETIME=[902FD460:01CBDD10] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 825 Lines: 20 Verified this patch works as expected on such "fan rich" hardware... On 3/5/11 8:08 AM, "Guenter Roeck" wrote: > So far, it seemed like fans would either all be in page 0, or that > there would be one page per fan. > > Turns out this was a wrong assumption. There is at least one PMBus > fan controller which supports three pages with four fans each. > Update code to handle this situation. > > Reported-by: Greg Schnorr > Signed-off-by: Guenter Roeck Acked-by: Greg Schnorr -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/