Subject: Re: kern/32032: axe/ukphy combo does not work on big-endian machines
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Lennart Augustsson <lennart@augustsson.net>
List: netbsd-bugs
Date: 11/09/2005 23:12:01
The following reply was made to PR kern/32032; it has been noted by GNATS.

From: Lennart Augustsson <lennart@augustsson.net>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/32032: axe/ukphy combo does not work on big-endian machines
Date: Thu, 10 Nov 2005 00:11:01 +0100

 I think you are absolutly right.  If you look at axe_mii_readreg()
 and axe_mii_writereg() you can see that the value val is
 totally mishandled.  It is not byte swapped, and in the case
 of writing the address of a 32 bit variable is used where you
 need the address to two bytes.
 
 You could try fixing that.
 
 	-- Lennart
 
 
 garrett_damore@tadpole.com wrote:
 >>Number:         32032
 >>Category:       kern
 >>Synopsis:       axe/ukphy combo does not work on big-endian machines