s390-ccw.h (d247c8e7f4fc856abf799c37ca9818514ddb08b7) s390-ccw.h (b69c3c21a5d11075d42100d5cfe0a736593fae6b)
1/*
2 * s390 CCW Assignment Support
3 *
4 * Copyright 2017 IBM Corp.
5 * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
6 * Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
7 *
8 * This work is licensed under the terms of the GNU GPL, version 2 or (at

--- 19 unchanged lines hidden (view full) ---

28 CssDevId hostid;
29 char *mdevid;
30 int32_t bootindex;
31} S390CCWDevice;
32
33typedef struct S390CCWDeviceClass {
34 CCWDeviceClass parent_class;
35 void (*realize)(S390CCWDevice *dev, char *sysfsdev, Error **errp);
1/*
2 * s390 CCW Assignment Support
3 *
4 * Copyright 2017 IBM Corp.
5 * Author(s): Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
6 * Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
7 *
8 * This work is licensed under the terms of the GNU GPL, version 2 or (at

--- 19 unchanged lines hidden (view full) ---

28 CssDevId hostid;
29 char *mdevid;
30 int32_t bootindex;
31} S390CCWDevice;
32
33typedef struct S390CCWDeviceClass {
34 CCWDeviceClass parent_class;
35 void (*realize)(S390CCWDevice *dev, char *sysfsdev, Error **errp);
36 void (*unrealize)(S390CCWDevice *dev, Error **errp);
36 void (*unrealize)(S390CCWDevice *dev);
37 IOInstEnding (*handle_request) (SubchDev *sch);
38 int (*handle_halt) (SubchDev *sch);
39 int (*handle_clear) (SubchDev *sch);
40} S390CCWDeviceClass;
41
42#endif
37 IOInstEnding (*handle_request) (SubchDev *sch);
38 int (*handle_halt) (SubchDev *sch);
39 int (*handle_clear) (SubchDev *sch);
40} S390CCWDeviceClass;
41
42#endif