Subject: CVS commit: [netbsd-4] src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 11/25/2007 08:48:29
Module Name:	src
Committed By:	xtraeme
Date:		Sun Nov 25 08:48:29 UTC 2007

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

Log Message:
Pull up following revision(s) (requested by itohy in ticket #980):
	sys/dev/ic/ninjascsi32.c: revision 1.13
	sys/dev/ic/ninjascsi32.c: revision 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.8 -r1.8.2.1 src/sys/dev/ic/ninjascsi32.c
cvs rdiff -r1.3 -r1.3.24.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.