[6/13] w1: Added w1_read_block() and w1_write_block() callbacks

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

 



    Summary:
      Added "i" and "r" scripts. Added w1_read_block() and
w1_write_block() callbacks.
    Revision:
      w1--main--0--patch-6
 
    Added "i" and "r" scripts.
    Added w1_read_block() and w1_write_block().
    w1_therm.c now uses them.
    w1_therm: Chnaged snprintf to sprintf in w1_therm_read_bin() and
added max_trying -
        number of tryings to read temperature before failng. By default
it is 10.
        Added w1_therm_check_rom() - checks if read rom is in black
list.
        If rom is in black list it is probably due to unsufficient of
"power" in the sensor -
        either add strong pullup or connect it to Vcc.
 
    new files:
     .arch-ids/i.id .arch-ids/r.id i r
 
    modified files:
     w1.h w1_io.c w1_io.h w1_therm.c

-- 
	Evgeniy Polaykov ( s0mbre )

Crash is better than data corruption. -- Art Grabowski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w1.h.patch
Type: text/x-patch
Size: 319 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040726/c2878806/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w1_io.c.patch
Type: text/x-patch
Size: 900 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040726/c2878806/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w1_io.h.patch
Type: text/x-patch
Size: 293 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040726/c2878806/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w1_therm.c.patch
Type: text/x-patch
Size: 3987 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040726/c2878806/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040726/c2878806/attachment-0004.bin 


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

  Powered by Linux