Aucbvax.2679 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Thu Aug 13 16:32:45 1981 RX21 driver >From JNC@MIT-XX Thu Aug 13 16:22:14 1981 I found a bug in the UNIX driver for an RX21 (RXV21 actually, is was on an 11/23) which I thought I'd propogate. The macro TRWAIT() should read: while (ptcs->lobyte >= 0) It currently has just a '>' (it's trying to see when the high bit turns off) and this causes problems becuase on a fast processor the first time you look at the register the controller won't let you and returns a 0, which has (obviously) undesireable results. Boy, was that a bitch to find.... Noel ------- ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.