summaryrefslogtreecommitdiff
path: root/virtio-v1.0-wd01-part1-specification.txt
diff options
context:
space:
mode:
authorcornelia.huck <cornelia.huck@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-10-15 08:45:14 +0000
committercornelia.huck <cornelia.huck@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-10-15 08:45:14 +0000
commita29c58e6a7b35c835b597abc9efc1525080f4bc9 (patch)
tree813bc6ada888399d5f68de50d14ba79b5ff97375 /virtio-v1.0-wd01-part1-specification.txt
parentce8f8738ef0334a13001008cabb77d9139242df7 (diff)
virtio-ccw: clarify sense id operation
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@65 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'virtio-v1.0-wd01-part1-specification.txt')
-rw-r--r--virtio-v1.0-wd01-part1-specification.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/virtio-v1.0-wd01-part1-specification.txt b/virtio-v1.0-wd01-part1-specification.txt
index 5aad07e..66d3bab 100644
--- a/virtio-v1.0-wd01-part1-specification.txt
+++ b/virtio-v1.0-wd01-part1-specification.txt
@@ -1544,6 +1544,28 @@ normal channel subsystem device discovery (usually a STORE
SUBCHANNEL loop) and answers to the basic channel commands, most
importantly SENSE ID.
+For a virtio-ccw proxy device, SENSE ID will return the following
+information:
+
+------------------------------------------------------
+| Bytes | Contents |
+|-------|--------------------------------------------|
+| 0 | reserved | 0xff |
+|-------|-----------------------|--------------------|
+| 1-2 | control unit type | 0x3832 |
+|-------|-----------------------|--------------------|
+| 3 | control unit model | <virtio device id> |
+|-------|-----------------------|--------------------|
+| 4-5 | device type | zeroes (unset) |
+|-------|-----------------------|--------------------|
+| 6 | device model | zeroes (unset) |
+|-------|-----------------------|--------------------|
+| 7-255 | extended SenseId data | zeroes (unset) |
+------------------------------------------------------
+
+A driver for virtio-ccw devices MUST check for a control unit
+type of 0x3832 and MUST ignore the device type and model.
+
In addition to the basic channel commands, virtio-ccw defines a
set of channel commands related to configuration and operation of
virtio: