From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] ATA convert GSI to irq on ia64 Date: Thu, 8 Feb 2007 19:42:04 +0000 Message-ID: <20070208194204.GC2354@infradead.org> References: <1170920422.15989.354.camel@ymzhang> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1170920422.15989.354.camel@ymzhang> Sender: linux-ide-owner@vger.kernel.org To: "Zhang, Yanmin" Cc: LKML , linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org, Jeff Garzik List-Id: linux-scsi@vger.kernel.org On Thu, Feb 08, 2007 at 03:40:22PM +0800, 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. These direct arch ifdefs in core aren't acceptable. The again I'm pretty sure we have patches floating around to turn these two macros into architecture-supplied ones, IIRC it came from the powerpc side.