From a29c58e6a7b35c835b597abc9efc1525080f4bc9 Mon Sep 17 00:00:00 2001 From: "cornelia.huck" Date: Tue, 15 Oct 2013 08:45:14 +0000 Subject: virtio-ccw: clarify sense id operation Signed-off-by: Cornelia Huck git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@65 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- virtio-v1.0-wd01-part1-specification.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 | | +|-------|-----------------------|--------------------| +| 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: -- cgit v1.2.3