linux-mips
[Top] [All Lists]

Re: When code and comments disagree...

To: Ulrich Eckhardt <eckhardt@satorlaser.com>
Subject: Re: When code and comments disagree...
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 6 Apr 2005 21:19:15 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <200504061700.53764.eckhardt@satorlaser.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200504061700.53764.eckhardt@satorlaser.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Wed, Apr 06, 2005 at 05:00:53PM +0200, Ulrich Eckhardt wrote:

> ... both are probably wrong, as the saying goes. I stumbled across this line 
> in arch/mips/au1000/common/reset.c:
> 
>    au_writel(0x00, 0xb1900100); /* sys_pininputen */
> 
> However, 0xb1900100 is SYS_TRIOUTCLR, while SYS_PININPUTEN is 0xb1900110... 
> Which one is right now?
> 
> Also, does the switch statement in that file make sense at all? I mean is it 
> possible to compile a kernel that runs on several Alchemy systems?

Technically it's certainly possible to share kernels for many of the
Linux/MIPS platforms but for an architecture that these days largely
powers embedded platforms a generic kernel is of much less usefullnes than
on PCs, for example.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>