commit | 6e529bdae4922f48c0d7eaa31613b7a9230e8f95 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Mar 02 20:30:50 2013 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Mar 03 15:45:01 2013 -0500 |
tree | 16433ffab6ddec0483cc273b08a6db299632c54a | |
parent | 9ba374ce1d864b7a50f3657e6b06e7b2d1ec2934 [diff] |
floppy: Cleanup floppy irq wait handling. Rename FRS_TIMEOUT to FRS_IRQ - the flag indicates that an irq has been received - it isn't directly related to timeouts. On a timeout event, disable the floppy controller instead of doing a full reset. Also, perform the disable directly in floppy_wait_irq(). Always wait for the floppy irq after enabling the controller and after a recalibrate command. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>