From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Dooks Subject: Re: [patch 1/1] LIBATA: Allow devices without IRQ specified to fall back Date: Thu, 24 Jul 2008 12:50:42 +0100 Message-ID: <20080724115042.GK26938@trinity.fluff.org> References: <20080723144226.807475493@fluff.org> <20080723144227.253944199@fluff.org> <20080723163216.7477be06@lxorguk.ukuu.org.uk> <20080723190433.GB26938@trinity.fluff.org> <20080723201349.33226d58@lxorguk.ukuu.org.uk> <20080724112637.GG26938@trinity.fluff.org> <20080724121328.5d281b97@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from trinity.fluff.org ([89.145.97.151]:55959 "EHLO trinity.fluff.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753122AbYGXLun (ORCPT ); Thu, 24 Jul 2008 07:50:43 -0400 Content-Disposition: inline In-Reply-To: <20080724121328.5d281b97@lxorguk.ukuu.org.uk> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: Ben Dooks , linux-ide@vger.kernel.org, vince@simtec.co.uk On Thu, Jul 24, 2008 at 12:13:28PM +0100, Alan Cox wrote: > > I had a look, and there doesn't seem to be any way of specifying an > > IRQ for a host port when registering with libata-sff.c, which is a > > problem since we need to be able to either pass-in or have a callback > > to allow our "quirk" to specify a new IRQ for the device. > > Currently there is not. However if the device as a whole is wired to IRQ > 14 you want to quirk pdev->irq. That would be great if both channels are mapped to 14, however the mapping set by default is for each channel to have an unique IRQ. -- Ben Q: What's a light-year? A: One-third less calories than a regular year.