floppy: Improve floppy_pio() error checking.
commit068cb4f3511747fb03e16b37980dd3d1eefda910
authorKevin O'Connor <kevin@koconnor.net>
Sun, 3 Mar 2013 16:05:19 +0000 (3 11:05 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 3 Mar 2013 20:45:01 +0000 (3 15:45 -0500)
tree04ef4afaa3a7f3ab434deda1d4798b590f54946e
parentc8494055d2e5e64280dbc385cc001c1230472474
floppy: Improve floppy_pio() error checking.

The controller can be busy on a response without it being an error.
Don't spin infinitely if status isn't what is expected.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/floppy.c