From owner-cvs-all Sun Sep 2 0:18:33 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A7C3D37B403; Sun, 2 Sep 2001 00:18:29 -0700 (PDT) Received: (from non@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f827ITb60868; Sun, 2 Sep 2001 00:18:29 -0700 (PDT) (envelope-from non) Message-Id: <200109020718.f827ITb60868@freefall.freebsd.org> From: Noriaki Mitsunaga Date: Sun, 2 Sep 2001 00:18:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/nsp nsp.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG non 2001/09/02 00:18:29 PDT Modified files: sys/dev/nsp nsp.c Log: Fix bus timeout bug which might happen when nsp do suspend I/O burst write. A nsp chip does suspend I/O write by 512bytes burst write, though the chip only has 48 bytes FIFO. The chip assert I/O WAIT signal to PC-Card bus after the CPU writes more than 48 bytes to the chip if the SCSI device does not respond immediately in supsend I/O burst write. If the device does not respond for a while it might cause PC-Card bus timeout. The previous work around was to wait the request from SCSI device. But there are some devices which request bytes for synchronous transfer immediately. So current work aound is to fill 32bytes FIFO, wait for FIFO empty and burst write 512-32 bytes for every 512 bytes block. Submitted-by: Honda-san (the author of the driver) Obtained-from: NetBSD/pc98 Revision Changes Path 1.6 +24 -10 src/sys/dev/nsp/nsp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message