freebsd-dev/sys/dev/nsp
Noriaki Mitsunaga 9d92f16230 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
2001-09-02 07:18:29 +00:00
..
nsp_pccard.c Demand minimum I/O size rather than 0 when it calls 2001-09-02 06:42:40 +00:00
nsp.c Fix bus timeout bug which might happen when nsp do suspend I/O burst write. 2001-09-02 07:18:29 +00:00
nspreg.h Catch up with NetBSD/pc98. 2001-07-14 00:38:51 +00:00
nspvar.h Catch up with NetBSD/pc98. 2001-07-14 00:38:51 +00:00