Date: Mon, 3 Sep 2001 18:45:41 -0700 (PDT) From: Noriaki Mitsunaga <non@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/nsp nsp.c Message-ID: <200109040145.f841jfO37731@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
non 2001/09/03 18:45:41 PDT Modified files: (Branch: RELENG_4) sys/dev/nsp nsp.c Log: [MFC] 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 Approved-by: jkh Revision Changes Path 1.1.2.5 +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109040145.f841jfO37731>