Subject: kern/13341: Tigon driver cannot work on MIPS, ARM, UltraSPARC platforms
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@zembu.com>
List: netbsd-bugs
Date: 06/29/2001 08:26:17
>Number:         13341
>Category:       kern
>Synopsis:       Tigon driver cannot work on MIPS, ARM, UltraSPARC platforms
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 08:25:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jason R. Thorpe
>Release:        NetBSD 1.5W, June 29, 2001
>Organization:
Zembu Labs, Inc.
>Environment:
	Any platform which has a bus_dmamap_sync() which actually
	does something.

>Description:
	The Tigon (`ti') driver does not use bus_dmamap_sync() to
	synchronize DMA mappings for the incoming/outgoing packets,
	or for the host->Tigon communication data structures stored
	in host memory.

>How-To-Repeat:
	Code inspection.

>Fix:
	Add bus_dmamap_sync() calls in the appropriate places.
	(Maybe it's easier to just rewrite the driver from scratch?)
>Release-Note:
>Audit-Trail:
>Unformatted: