diff options
author | Cornelia Huck <cohuck@de.ibm.com> | 2005-11-07 03:59:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:32 -0500 |
commit | 373c491f6d15f29ab2f87d4a60f90cb0b770aaf6 (patch) | |
tree | c53b4ae56160e7e2cbcdc80be6dba99d50e24498 /Documentation/s390 | |
parent | 1b44e98d7d0754bbcf0222baf179f5e2e3dbea7b (diff) |
[PATCH] s390: documentation update
Fix typos and add a section about cpus in the driver-model documentation.
Signed-off-by: Cornelia Huck <cohuck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/s390')
-rw-r--r-- | Documentation/s390/driver-model.txt | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Documentation/s390/driver-model.txt b/Documentation/s390/driver-model.txt index 19461958e2bd..df09758bf3fe 100644 --- a/Documentation/s390/driver-model.txt +++ b/Documentation/s390/driver-model.txt | |||
@@ -8,11 +8,10 @@ All devices which can be addressed by means of ccws are called 'CCW devices' - | |||
8 | even if they aren't actually driven by ccws. | 8 | even if they aren't actually driven by ccws. |
9 | 9 | ||
10 | All ccw devices are accessed via a subchannel, this is reflected in the | 10 | All ccw devices are accessed via a subchannel, this is reflected in the |
11 | structures under root/: | 11 | structures under devices/: |
12 | 12 | ||
13 | root/ | 13 | devices/ |
14 | - sys | 14 | - system/ |
15 | - legacy | ||
16 | - css0/ | 15 | - css0/ |
17 | - 0.0.0000/0.0.0815/ | 16 | - 0.0.0000/0.0.0815/ |
18 | - 0.0.0001/0.0.4711/ | 17 | - 0.0.0001/0.0.4711/ |
@@ -36,7 +35,7 @@ availability: Can be 'good' or 'boxed'; 'no path' or 'no device' for | |||
36 | 35 | ||
37 | online: An interface to set the device online and offline. | 36 | online: An interface to set the device online and offline. |
38 | In the special case of the device being disconnected (see the | 37 | In the special case of the device being disconnected (see the |
39 | notify function under 1.2), piping 0 to online will focibly delete | 38 | notify function under 1.2), piping 0 to online will forcibly delete |
40 | the device. | 39 | the device. |
41 | 40 | ||
42 | The device drivers can add entries to export per-device data and interfaces. | 41 | The device drivers can add entries to export per-device data and interfaces. |
@@ -222,7 +221,7 @@ and are called 'chp0.<chpid>'. They have no driver and do not belong to any bus. | |||
222 | Please note, that unlike /proc/chpids in 2.4, the channel path objects reflect | 221 | Please note, that unlike /proc/chpids in 2.4, the channel path objects reflect |
223 | only the logical state and not the physical state, since we cannot track the | 222 | only the logical state and not the physical state, since we cannot track the |
224 | latter consistently due to lacking machine support (we don't need to be aware | 223 | latter consistently due to lacking machine support (we don't need to be aware |
225 | of anyway). | 224 | of it anyway). |
226 | 225 | ||
227 | status - Can be 'online' or 'offline'. | 226 | status - Can be 'online' or 'offline'. |
228 | Piping 'on' or 'off' sets the chpid logically online/offline. | 227 | Piping 'on' or 'off' sets the chpid logically online/offline. |
@@ -235,12 +234,16 @@ status - Can be 'online' or 'offline'. | |||
235 | 3. System devices | 234 | 3. System devices |
236 | ----------------- | 235 | ----------------- |
237 | 236 | ||
238 | Note: cpus may yet be added here. | ||
239 | |||
240 | 3.1 xpram | 237 | 3.1 xpram |
241 | --------- | 238 | --------- |
242 | 239 | ||
243 | xpram shows up under sys/ as 'xpram'. | 240 | xpram shows up under devices/system/ as 'xpram'. |
241 | |||
242 | 3.2 cpus | ||
243 | -------- | ||
244 | |||
245 | For each cpu, a directory is created under devices/system/cpu/. Each cpu has an | ||
246 | attribute 'online' which can be 0 or 1. | ||
244 | 247 | ||
245 | 248 | ||
246 | 4. Other devices | 249 | 4. Other devices |