On Wed, Mar 29, 2000 at 03:23:07PM +0300, Aki M Laukkanen wrote:
> > num_ports = readl (&ohci->regs->roothub.a) & 0xff;
>
> sparc64/i386:
> extern __inline__ unsigned int _readl(unsigned long addr)
>
> alpha:
> extern unsigned long _readl(unsigned long addr);
The only difference is that in many cases it prevents extra zero
extensions -- our comparision instructions only work on longs.
We still read a 32-bit quantity from the hardware.
But in this case it makes no difference because of the `& 0xff'.
> Maybe a print-out of the OHCI registers would help to determine if
> it's pointing to the correct location at all.
How would I go about getting such a dump? Is there a debug
switch I can turn on while building?
r~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]