Subject: kern/9660: awi driver fails on non-PC platforms
To: None <gnats-bugs@gnats.netbsd.org>
From: None <root@ihack.net>
List: netbsd-bugs
Date: 03/22/2000 17:15:05
>Number:         9660
>Category:       kern
>Synopsis:       awi driver fails on non-PC platforms
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 22 17:15:00 2000
>Last-Modified:
>Originator:     Charles M. Hannum
>Organization:
	Internetwork Hacker
>Release:        -current as of 20000322
>Environment:
	IBM WorkPad z50 (hpcmips)

>Description:
	Due to unaligned memory accesses in awi_rxint() and awi_txint(), the
	awi driver crashes on platforms that do not permit unaligned memory
	accesses.

	Such accesses are expected, because the descriptors are not guaranteed
	to be aligned.

>How-To-Repeat:
	Try to use an awi card on a hpcmips platform.  (Presumably the same
	problem will occur on an Alpha.)

>Fix:
	Alter awi_rxint() and awi_txint() to use byte accesses.
>Audit-Trail:
>Unformatted: