summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/tw.c
diff options
context:
space:
mode:
authorstark <stark@FreeBSD.org>1997-10-06 04:43:46 +0000
committerstark <stark@FreeBSD.org>1997-10-06 04:43:46 +0000
commit95340bfb24743d207d6064c12b64b2f6b85c2d5d (patch)
treec6b7c83f8486b1f7010c8e24f86a2461a2b2013d /sys/i386/isa/tw.c
parentf58026beed6e1c107a0ea57e0608802f8a44af54 (diff)
downloadFreeBSD-src-95340bfb24743d207d6064c12b64b2f6b85c2d5d.zip
FreeBSD-src-95340bfb24743d207d6064c12b64b2f6b85c2d5d.tar.gz
Fixed spot in twintr() where tw_control and TWC_SYNC were used instead
of tw_zcport and tw_zcmask. Could cause problems for people who use pin 12 for sync.
Diffstat (limited to 'sys/i386/isa/tw.c')
-rw-r--r--sys/i386/isa/tw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c
index 64671cc..603840b 100644
--- a/sys/i386/isa/tw.c
+++ b/sys/i386/isa/tw.c
@@ -931,7 +931,7 @@ int unit;
* Ignore any interrupts that occur if the device is not open.
*/
if(sc->sc_state == 0) return;
- newphase = inb(port + tw_control) & TWC_SYNC;
+ newphase = inb(port + tw_zcport) & tw_zcmask;
microtime(&tv);
/*
OpenPOWER on IntegriCloud