Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 07/26/2003 06:15:58
Module Name:	src
Committed By:	thorpej
Date:		Sat Jul 26 06:15:58 UTC 2003

Modified Files:
	src/sys/dev/ic: aic79xx.c aic79xx_inline.h aic79xxvar.h

Log Message:
Make this work on systems where bus_dmamap_sync() is not a noop.
In particular, when doing the "swap hscbs" trick, the scb must
reference the correct hscb_map when it gets a new hscb, otherwise
when you go to sync an hscb later, you could end up using the wrong
dmamap.

In order to make this work, we have to convert the shared_data stuff
to use a map_node, because of the "sentinel" trick played with the
initial "next_hscb".

This driver now works on XScale-based platforms.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/dev/ic/aic79xx.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/ic/aic79xx_inline.h
cvs rdiff -r1.5 -r1.6 src/sys/dev/ic/aic79xxvar.h

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