[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: "Federico G. Schwindt" <fgsch_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 13 Oct 2005 08:58:57 -0600 (MDT)
Module name: src
Changes by: fgsch_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2005/10/13 08:58:56
sys/dev/ic : com_subr.c
Over the years, different UARTs have appeared in the market.
Unfortunately most vendors implement hidden bits/features and ships with
buggy buffers. This is our first attempt to fix this. Test the fifo size
by putting the fifo into loopback mode and reading back what we wrote.
It seems to be very much accurate and has correctly identified several
buggy UARTs. Commented out for now.
Tested by several people with different hardware, many thanks.
Idea from Theo, code by myself.
Visit your host, monkey.org