Subject: kern/18360: wi(4) core dump on sparc
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/21/2002 22:03:40
>Number:         18360
>Category:       kern
>Synopsis:       wi(4) core dump on sparc
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 21 05:25:00 PDT 2002
>Originator:     matthew green
>Release:        NetBSD 1.6H
people's front against (bozotic) www (softwar foundation)
System: NetBSD 1.6H NetBSD 1.6H (_fish_) #114: Fri Sep 13 14:37:50 EST 2002 i386
Architecture: i386
Machine: i386

	using hostap mode on a sparc causes the machine to crash.  this
	is because of the stupid addr_cmp() inline function in wi.c.


	use wi0 hostap mode on a sparc, or presumably any alignment
	forcing architecture.


	#define addr_cmp(a,b) memcmp(a,b,6)

	?  this works for me just fine.  isn't there an ether_cmp as well?