Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: source-changes
Date: 01/14/2006 07:14:45
Module Name:	src
Committed By:	itohy
Date:		Sat Jan 14 07:14:45 UTC 2006

Modified Files:
	src/sys/dev/ic: ninjascsi32.c

Log Message:
- Fix panic when the DMA buffer is not 4byte aligned.
  In this case, the transfer count becomes larger than the reality,
  and this fix works around it.

- Add missing bus_dmamap_unload() in attach failure path.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/dev/ic/ninjascsi32.c

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