linux-mips
[Top] [All Lists]

Re: [PATCH] Support for PMC-Sierra Ocelot-3 in 2.6

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] Support for PMC-Sierra Ocelot-3 in 2.6
From: Manish Lachwani <mlachwani@mvista.com>
Date: Tue, 02 Nov 2004 14:09:33 -0800
Cc: Manish Lachwani <mlachwani@prometheus.mvista.com>, linux-mips@linux-mips.org
In-reply-to: <20041102230733.GC28025@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20041102201720.GB24674@prometheus.mvista.com> <20041102230733.GC28025@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308
Ralf Baechle wrote:
On Tue, Nov 02, 2004 at 12:17:20PM -0800, Manish Lachwani wrote:


+#ifdef CONFIG_MIPS64
+               0xfffffffffc807000;
+#else
+               0xfc807000;
+#endif


Ouch.  Rather ugly.  I suggest you rely on the implicit sign extension
of the compiler instead.

  Ralf

 Got it. Will send a patch with the changes and with PCI included

Thanks
Manish Lachwani


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