SuperIO locks coordinator - use in drivers/char/pc8736x-gpio
Subsystems (2)
Jim Cromie
maintainerPATCH 4/5 SuperIO locks coordinator - use in drivers/char/pc8736x-gpio
04 - use superio-locks in drivers/char/pc8736x_gpio
this driver keeps the slot for the lifetime of the driver ( __init til __exit ), since the driver needs the sio-port to change pin configurations.
patches 03,04 were tested on a soekris 4801 a year ago, the box is currently busy. Together they sanity-test the sharing of a reservation with 2 different life-cycles.
Signed-off-by Jim Cromie <[email protected]>
---
hwmon-superio-pc8736x-gpio
Kconfig | 1 pc8736x_gpio.c | 83 ++++++++++++++++++++++----------------------------------- 2 files changed, 34 insertions(+), 50 deletions(-)
drivers/char/Kconfig +1 -0
@@ -943,6 +943,7 @@ config PC8736x_GPIO depends on X86 default SCx200_GPIO # mostly N select NSC_GPIO # needed for support routines + select SUPERIO_LOCKS help Give userspace access to the GPIO pins on the National Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip
drivers/char/pc8736x_gpio.c +33 -50
182 lines not on this page · raw message
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors