home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!caen!umeecs!dip.eecs.umich.edu!dmuntz
- From: dmuntz@dip.eecs.umich.edu (Daniel A Muntz)
- Subject: Re: 386bsd X problems
- Message-ID: <1992Aug20.162909.1669@zip.eecs.umich.edu>
- Keywords: X, xterm
- Sender: news@zip.eecs.umich.edu (Mr. News)
- Organization: University of Michigan EECS Dept., Ann Arbor
- References: <1992Aug19.202509.20831@uwm.edu> <1992Aug19.211301.28570@zip.eecs.umich.edu>
- Date: Thu, 20 Aug 1992 16:29:09 GMT
- Lines: 25
-
- In article <1992Aug19.211301.28570@zip.eecs.umich.edu> dmuntz@dip.eecs.umich.edu (Daniel A Muntz) writes:
- [new com.c w/o comreg.h diffs]
-
- To use the previously posted com.c, apply this patch to comreg.h:
-
- 36,39d35
- < /*
- < * With modifications from brad huntting <huntting@glarp.com>
- < * Sun Jun 14 13:32:28 MDT 1992
- < */
- 41,49c37,38
- < /*
- < * 16 bit baud rate divisor (lower byte in com_dlbl, upper in
- < * com_dlbh) 1.8432MHz/16x (COMTIK/x) rounded off. If the baud
- < * rate can't be set to within (desired_rate*SPEED_TOLERANCE/1000)bps
- < * comspeed() returns -1. COMBRD must be a/b (as opposed to (a/b))
- < * or the accuracy check will not work.
- < */
- < #define COMTIK (1843200/16)
- < #define SPEED_TOLERANCE 30 /* real == desired +- 3.0% */
- ---
- > /* 16 bit baud rate divisor (lower byte in dca_data, upper in dca_ier) */
- > #define COMBRD(x) (1843200 / (16*(x)))
-
-
-