From owner-cvs-sys Wed Jan 29 13:50:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA24185 for cvs-sys-outgoing; Wed, 29 Jan 1997 13:50:09 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA24177; Wed, 29 Jan 1997 13:50:07 -0800 (PST) Date: Wed, 29 Jan 1997 13:50:07 -0800 (PST) From: Bruce Evans Message-Id: <199701292150.NAA24177@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa sio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/01/29 13:50:06 Modified: sys/i386/isa sio.c Log: Fixes and workarounds for Hayes ESP: - don't uselessly initialize the fifo "DMA" bit at attach time. - initialize the fifo "DMA" bit at open time. Without this, the device interrupts for every character received, reducing input performance to that of an 8250. - don't uselessly initialize the fifo trigger level to 8 (scaled to 256) at attach time. - don't scale the fifo trigger level to 512 bytes. The driver's pseudo- dma buffer has size 256, so it can't handle bursts of size 512 or 256. It should be able to handle the second lowest ftl (2 scaled to 64). - don't reset the fifos in siostop(). Reset triggers a hardware bug involving wedging of the output interrupt bit This workaround unfortunately requires ESP support to be configured. Revision Changes Path 1.157 +25 -7 src/sys/i386/isa/sio.c