Subject: CVS commit: [netbsd-3] src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 11/19/2007 21:33:51
Module Name:	src
Committed By:	bouyer
Date:		Mon Nov 19 21:33:51 UTC 2007

Modified Files:
	src/sys/dev/ic [netbsd-3]: ninjascsi32.c ninjascsi32var.h

Log Message:
Pull up following revision(s) (requested by itohy in ticket #1875):
	sys/dev/ic/ninjascsi32.c: revision 1.13, 1.14
	sys/dev/ic/ninjascsi32var.h: revision 1.4
Fix problem where targets with ID 0, 1, or 2 couldn't be reconnected.
It seems I have always tested with targets those ID >= 3,
and that I am the only user of this driver.
- Reset the bus if a Bus Reset condition is detected to make sure
  all devices on the bus are really reset.
- Block interrupts on Bus Reset, and check it periodically until the
  reset is released.  On some 32UDE devices (probably the earlier ones)
  the RST line looks unstable without the termination power and may
  suffer ~continuous Bus Reset interrupts.
- Change number of scatter/gather segments from 16 to 17, to allow
  non-page-aligned 64KB transfer on 4KB/page platforms.


To generate a diff of this commit:
cvs rdiff -r1.2.16.1 -r1.2.16.2 src/sys/dev/ic/ninjascsi32.c
cvs rdiff -r1.2 -r1.2.16.1 src/sys/dev/ic/ninjascsi32var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.