mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
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:
parent
9d886dc90c
commit
87737c5d85
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30154
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user