* When code and comments disagree...
@ 2005-04-06 15:00 Ulrich Eckhardt
2005-04-06 20:19 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Eckhardt @ 2005-04-06 15:00 UTC (permalink / raw)
To: linux-mips
... 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?
Uli
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: When code and comments disagree...
2005-04-06 15:00 When code and comments disagree Ulrich Eckhardt
@ 2005-04-06 20:19 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2005-04-06 20:19 UTC (permalink / raw)
To: Ulrich Eckhardt; +Cc: linux-mips
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-07 8:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06 15:00 When code and comments disagree Ulrich Eckhardt
2005-04-06 20:19 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox