disklib: updates to params/read/write functions
authorMichal Soltys <soltys@ziu.info>
Sat, 9 Oct 2010 21:55:50 +0000 (23:55 +0200)
committerMichal Soltys <soltys@ziu.info>
Mon, 11 Oct 2010 22:37:17 +0000 (00:37 +0200)
commitf5a591bf3b23f6f5fd25871f0f319b49c42e207e
tree631ad5ce0a1fa1aa32637fbb65908e84563a8e42
parent0df48d45f6560954d3b71a82ea84c669db9b6ae9
disklib: updates to params/read/write functions

disk_get_params():

Don't bail out if we fail int13h/48h call in ebios == 1 case. Regular
CHS might still be enough.

disk_read_sectors(), disk_write_sectors():

We don't need separate cases for valid and invalid cbios with the data
prepared by the current disk_get_params() function.

Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/lib/syslinux/disk.c