[Patch 4/5] w1: sysfs, select-slave, ds2433

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

 



w1-slave-sysfs.diff
Every slave now has at least two sysfs files:
 - id : an 8 byte binary file that holds the 64 bit id
   example: [23 6c dc 1c 00 00 00 43]
 - name : the name, example: [23-0000001cdc6c]
Family ops is now two callback functions: add_slave() and remove_slave().
The family driver is responsible for creating any other sysfs entries.
This patch updates w1-smem (which is pretty much empty) and w1-therm.

Signed-off-by: Ben Gardner <bgardner at wabtec.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w1-slave-sysfs.diff
Type: text/x-diff
Size: 9934 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050630/2e97d7a4/attachment.bin 


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

  Powered by Linux