From owner-cvs-all Sat Dec 19 08:29:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA22992 for cvs-all-outgoing; Sat, 19 Dec 1998 08:29:01 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA22986; Sat, 19 Dec 1998 08:28:59 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA13127; Sat, 19 Dec 1998 08:28:59 -0800 (PST) Date: Sat, 19 Dec 1998 08:28:59 -0800 (PST) Message-Id: <199812191628.IAA13127@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa cy.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1998/12/19 08:28:58 PST Modified files: sys/i386/isa cy.c Log: Wait for channel commands to complete after issuing the commands. 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. Revision Changes Path 1.81 +30 -16 src/sys/i386/isa/cy.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message