Re: [PATCH] restore libata build on frv

From: David Howells
Date: Mon Sep 25 2006 - 10:41:07 EST


Al Viro <viro@xxxxxxxxxxxxxxxx> wrote:

> Fine by me. In that case we need to add
> depends on !FRV || BROKEN

My point is that all the numbers are invalid or incorrect. They will cause
the arch to oops, and so need completely replacing. So that patch you added
is incorrect and should not include asm-generic/libata-portmap.h as nothing in
there is correct on this arch. So your patch should *not* be applied, but
should instead be replaced.

> to drivers/ata/Kconfig and be done with that. BTW, empty libata-portmap.h
> is equivalent to absent one - it still won't build.

Why does the arch have to supply those numbers? What's wrong with my
suggested patch? According to code in libata, these are _legacy_ access
methods, and on FRV they aren't currently required, so why can't I dispense
with them if they're not needed? Doing that not only skips legacy accesses
for ISA compatibility, it also reduces the code size by not actually emitting
the code for the accesses, thus making the kernel smaller...

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/