linux-mips
[Top] [All Lists]

Re: DECstation R3000 boot error

To: Martin Michlmayr <tbm@cyrius.com>
Subject: Re: DECstation R3000 boot error
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Tue, 14 Feb 2006 10:01:51 +0000 (GMT)
Cc: linux-mips@linux-mips.org
In-reply-to: <20060213232329.GA8286@deprecation.cyrius.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060123225040.GA23576@deprecation.cyrius.com> <Pine.LNX.4.64N.0601241059140.11021@blysk.ds.pg.gda.pl> <20060124122700.GA8527@deprecation.cyrius.com> <Pine.LNX.4.64N.0601241227290.11021@blysk.ds.pg.gda.pl> <20060124232117.GA4165@codecarver> <Pine.LNX.4.64N.0601251103020.7675@blysk.ds.pg.gda.pl> <20060203150232.GA25701@deprecation.cyrius.com> <Pine.LNX.4.64N.0602061021110.32080@blysk.ds.pg.gda.pl> <Pine.LNX.4.64N.0602130911260.17051@blysk.ds.pg.gda.pl> <20060213225927.GB4226@deprecation.cyrius.com> <20060213232329.GA8286@deprecation.cyrius.com>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 13 Feb 2006, Martin Michlmayr wrote:

> OK, I got it down to:
> 
>   CC      drivers/tc/lk201.o
> drivers/tc/lk201.c: In function ‘lk201_rx_char’:
> drivers/tc/lk201.c:361: warning: implicit declaration of function 
> ‘handle_scancode’
> drivers/tc/lk201.c: In function ‘lk201_init’:
> drivers/tc/lk201.c:405: error: invalid lvalue in assignment
> drivers/tc/lk201.c:406: error: invalid lvalue in assignment
> make[2]: *** [drivers/tc/lk201.o] Error 1
> 
> But this driver really needs to be ported to the new input interface.

 The driver has been ported by JBG (thanks!) -- it's the zs.c driver that 
needs to be ported to the new serial infrastructure.  But that's tough if 
to be done properly (DMA and synchronous modes are not handled well by the 
serial core), so not at the moment, sorry.  I'll think about minimal 
functionality to keep it going though and perhaps lk201.c could be changed 
to work with current zs.c as is (dz.c has already been ported -- I have no 
way of testing it, so I somewhat lack incentive to go through it and 
verify if it's at least as good as the old driver in 2.4.)...

 I'm not sure what your patch is meant to do, but if changing rate to 
period you need to invert the values as well -- period = 1 / rate -- and 
the hardware expects rates in cps IIRC; mind the units, though.

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