From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Justin T. Gibbs" Subject: Re: Aic7xxx and Aic79xx Driver Updates Date: Sat, 03 May 2003 17:03:11 -0600 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <1430760000.1052002991@aslan.scsiguy.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.scsiguy.com ([63.229.232.106]:28944 "EHLO aslan.scsiguy.com") by vger.kernel.org with ESMTP id S263459AbTECWu7 (ORCPT ); Sat, 3 May 2003 18:50:59 -0400 In-Reply-To: Content-Disposition: inline List-Id: linux-scsi@vger.kernel.org To: Linus Torvalds , James Bottomley Cc: SCSI Mailing List , Linux Kernel , Alan Cox , Marcelo Tosatti > On 2 May 2003, James Bottomley wrote: >> >> I'm not asking for any changes to the way you do 2.4, just for 2.5 where >> we have no vendor versions to support and there should only be a single >> tree. > > The way the backwards-compatibility is _meant_ to work is that a driver > can just do this: > > #ifndef IRQ_RETVAL > typedef void irqreturn_t; > #define IRQ_NONE > #define IRQ_HANDLED > #define IRQ_RETVAL(x) > #endif I switched the drivers to using this yesterday. #ifndef IRQ_RETVAL typedef void irqreturn_t; #define IRQ_RETVAL(x) #endif Updated BK send and tar files are here: http://people.FreeBSD.org/~gibbs/linux/SRC/ -- Justin