diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/stable/sysfs-driver-w1_ds28e04 | 15 | ||||
-rw-r--r-- | Documentation/ABI/testing/dev-kmsg | 29 | ||||
-rw-r--r-- | Documentation/stable_kernel_rules.txt | 19 | ||||
-rw-r--r-- | Documentation/w1/slaves/w1_ds28e04 | 36 |
4 files changed, 85 insertions, 14 deletions
diff --git a/Documentation/ABI/stable/sysfs-driver-w1_ds28e04 b/Documentation/ABI/stable/sysfs-driver-w1_ds28e04 new file mode 100644 index 000000000000..26579ee868c9 --- /dev/null +++ b/Documentation/ABI/stable/sysfs-driver-w1_ds28e04 | |||
@@ -0,0 +1,15 @@ | |||
1 | What: /sys/bus/w1/devices/.../pio | ||
2 | Date: May 2012 | ||
3 | Contact: Markus Franke <franm@hrz.tu-chemnitz.de> | ||
4 | Description: read/write the contents of the two PIO's of the DS28E04-100 | ||
5 | see Documentation/w1/slaves/w1_ds28e04 for detailed information | ||
6 | Users: any user space application which wants to communicate with DS28E04-100 | ||
7 | |||
8 | |||
9 | |||
10 | What: /sys/bus/w1/devices/.../eeprom | ||
11 | Date: May 2012 | ||
12 | Contact: Markus Franke <franm@hrz.tu-chemnitz.de> | ||
13 | Description: read/write the contents of the EEPROM memory of the DS28E04-100 | ||
14 | see Documentation/w1/slaves/w1_ds28e04 for detailed information | ||
15 | Users: any user space application which wants to communicate with DS28E04-100 | ||
diff --git a/Documentation/ABI/testing/dev-kmsg b/Documentation/ABI/testing/dev-kmsg index 281ecc5f9709..7e7e07a82e0e 100644 --- a/Documentation/ABI/testing/dev-kmsg +++ b/Documentation/ABI/testing/dev-kmsg | |||
@@ -58,16 +58,18 @@ Description: The /dev/kmsg character device node provides userspace access | |||
58 | 58 | ||
59 | The output format consists of a prefix carrying the syslog | 59 | The output format consists of a prefix carrying the syslog |
60 | prefix including priority and facility, the 64 bit message | 60 | prefix including priority and facility, the 64 bit message |
61 | sequence number and the monotonic timestamp in microseconds. | 61 | sequence number and the monotonic timestamp in microseconds, |
62 | The values are separated by a ','. Future extensions might | 62 | and a flag field. All fields are separated by a ','. |
63 | add more comma separated values before the terminating ';'. | 63 | |
64 | Unknown values should be gracefully ignored. | 64 | Future extensions might add more comma separated values before |
65 | the terminating ';'. Unknown fields and values should be | ||
66 | gracefully ignored. | ||
65 | 67 | ||
66 | The human readable text string starts directly after the ';' | 68 | The human readable text string starts directly after the ';' |
67 | and is terminated by a '\n'. Untrusted values derived from | 69 | and is terminated by a '\n'. Untrusted values derived from |
68 | hardware or other facilities are printed, therefore | 70 | hardware or other facilities are printed, therefore |
69 | all non-printable characters in the log message are escaped | 71 | all non-printable characters and '\' itself in the log message |
70 | by "\x00" C-style hex encoding. | 72 | are escaped by "\x00" C-style hex encoding. |
71 | 73 | ||
72 | A line starting with ' ', is a continuation line, adding | 74 | A line starting with ' ', is a continuation line, adding |
73 | key/value pairs to the log message, which provide the machine | 75 | key/value pairs to the log message, which provide the machine |
@@ -75,11 +77,11 @@ Description: The /dev/kmsg character device node provides userspace access | |||
75 | userspace. | 77 | userspace. |
76 | 78 | ||
77 | Example: | 79 | Example: |
78 | 7,160,424069;pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] (ignored) | 80 | 7,160,424069,-;pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] (ignored) |
79 | SUBSYSTEM=acpi | 81 | SUBSYSTEM=acpi |
80 | DEVICE=+acpi:PNP0A03:00 | 82 | DEVICE=+acpi:PNP0A03:00 |
81 | 6,339,5140900;NET: Registered protocol family 10 | 83 | 6,339,5140900,-;NET: Registered protocol family 10 |
82 | 30,340,5690716;udevd[80]: starting version 181 | 84 | 30,340,5690716,-;udevd[80]: starting version 181 |
83 | 85 | ||
84 | The DEVICE= key uniquely identifies devices the following way: | 86 | The DEVICE= key uniquely identifies devices the following way: |
85 | b12:8 - block dev_t | 87 | b12:8 - block dev_t |
@@ -87,4 +89,13 @@ Description: The /dev/kmsg character device node provides userspace access | |||
87 | n8 - netdev ifindex | 89 | n8 - netdev ifindex |
88 | +sound:card0 - subsystem:devname | 90 | +sound:card0 - subsystem:devname |
89 | 91 | ||
92 | The flags field carries '-' by default. A 'c' indicates a | ||
93 | fragment of a line. All following fragments are flagged with | ||
94 | '+'. Note, that these hints about continuation lines are not | ||
95 | neccessarily correct, and the stream could be interleaved with | ||
96 | unrelated messages, but merging the lines in the output | ||
97 | usually produces better human readable results. A similar | ||
98 | logic is used internally when messages are printed to the | ||
99 | console, /proc/kmsg or the syslog() syscall. | ||
100 | |||
90 | Users: dmesg(1), userspace kernel log consumers | 101 | Users: dmesg(1), userspace kernel log consumers |
diff --git a/Documentation/stable_kernel_rules.txt b/Documentation/stable_kernel_rules.txt index 4a7b54bd37e8..b0714d8f678a 100644 --- a/Documentation/stable_kernel_rules.txt +++ b/Documentation/stable_kernel_rules.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | Everything you ever wanted to know about Linux 2.6 -stable releases. | 1 | Everything you ever wanted to know about Linux -stable releases. |
2 | 2 | ||
3 | Rules on what kind of patches are accepted, and which ones are not, into the | 3 | Rules on what kind of patches are accepted, and which ones are not, into the |
4 | "-stable" tree: | 4 | "-stable" tree: |
@@ -42,10 +42,10 @@ Procedure for submitting patches to the -stable tree: | |||
42 | cherry-picked than this can be specified in the following format in | 42 | cherry-picked than this can be specified in the following format in |
43 | the sign-off area: | 43 | the sign-off area: |
44 | 44 | ||
45 | Cc: <stable@vger.kernel.org> # .32.x: a1f84a3: sched: Check for idle | 45 | Cc: <stable@vger.kernel.org> # 3.3.x: a1f84a3: sched: Check for idle |
46 | Cc: <stable@vger.kernel.org> # .32.x: 1b9508f: sched: Rate-limit newidle | 46 | Cc: <stable@vger.kernel.org> # 3.3.x: 1b9508f: sched: Rate-limit newidle |
47 | Cc: <stable@vger.kernel.org> # .32.x: fd21073: sched: Fix affinity logic | 47 | Cc: <stable@vger.kernel.org> # 3.3.x: fd21073: sched: Fix affinity logic |
48 | Cc: <stable@vger.kernel.org> # .32.x | 48 | Cc: <stable@vger.kernel.org> # 3.3.x |
49 | Signed-off-by: Ingo Molnar <mingo@elte.hu> | 49 | Signed-off-by: Ingo Molnar <mingo@elte.hu> |
50 | 50 | ||
51 | The tag sequence has the meaning of: | 51 | The tag sequence has the meaning of: |
@@ -79,6 +79,15 @@ Review cycle: | |||
79 | security kernel team, and not go through the normal review cycle. | 79 | security kernel team, and not go through the normal review cycle. |
80 | Contact the kernel security team for more details on this procedure. | 80 | Contact the kernel security team for more details on this procedure. |
81 | 81 | ||
82 | Trees: | ||
83 | |||
84 | - The queues of patches, for both completed versions and in progress | ||
85 | versions can be found at: | ||
86 | http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git | ||
87 | - The finalized and tagged releases of all stable kernels can be found | ||
88 | in separate branches per version at: | ||
89 | http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git | ||
90 | |||
82 | 91 | ||
83 | Review committee: | 92 | Review committee: |
84 | 93 | ||
diff --git a/Documentation/w1/slaves/w1_ds28e04 b/Documentation/w1/slaves/w1_ds28e04 new file mode 100644 index 000000000000..85bc9a7e02fe --- /dev/null +++ b/Documentation/w1/slaves/w1_ds28e04 | |||
@@ -0,0 +1,36 @@ | |||
1 | Kernel driver w1_ds28e04 | ||
2 | ======================== | ||
3 | |||
4 | Supported chips: | ||
5 | * Maxim DS28E04-100 4096-Bit Addressable 1-Wire EEPROM with PIO | ||
6 | |||
7 | supported family codes: | ||
8 | W1_FAMILY_DS28E04 0x1C | ||
9 | |||
10 | Author: Markus Franke, <franke.m@sebakmt.com> <franm@hrz.tu-chemnitz.de> | ||
11 | |||
12 | Description | ||
13 | ----------- | ||
14 | |||
15 | Support is provided through the sysfs files "eeprom" and "pio". CRC checking | ||
16 | during memory accesses can optionally be enabled/disabled via the device | ||
17 | attribute "crccheck". The strong pull-up can optionally be enabled/disabled | ||
18 | via the module parameter "w1_strong_pullup". | ||
19 | |||
20 | Memory Access | ||
21 | |||
22 | A read operation on the "eeprom" file reads the given amount of bytes | ||
23 | from the EEPROM of the DS28E04. | ||
24 | |||
25 | A write operation on the "eeprom" file writes the given byte sequence | ||
26 | to the EEPROM of the DS28E04. If CRC checking mode is enabled only | ||
27 | fully alligned blocks of 32 bytes with valid CRC16 values (in bytes 30 | ||
28 | and 31) are allowed to be written. | ||
29 | |||
30 | PIO Access | ||
31 | |||
32 | The 2 PIOs of the DS28E04-100 are accessible via the "pio" sysfs file. | ||
33 | |||
34 | The current status of the PIO's is returned as an 8 bit value. Bit 0/1 | ||
35 | represent the state of PIO_0/PIO_1. Bits 2..7 do not care. The PIO's are | ||
36 | driven low-active, i.e. the driver delivers/expects low-active values. | ||