Subject: Re: port-i386/2109: ultra14f.c byte-read of board ID fails on 34f (mine at least)
To: None <Chris_G_Demetriou@niagara.nectar.cs.cmu.edu>
From: Mark H. Weaver <mhw@netris.org>
List: netbsd-bugs
Date: 02/23/1996 04:09:28
Chris_G_Demetriou@NIAGARA.NECTAR.CS.CMU.EDU writes:
> > 
> > Recent changes to ultra14f.c cause it to read the board ID and
> > configuration using byte-reads instead of word-reads, perhaps because
> > this was necessary for someone else.  On my 34f (VLB), the byte-reads
> > don't yield a valid board ID, and the board is not recognized.
> 
> What _is_ returned by byte reads?

Sorry, should've thought to check for that.  0x4156 is read, and
0x5641 is what we want, meaning that the word-read seems to be
returning the big-endian representation for some reason.

Was the change to byte-reads ever tested?

	Mark
___________________  ___________________
\  Mark H. Weaver  \ \  mhw@netris.org  \
 ~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~