pc-bios/s390-ccw: handle different sector sizes
commit91a03f9b6953cca0e8c05402e141a576b01063e2
authorEugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Mon, 19 May 2014 18:10:27 +0000 (19 20:10 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 27 Jun 2014 10:10:03 +0000 (27 12:10 +0200)
treea09959f4ebd8b7cb7db193cda86e4150bfce6507
parent26f2bbd6b1c6ef6eb3f84a2ddb0be92f4d93049a
pc-bios/s390-ccw: handle different sector sizes

Use the virtio device's configuration to figure out the disk geometry
and use a sector size based upon the layout.

[CH: s/SECTOR_SIZE/MAX_SECTOR_SIZE/g]
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
pc-bios/s390-ccw/bootmap.c
pc-bios/s390-ccw/s390-ccw.h
pc-bios/s390-ccw/virtio.c
pc-bios/s390-ccw/virtio.h