aboutsummaryrefslogtreecommitdiff
path: root/src/biosvar.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-03-02 20:30:50 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-03-03 15:45:01 -0500
commit6e529bdae4922f48c0d7eaa31613b7a9230e8f95 (patch)
tree16433ffab6ddec0483cc273b08a6db299632c54a /src/biosvar.h
parent9ba374ce1d864b7a50f3657e6b06e7b2d1ec2934 (diff)
downloadseabios-hppa-6e529bdae4922f48c0d7eaa31613b7a9230e8f95.zip
seabios-hppa-6e529bdae4922f48c0d7eaa31613b7a9230e8f95.tar.gz
seabios-hppa-6e529bdae4922f48c0d7eaa31613b7a9230e8f95.tar.bz2
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>
Diffstat (limited to 'src/biosvar.h')
-rw-r--r--src/biosvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/biosvar.h b/src/biosvar.h
index 520fc3e..bbb196a 100644
--- a/src/biosvar.h
+++ b/src/biosvar.h
@@ -120,7 +120,7 @@ struct bios_data_area_s {
} PACKED;
// BDA floppy_recalibration_status bitdefs
-#define FRS_TIMEOUT (1<<7)
+#define FRS_IRQ (1<<7)
// BDA rtc_wait_flag bitdefs
#define RWS_WAIT_PENDING (1<<0)