[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	fgsch_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2005/10/13 08:58:56

Modified files:
	sys/dev/ic     : com_subr.c 

Log message:
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.