diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2005-08-17 07:24:37 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 17:41:27 -0400 |
commit | 0a25e4d5647003a32ba5496f9d0f40ba9c1e3863 (patch) | |
tree | 678a0f192d7b72270ea3431f642baca9566a249b /drivers/w1/Kconfig | |
parent | a45f105ad4b456f99f622642056ae533f70710b7 (diff) |
[PATCH] w1_ds2433: Added crc16 protection and read caching.
The changes to ds2433 to add CRC16 protection and read caching.
Signed-off-by: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/Kconfig')
-rw-r--r-- | drivers/w1/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig index 1d5d0872eb4d..9a1e00dd3e02 100644 --- a/drivers/w1/Kconfig +++ b/drivers/w1/Kconfig | |||
@@ -61,4 +61,13 @@ config W1_DS2433 | |||
61 | Say Y here if you want to use a 1-wire | 61 | Say Y here if you want to use a 1-wire |
62 | 4kb EEPROM family device (DS2433). | 62 | 4kb EEPROM family device (DS2433). |
63 | 63 | ||
64 | config W1_DS2433_CRC | ||
65 | bool "Protect DS2433 data with a CRC16" | ||
66 | depends on W1_DS2433 | ||
67 | select CRC16 | ||
68 | help | ||
69 | Say Y here to protect DS2433 data with a CRC16. | ||
70 | Each block has 30 bytes of data and a two byte CRC16. | ||
71 | Full block writes are only allowed if the CRC is valid. | ||
72 | |||
64 | endmenu | 73 | endmenu |