mirror of
https://github.com/opnsense/src.git
synced 2026-03-17 08:02:24 -04:00
The optimisation of only waiting before issuing new commands is obviously invalid in general and it caused many errors in NIST-PCTS. I think the errors were mostly for characters sent with the wrong parity, etc., after a half complete tcsetattr(). Use microtime() instead of a magic loop count to limit the wait. The wait is a busy-wait :-( and normally takes about 500 usec. |
||
|---|---|---|
| .. | ||
| cy.c | ||
| cy_isa.c | ||
| cy_pci.c | ||
| cyreg.h | ||