Thread (23 messages) 23 messages, 8 authors, 2012-08-07

Re: [PATCH V2 5/6] x86: add CONFIG_ARM_AMBA, selected by STA2X11

From: Jassi Brar <hidden>
Date: 2012-07-01 11:58:20
Also in: linux-arm-kernel, linux-serial, lkml

On 1 July 2012 16:29, Russell King - ARM Linux [off-list ref] wrote:
On Sun, Jul 01, 2012 at 12:44:01PM +0200, Alessandro Rubini wrote:
quoted
How should I address the problem? (original code, published on
sourceforge was simply replicating a number of amba drivers into pci
drivers, but I don't think massive code duplication is ever sensible,
thus I preferred to reuse the existing drivers).
I think the answer is... those primecell drivers need fixing in some way.
Re-defining CS, DS and ES in drivers is rather silly given that they're
x86 segment register names - so if PL330 can be fixed to make its names
more specific, that sorts it out.
I am OK prefixing the regs with PL330_ or somesuch.

The CS, DS and ES regs were named so as to match exactly the
terminology of the PL330 manual. So apparently even the ARM Ltd didn't
imagine ARM and X86 galaxies colliding so soon :)

Regards.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help