hwmon: add a superio_locks coordinator -
PATCH 1/2 hwmon: add a superio_locks coordinator -
From: Jim Cromie <jim.cromie at gmail.com>
this adds superio_locks module to hwmon.
The module makes it simple for a driver using a Super-IO chip to obtain a shared lock, and thereby coordinate with any other (cooperative) users of that chip, without knowing who they are.
From: Jim Cromie <jim.cromie at gmail.com>
---
$ diffstat diff.superio-locks-beta3 drivers/hwmon/Makefile | 2 drivers/hwmon/superio_locks.c | 204 ++++++++++++++++++++++++++++++++++++++++ include/linux/superio_lockmgr.h | 17 +++ 3 files changed, 223 insertions(+)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.superio-locks-beta3
Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060127/0f5ef454/diff.pl