s390/cio: introduce io_subchannel_type
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 15 May 2017 13:49:07 +0000 (15:49 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:26:01 +0000 (16:26 +0200)
commit36f6237ebf4dfdf62813540e962d53584ba8b271
treefad190c077a68c3724cdeda0cae9e7604066ee98
parentead1dec8ed0497c4a3f7fc36135899e5f26563ab
s390/cio: introduce io_subchannel_type

The sysfs attributes implemented by the vfio_ccw driver are also implemented by
the io_subchannel driver. Move these into a device_type which is set by the
css bus.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/css.c
drivers/s390/cio/device.c
drivers/s390/cio/vfio_ccw_drv.c