Re: [PATCH] hwmon: (it87) Manage device specific features with table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 21, 2012 at 06:57:26PM +0200, Jean Delvare wrote:
> On Sun, 21 Oct 2012 09:41:52 -0700, Guenter Roeck wrote:
> > This simplifies the code, improves runtime performance, reduces
> > code size (about 300 bytes on x86_64), and makes it easier
> > to add support for new devices.
> 
> No time for a full review right now, just one thing:
> 
> > Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> > ---
> > This patch applies on top of the previously submitted patch series for it87.
> > 
> >  drivers/hwmon/it87.c |  217 ++++++++++++++++++++++++++------------------------
> >  1 file changed, 111 insertions(+), 106 deletions(-)
> > 
> > diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
> > index e7b604c..560f9a9 100644
> > --- a/drivers/hwmon/it87.c
> > +++ b/drivers/hwmon/it87.c
> > (...)
> > +	[it8726] = {
> > +		.name = "it8726",
> > +		.id = IT8726F_DEVID,
> > +		.features = FEAT_16BIT_FAN,
> > +	},
> 
> The name change is breaking user-space compatibility. With lm-sensors
> 2.10.x an IT8726F chip will suddenly become unrecognized. With
> lm-sensors 3.x this isn't so bad but the name change may still break
> chip matching in board-specific configuration files, sensord rrd
> databases, custom scripts etc. So please don't do that.
> 
> This is exactly the reason why the IT8705F is still named "it87"
> instead of the more consistent "it8705".
> 
Ok, I'll change that. Thanks for the note.

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux