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.
This commit is contained in:
Gene Stark 1997-10-06 04:43:46 +00:00
parent 9d886dc90c
commit 87737c5d85
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30154

View File

@ -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);
/*