s390x/css: consolidate the devno property for ccw devices

'devno' should rather be a property of the ccw device, instead of a
property of a specific virtio-ccw device. Let's consolidate it.

While we are at here, also rename CcwDevice.bus_id to CcwDevice.devno to
make things clearer.

Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
Dong Jia Shi 2017-02-15 06:33:03 +01:00 committed by Cornelia Huck
parent d8d98db5f0
commit 2a78ac660f
3 changed files with 4 additions and 13 deletions

View file

@ -20,7 +20,7 @@ typedef struct CcwDevice {
SubchDev *sch;
/* <cssid>.<ssid>.<device number> */
/* The user-set busid of the virtual ccw device. */
CssDevId bus_id;
CssDevId devno;
/* The actual busid of the virtual ccw device. */
CssDevId dev_id;
/* The actual busid of the virtual subchannel. */