W1 update.

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

 



Big w1 update.
Main featureas are:
	- 	ds9490 transport driver
	-	simple 64bit rom driver
	-	w1_ops extension
	-	dynamic slave removal

Please apply attached big patches(diff.1 then diff.2), splitted little
patches will be sent in next e-mails for reviewing, but they can not be
applied to the linux kernel tree since sync with in-tree driver was made
in the last patch.

Thank you.

Complete changelog:
# do not edit -- automatically generated by arch changelog
# arch-tag: automatic-ChangeLog--johnpol at 2ka.mipt.ru-2004/w1--main--0
#
 
2004-07-26 04:54:19 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  patch-13
 
    Summary:
      Changes in family processing - added w1_ prefix.
    Revision:
      w1--main--0--patch-13
 
    Changes in family processing - added w1_ prefix.
 
    modified files:
     w1.c w1_family.c w1_family.h
 
 
2004-07-26 04:48:23 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  patch-12
 
    Summary:
      Removed unneded debug output.
    Revision:
      w1--main--0--patch-12
 
    Removed unneded debug output.
 
    modified files:
     w1.c
 
 
2004-07-25 19:52:42 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-11
 
    Summary:
      Added dynamic slave removal mechanism. Fixed bug when we have
multiple slave with different families.
    Revision:
      w1--main--0--patch-11
 
    Added dynamic slave removal mechanism by introducing u32 flags; in
each slave.
        If slave was found during search process then set flag.
        If after search complete we have slave entryes without magic
flag then remove them.
    Fixed bug when we have multiple slave with different families.
        Since attributes were static then each new family will rewrite
static values with new
        function pointers... badly broken.
        Master processing now still has static attributes. Needs to
check.
 
    modified files:
     w1.c w1.h
 
 
2004-07-25 18:04:06 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-10
 
    Summary:
      Fixed compilation bug in w1_check_family().
    Revision:
      w1--main--0--patch-10
 
    Fixed compilation bug in w1_check_family().
 
    modified files:
     w1_family.c
 
 
2004-07-25 17:36:55 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-9
 
    Summary:
      Added w1_smem.c - driver for simple 64bit ROM devices.
    Revision:
      w1--main--0--patch-9
 
    Added w1_smem.c - driver for simple 64bit ROM devices.
    Simple iButtons with ds2401/ds2411/ds1990* are be handeled by this
driver.
 
    new files:
     .arch-ids/w1_smem.c.id w1_smem.c
 
    modified files:
     Makefile i r w1_family.h
 
 
2004-07-25 17:36:20 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-8
 
    Summary:
      Changed printing format for slave names.
    Revision:
      w1--main--0--patch-8
 
    %llx -> %012llx
    %x -> %02x
 
    modified files:
     w1.c
 
 
2004-07-25 17:35:23 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-7
 
    Summary:
      Added w1_check_family().
    Revision:
      w1--main--0--patch-7
 
    w1_check_family() checks new family before registering it.
    Now it checks if all needed fields are not NULL.
 
    modified files:
     w1_family.c
 
 
2004-07-25 16:36:48 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-6
 
    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
 
 
2004-07-24 21:46:14 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-5
 
    Summary:
      initial descrepancy bit must be 64 for algorithm to be able to
discover all devices.
    Revision:
      w1--main--0--patch-5
 
    Initial descrepancy bit must be 64 for algorithm to be able to
discover all devices.
 
    modified files:
     w1.c
 
 
2004-07-22 21:43:51 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-4
 
    Summary:
      Removed Makefile.* and moved all into one Makefile with CONFIG_*
dependency.
    Revision:
      w1--main--0--patch-4
 
    Removed Makefile.* and moved all into one Makefile with CONFIG_*
dependency.
    obj-$(CONFIG_SOMETHING) += smth.o
 
    removed files:
     .arch-ids/Makefile.matrox.id .arch-ids/Makefile.therm.id
     .arch-ids/Makefile.w1.id Makefile.matrox Makefile.therm
     Makefile.w1
 
    modified files:
     Makefile
 
 
2004-07-22 21:13:08 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-3
 
    Summary:
      do not include asm/delay.h directly, use linux/delay.h in
matrox_w1.c
    Revision:
      w1--main--0--patch-3
 
    Do not include asm/delay.h directly, use linux/delay.h in
matrox_w1.c
    Patch by Geert Uytterhoeven <geert at linux-m68k.org>
 
    modified files:
     Makefile matrox_w1.c
 
 
2004-07-22 21:10:25 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-2
 
    Summary:
      matrox_w1 depends on pci.
    Revision:
      w1--main--0--patch-2
 
    matrox_w1 depends on pci.
 
    modified files:
     Kconfig
 
 
2004-07-21 06:38:15 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  patch-1
 
    Summary:
      attributes split, timeout unit changed.
    Revision:
      w1--main--0--patch-1
 
    Creates w1_master_attribute_* attributes and 2 routings to control
them:
        w1_create_master_attributes() and
w1_destroy_master_attributes().
     
    Timeout unit was changed from jiffies to seconds.
 
    modified files:
     Makefile w1.c w1.h w1_int.c
 
 
2004-07-21 05:33:57 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  base-0
 
    Summary:
      initial import
    Revision:
      w1--main--0--base-0
 
     
    (automatically generated log message)
 
    new files:
     Kconfig Makefile Makefile.matrox Makefile.therm Makefile.w1
     matrox_w1.c w1.c w1.h w1_family.c w1_family.h w1_int.c
     w1_int.h w1_io.c w1_io.h w1_log.h w1_netlink.c w1_netlink.h
     w1_therm.c w1d.c

# do not edit -- automatically generated by arch changelog
# arch-tag:
automatic-ChangeLog--johnpol at 2ka.mipt.ru-2004/ds9490r--main--0.1
#
 
2004-07-26 05:05:33 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  patch-6
 
    Summary:
      Indentification. Removed some comments.
    Revision:
      ds9490r--main--0.1--patch-6
 
    Indentification. Removed some comments.
 
    modified files:
     dscore.c
 
 
2004-07-25 16:49:07 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-5
 
    Summary:
      Added callbacks for read_block() and write_block(). Changed
ds_start_pulse(), now byte/block writings use it. Other additions.
    Revision:
      ds9490r--main--0.1--patch-5
 
    Added callbacks for read_block() and write_block().
    Changed ds_start_pulse(), now byte/block writings use it.
        Disable for now mode command in it. They are broken.
        ds_start_pulse() now has second argument - number of
milliseconds pulse duration will take.
    Added ds_set_path(), ds_match_access(), ds_search(),
ds_write_block(), ds_read_block().
     
    ds_recv_data() returnes number of cytes read or negativ error code.
    The same ds_read_block() does.
    Reverted changes in ds_read_bit() - if you need to _read_ bit from
w1 - read it, if you need only to
        read data from EP3 use touch bit or ds_recv_data()...
     
    Added COMM_SPU bit into the writing routings, but it looks like it
is not working.
     
    Removed some commented code.
     
    ds_w1_bridge.c now uses touch_bit() instead of read/write_bit().
 
    modified files:
     ds_w1_bridge.c dscore.c dscore.h
 
 
2004-07-21 16:15:38 GMT Evgeniy Poluakov <johnpol at 2ka.mipt.ru>  patch-4
 
    Summary:
      In get_status use ->ep[] array not hardcoded value 0x81.
    Revision:
      ds9490r--main--0.1--patch-4
 
    In get_status use ->ep[] array not hardcoded value 0x81.
 
    modified files:
     dscore.c
 
 
2004-07-21 06:50:42 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  patch-3
 
    Summary:
      Debug removal, status copying, debug output changes,
ds_wait_status(), ds_touch_bit(), ds_recv_data() changes, struct
ds_status changes.
    Revision:
      ds9490r--main--0.1--patch-3
 
    Removed some debug printks.
    Typo in status copying code - s/sizeof(st)/sizeof(*st).
    Changed debug output: exchanged input and output buffer status,
since they need(and already are) to be exchanged in struct ds_status.
    ds_wait_status() - waits until max attempts or error occures.
    ds_touch_bit() - typo in "value" parameter[I wonder if Dallas even
tries to compile their cruft with non MS compiler],
        waits untill max attempts or last command in status is equal to
"value".
    ds_recv_data() returns negative error code or number of bytes read.
    Exchanged input and output buffer status instruct ds_status.
 
    modified files:
     Makefile dscore.c dscore.h
 
 
2004-07-18 21:48:27 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  patch-2
 
    Summary:
      Added ds_touch_bit(), ds_wait_status(), various changes changed.
    Revision:
      ds9490r--main--0.1--patch-2
 
    Added ds_touch_bit(), ds_wait_status().
    Changes ds_read_bit() - only ds_recv_data() and send BIT_IO, do not
enable pulse..
    ds_probe() resets configuration and sets interface 3.
    ds_read_byte() waits for status and compares read value with 0xff -
        if read value is equal to 0xff then nothing was read.
    ds_write_byte() sends control byte_io command, then waiting for the
status and then
        reads back just written value and compares it with written
value.
        If they do not match then write failed.
    ds_write_bit() sends control and waits for the status.
    ds_reset() sends 0x43 control byte and waits for the status.
    ds_recv_data() - must reveive data from ->ep[EP_DATA_IN] not from
EP_DATA_IN.
        If error occured then usb_clear_halt() this endpoint and dump
status.
     
    ds_touch_bit() - sends bit_io command and bit, then waits for the
status, then
        receives data from ep3.
    ds_wait_status() - read status without dumping it until 100 times
"good" status received.
 
    modified files:
     Makefile ds_w1_bridge.c dscore.c dscore.h
 
 
2004-07-16 23:15:46 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  patch-1
 
    Summary:
      Added ds_w1_bridge.c, code cleanup.
    Revision:
      ds9490r--main--0.1--patch-1
 
    Added ds_w1_bridge.c - DS9490R<-->W1 master bridge driver.
    Code cleanup: read/write functions, reset, hw reset and many other,
    s/ds9490r/ds.
    Added reference counter into main structure - FIXME, it takes too
    lonmg to unload, race somewhere.
 
    new files:
     .arch-ids/ds_w1_bridge.c.id ds_w1_bridge.c
 
    modified files:
     Makefile dscore.c dscore.h
 
 
2004-07-11 15:34:36 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru>  base-0
 
    Summary:
      Initial import of the driver for USB <-> 1-wire bridge.
    Revision:
      ds9490r--main--0.1--base-0
 
    Initial import of the driver for USB <-> 1-wire bridge.
 
    new files:
     Makefile dscore.c dscore.h
 


-- 
	Evgeniy Polaykov ( s0mbre )

Crash is better than data corruption. -- Art Grabowski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w1.diff.1
Type: text/x-patch
Size: 64537 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040726/a3ce1dca/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w1.diff.2
Type: text/x-patch
Size: 30708 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040726/a3ce1dca/attachment-0001.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/a3ce1dca/attachment-0002.bin 


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

  Powered by Linux