Re: [Qemu-devel] [PATCH 2/4] s390: Add a mechanism to get the subchannel id.

2012-08-14 Thread Sebastian Ott
On Tue, 7 Aug 2012, Cornelia Huck wrote: +/** + * ccw_device_get_schid - obtain a subchannel id + * @cdev: device to obtain the id for + * @schid: where to fill in the values + */ +void ccw_device_get_schid(struct ccw_device *cdev, struct subchannel_id *schid) +{ + *schid =

Re: [Qemu-devel] [PATCH 2/4] s390: Add a mechanism to get the subchannel id.

2012-08-14 Thread Cornelia Huck
On Tue, 14 Aug 2012 10:52:09 +0200 (CEST) Sebastian Ott seb...@linux.vnet.ibm.com wrote: On Tue, 7 Aug 2012, Cornelia Huck wrote: +/** + * ccw_device_get_schid - obtain a subchannel id + * @cdev: device to obtain the id for + * @schid: where to fill in the values + */ +void

Re: [Qemu-devel] [PATCH 2/4] s390: Add a mechanism to get the subchannel id.

2012-08-14 Thread Sebastian Ott
On Tue, 14 Aug 2012, Cornelia Huck wrote: Sebastian Ott seb...@linux.vnet.ibm.com wrote: On Tue, 7 Aug 2012, Cornelia Huck wrote: +/** + * ccw_device_get_schid - obtain a subchannel id + * @cdev: device to obtain the id for + * @schid: where to fill in the values + */ +void

Re: [Qemu-devel] [PATCH 2/4] s390: Add a mechanism to get the subchannel id.

2012-08-13 Thread Sebastian Ott
On Tue, 7 Aug 2012, Cornelia Huck wrote: This will be needed by the new virtio-ccw transport. We already have ccw_device_get_subchannel_id which is currently used by qdio only and thus buried in an internal header file. So it would be better to just clean up this one and make it available to

[Qemu-devel] [PATCH 2/4] s390: Add a mechanism to get the subchannel id.

2012-08-07 Thread Cornelia Huck
This will be needed by the new virtio-ccw transport. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- arch/s390/include/asm/ccwdev.h | 5 + drivers/s390/cio/device_ops.c | 10 ++ 2 files changed, 15 insertions(+) diff --git a/arch/s390/include/asm/ccwdev.h