aha/drivers/w1
Evgeniy Polyakov f522d23961 [PATCH] w1: Added default generic read/write operations.
Special file in each w1 slave device's directory called "rw" is created
each time new slave and no appropriate w1 family is registered.
"rw" file supports read and write operations, which allows to perform
almost any kind of operations. Each logical operation is a transaction
in nature, which can contain several (two or one) low-level operations.
Let's see how one can read EEPROM context:
1. one must write control buffer, i.e. buffer containing command byte
and two byte address. At this step bus is reset and appropriate device
is selected using either W1_SKIP_ROM or W1_MATCH_ROM command.
Then provided control buffer is being written to the wire.
2. reading. This will issue reading eeprom response.

It is possible that between 1. and 2. w1 master thread will reset bus for
searching and slave device will be even removed, but in this case 0xff will
be read, since no device was selected.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-22 11:22:50 -07:00
..
masters fix typos "wich" -> "which" 2006-03-24 18:23:14 +01:00
slaves [PATCH] W1: Move w1 bus master code into 'w1/masters' and move w1 slave code into 'w1/slaves' 2006-03-23 17:28:11 -08:00
Kconfig [PATCH] W1: Move w1 bus master code into 'w1/masters' and move w1 slave code into 'w1/slaves' 2006-03-23 17:28:11 -08:00
Makefile [PATCH] W1: Move w1 bus master code into 'w1/masters' and move w1 slave code into 'w1/slaves' 2006-03-23 17:28:11 -08:00
w1.c [PATCH] w1: Added default generic read/write operations. 2006-06-22 11:22:50 -07:00
w1.h [PATCH] w1: Added default generic read/write operations. 2006-06-22 11:22:50 -07:00
w1_family.c [PATCH] w1: misc cleanups 2006-03-23 17:28:12 -08:00
w1_family.h [PATCH] w1: Added DS2433 driver - family id update. 2005-09-08 14:41:27 -07:00
w1_int.c [PATCH] w1: use kthread api. 2006-03-23 17:28:13 -08:00
w1_int.h [PATCH] w1: cleanups. 2005-06-21 21:43:09 -07:00
w1_io.c [PATCH] w1: misc cleanups 2006-03-23 17:28:12 -08:00
w1_io.h [PATCH] w1: Added w1_reset_select_slave() - Resets the bus and then selects the slave by 2005-09-08 14:41:26 -07:00
w1_log.h [PATCH] w1: cleanups. 2005-06-21 21:43:09 -07:00
w1_netlink.c [PATCH] W1: w1_netlink: New init/fini netlink callbacks. 2005-09-08 14:41:25 -07:00
w1_netlink.h [PATCH] W1: w1_netlink: New init/fini netlink callbacks. 2005-09-08 14:41:25 -07:00