Re: [PATCH] ATA convert GSI to irq on ia64

From: Jeff Garzik
Date: Thu Feb 15 2007 - 18:10:00 EST


Zhang, Yanmin wrote:
On Thu, 2007-02-08 at 20:19 -0500, Jeff Garzik wrote:
Zhang, Yanmin wrote:
If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the
fixed irq number. On ia64 platform, such numbers are GSI and should be converted
to irq vector.

Below patch against kernel 2.6.20 fixes it.

Signed-off-by: Zhang Yanmin <yanmin.zhang@xxxxxxxxx>
IA64 should create its own libata-portmap.h, rather than modifying the one in asm-generic with arch-specific choices.

powerpc is a current example of this (and currently the only non-asm-generic user) found in kernel 2.6.20.
Thank Jeff. I worked out a new patch.

If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed
irq number. On ia64 platform, such numbers are GSI and should be converted to irq
vector.

Below patch against kernel 2.6.20 fixes it.
Signed-off-by: Zhang Yanmin <yanmin.zhang@xxxxxxxxx>

applied


-
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/