diff options
author | Gergo Huszty <huszty.gergo@digitaltrip.hu> | 2017-12-20 20:07:08 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-12-21 13:39:28 -0700 |
commit | d6f44b3bd870ff5946fcd4293b4c07029d8d93c9 (patch) | |
tree | 57a076f992835441ab187da8aa2b8cb08fe780d6 /Documentation/w1 | |
parent | 651a9ee42a76e4277129af614fbabf0797657f6e (diff) |
Fixed typo in onewire generic doc
Onewire devices has 6 byte long unique serial numbers, 1 byte family
code and 1 byte CRC. Linux sysfs presents the device folder in the
form of familyID-deviceID, so CRC is not shown. The consequence is
that the device serial number is always a 12 long hex-string, but
doc says 13 in one place. This is corrected by this change.
Reference: https://en.wikipedia.org/wiki/1-Wire
Signed-off-by: Gergo Huszty <huszty.gergo@digitaltrip.hu>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/w1')
-rw-r--r-- | Documentation/w1/w1.generic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/w1/w1.generic b/Documentation/w1/w1.generic index b3ffaf8cfab2..c51b1ab012d0 100644 --- a/Documentation/w1/w1.generic +++ b/Documentation/w1/w1.generic @@ -76,7 +76,7 @@ See struct w1_bus_master definition in w1.h for details. w1 master sysfs interface ------------------------------------------------------------------ -<xx-xxxxxxxxxxxxx> - A directory for a found device. The format is family-serial +<xx-xxxxxxxxxxxx> - A directory for a found device. The format is family-serial bus - (standard) symlink to the w1 bus driver - (standard) symlink to the w1 driver w1_master_add - (rw) manually register a slave device |