From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH] ATA convert GSI to irq on ia64 Date: Thu, 15 Feb 2007 18:09:24 -0500 Message-ID: <45D4E824.1010903@garzik.org> References: <1170920422.15989.354.camel@ymzhang> <45CBCC31.7070909@garzik.org> <1170991791.15989.364.camel@ymzhang> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1170991791.15989.364.camel@ymzhang> Sender: linux-kernel-owner@vger.kernel.org To: "Zhang, Yanmin" Cc: Andrew Morton , LKML , linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org List-Id: linux-ide@vger.kernel.org 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 >> 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 applied