Re: [PATCH 2.6.12-rc5-mm1 3/3] i2c: modify sensors drivers to use sysfs class 'hwmon'

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

 



Hi Mark,

I'm trying to implement the hwmon interface in ipmi_sensors (the
re-written driver based on bmcsensors w/o i2c-ipmi), but I can't find
any device struct that I could pass when registering the hwmon class,
the ipmi system simply doesn't seem to define any, I thought that
perhaps the bmc interfaces would have an associated one at least.

The problem essentially is, unlike the i2c/isa sensor chip drivers,
ipmi_sensors isn't a device driver as such, it is an lm-sensors
interface to the sensors available to an IPMI BMC.

I just come back to my previous line of thought that we really should
be using class_device_attributes for hwmon class sensor attributes
rather than assuming that every hwmon class_device has an associated
device...

Yani




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

  Powered by Linux