Messages in this thread | | | Date | Fri, 2 May 2003 11:19:50 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: Aic7xxx and Aic79xx Driver Updates |
| |
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
and after that you can just use the 2.5.x semantics even with a 2.4.x kernel.
Which is nice and clean, and allows you to support old kernels _without_ having any translation layer.
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |