* [lm-sensors] [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class "hwmon"
@ 2005-06-02 5:29 Mark M. Hoffman
2005-06-02 7:24 ` [lm-sensors] [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class Grant Coady
2005-06-02 8:00 ` [lm-sensors] " Greg KH
0 siblings, 2 replies; 3+ messages in thread
From: Mark M. Hoffman @ 2005-06-02 5:29 UTC (permalink / raw)
To: lm-sensors
Hi Greg:
Here's the hwmon patchset again; this time I would like you to consider
applying it. The device class ID string is now chosen by the (chip) driver.
That required a small change to the driver/core class code, which is the
first patch. The third patch modifies all hwmon-type drivers, instead of
just a couple. Also, thanks for your comments re: my previous patchset -
I've addressed those here.
With these patches applied, 'tree -d /sys/class/hwmon' looks like this:
/sys/class/hwmon
`-- w83627thf-0
`-- device -> ../../../devices/platform/i2c-1/1-0290
Here is the diffstat:
drivers/Kconfig | 2 +
drivers/Makefile | 1
drivers/base/class.c | 25 ++++++++++++-
drivers/hwmon/Kconfig | 15 +++++++
drivers/hwmon/Makefile | 5 ++
drivers/hwmon/hwmon.c | 77 +++++++++++++++++++++++++++++++++++++++++
drivers/i2c/chips/adm1021.c | 15 +++++++
drivers/i2c/chips/adm1025.c | 15 +++++++
drivers/i2c/chips/adm1026.c | 14 +++++++
drivers/i2c/chips/adm1031.c | 15 +++++++
drivers/i2c/chips/adm9240.c | 16 ++++++++
drivers/i2c/chips/asb100.c | 17 +++++++++
drivers/i2c/chips/ds1621.c | 15 +++++++
drivers/i2c/chips/fscher.c | 15 +++++++
drivers/i2c/chips/fscpos.c | 15 +++++++
drivers/i2c/chips/gl518sm.c | 15 +++++++
drivers/i2c/chips/gl520sm.c | 15 +++++++
drivers/i2c/chips/it87.c | 16 +++++++-
drivers/i2c/chips/lm63.c | 15 +++++++
drivers/i2c/chips/lm75.c | 14 +++++++
drivers/i2c/chips/lm77.c | 15 +++++++
drivers/i2c/chips/lm78.c | 15 +++++++
drivers/i2c/chips/lm80.c | 15 +++++++
drivers/i2c/chips/lm83.c | 15 +++++++
drivers/i2c/chips/lm85.c | 14 +++++++
drivers/i2c/chips/lm87.c | 15 +++++++
drivers/i2c/chips/lm90.c | 15 +++++++
drivers/i2c/chips/lm92.c | 16 +++++++-
drivers/i2c/chips/max1619.c | 16 +++++++-
drivers/i2c/chips/pc87360.c | 15 +++++++
drivers/i2c/chips/sis5595.c | 17 ++++++++-
drivers/i2c/chips/smsc47b397.c | 15 +++++++
drivers/i2c/chips/smsc47m1.c | 16 ++++++++
drivers/i2c/chips/via686a.c | 23 ++++++++++--
drivers/i2c/chips/w83627ehf.c | 15 +++++++
drivers/i2c/chips/w83627hf.c | 15 +++++++
drivers/i2c/chips/w83781d.c | 23 ++++++++++++
drivers/i2c/chips/w83l785ts.c | 15 +++++++
include/linux/device.h | 7 +++
include/linux/hwmon.h | 24 ++++++++++++
include/linux/i2c.h | 1
41 files changed, 647 insertions(+), 12 deletions(-)
Regards,
--
Mark M. Hoffman
mhoffman@lightlink.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [lm-sensors] [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class
2005-06-02 5:29 [lm-sensors] [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class "hwmon" Mark M. Hoffman
@ 2005-06-02 7:24 ` Grant Coady
2005-06-02 8:00 ` [lm-sensors] " Greg KH
1 sibling, 0 replies; 3+ messages in thread
From: Grant Coady @ 2005-06-02 7:24 UTC (permalink / raw)
To: lm-sensors
On Wed, 1 Jun 2005 23:28:40 -0400, "Mark M. Hoffman" <mhoffman@lightlink.com> wrote:
>With these patches applied, 'tree -d /sys/class/hwmon' looks like this:
>
>/sys/class/hwmon
>`-- w83627thf-0
^^-- is it possible / make any sense, to not append anything
for the first (usually only) device? eg. "", "-1", "-2"...
> `-- device -> ../../../devices/platform/i2c-1/1-0290
--Grant.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [lm-sensors] Re: [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class
2005-06-02 5:29 [lm-sensors] [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class "hwmon" Mark M. Hoffman
2005-06-02 7:24 ` [lm-sensors] [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class Grant Coady
@ 2005-06-02 8:00 ` Greg KH
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2005-06-02 8:00 UTC (permalink / raw)
To: lm-sensors
On Wed, Jun 01, 2005 at 11:28:40PM -0400, Mark M. Hoffman wrote:
> Hi Greg:
>
> Here's the hwmon patchset again; this time I would like you to consider
> applying it. The device class ID string is now chosen by the (chip) driver.
> That required a small change to the driver/core class code, which is the
> first patch. The third patch modifies all hwmon-type drivers, instead of
> just a couple. Also, thanks for your comments re: my previous patchset -
> I've addressed those here.
Nice, I've added them to my tree, and will show up in the next -mm
releases. If you want to send me updated patches, just let me know. If
you want to send add-on patches, also, feel free to. I'll hold off
sending this to Linus till after 2.6.12 is out, and after you feel more
comfortable with the code.
I do have a few issues, and will reply to the patches.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-06-02 8:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-02 5:29 [lm-sensors] [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class "hwmon" Mark M. Hoffman
2005-06-02 7:24 ` [lm-sensors] [PATCH 2.6.12-rc5-mm1 0/3] i2c: new sysfs class Grant Coady
2005-06-02 8:00 ` [lm-sensors] " Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.