]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
floppy: Clean up Check Interrupt Status code.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 3 Mar 2013 02:26:54 +0000 (21:26 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 3 Mar 2013 20:45:01 +0000 (15:45 -0500)
commit1f711d2ae89a9753b48c67373936d46a2b75578a
tree96a590d3a98139fa80c6d0465fe7c46d9bec59a0
parent6e529bdae4922f48c0d7eaa31613b7a9230e8f95
floppy: Clean up Check Interrupt Status code.

Don't run the Check Interrupt Status command from the floppy hardware
interrupt handler.  Instead, run it where it is needed - after
controller startup and after a recalibration command.  Also, use
floppy_pio() to issue the command instead of open coding it.

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