Re: [Linux-ia64] Simple Question Simple Answer

From: Jes Sorensen <>
Date: 2000-11-14 10:20:43
>>>>> "Brian" == Brian Boerner <> writes:

Brian> Let me begin by saying that I'm not really new to Linux but
Brian> have only been doing Linux development for about a year
Brian> now. I'm looking for a list of differences one must consider
Brian> when trying to write drivers that are portable.

Brian> Correct me if I'm wrong, but the 2.2 code stream for Linux is
Brian> ia32 while the 2.4 code stream is going to support ia64. Is
Brian> there a list of gottchas somewhere that ISVs should watch out
Brian> for? Please forgive me if this is something that has been asked
Brian> a 1000 times, but hey.. I'm new.

That kinda depends on what you are trying to achieve. Are you trying
to write drivers that run under both 2.2 and 2.4 (covering all
applicaple architectures of course: little endian/big endian - 32 vs
64 bit) or just code that will run in 2.4?

There are some API changes which you have to deal with, but a lot of
that can be handled by putting in backwards compatibility macros for
2.2 in your code. I use that trick in the AceNIC Gigabit Ethernet
driver for instance (drivers/net/acenic.[ch]).

Received on Mon Nov 13 15:20:52 2000

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:00 EST