diff options
author | Halil Pasic <pasic@linux.vnet.ibm.com> | 2017-07-11 16:54:41 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-07-14 12:29:48 +0200 |
commit | b5f5a3afb635109fa6c1d03a9c6e2653adde09a1 (patch) | |
tree | dff350cc5160c6945436cef5f678a5cd910b8e0f /include | |
parent | e996583eb35c8e3a182ed599318d30cb0be6a001 (diff) | |
download | qemu-b5f5a3afb635109fa6c1d03a9c6e2653adde09a1.zip |
s390x/css: use SubchDev.orb
Instead of passing around a pointer to ORB let us simplify some
function signatures by using the previously introduced ORB saved at the
subchannel (SubchDev).
Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-Id: <20170711145441.33925-7-pasic@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/s390x/css.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hw/s390x/css.h b/include/hw/s390x/css.h index 71076cb98f..c9edd0721b 100644 --- a/include/hw/s390x/css.h +++ b/include/hw/s390x/css.h @@ -94,7 +94,7 @@ struct SubchDev { /* transport-provided data: */ int (*ccw_cb) (SubchDev *, CCW1); void (*disable_cb)(SubchDev *); - int (*do_subchannel_work) (SubchDev *, ORB *); + int (*do_subchannel_work) (SubchDev *); SenseId id; void *driver_data; }; @@ -157,8 +157,8 @@ void css_generate_chp_crws(uint8_t cssid, uint8_t chpid); void css_generate_css_crws(uint8_t cssid); void css_clear_sei_pending(void); int s390_ccw_cmd_request(ORB *orb, SCSW *scsw, void *data); -int do_subchannel_work_virtual(SubchDev *sub, ORB *orb); -int do_subchannel_work_passthrough(SubchDev *sub, ORB *orb); +int do_subchannel_work_virtual(SubchDev *sub); +int do_subchannel_work_passthrough(SubchDev *sub); typedef enum { CSS_IO_ADAPTER_VIRTIO = 0, |