public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Greg KH <greg@kroah.com>
Cc: "Woodruff, Robert J" <woody@co.intel.com>,
	"King, Steven R" <steven.r.king@intel.com>,
	linux-kernel@vger.kernel.org,
	infiniband-general@lists.sourceforge.net
Subject: Re: [Infiniband-general] Getting an Infiniband access layer in the linux kernel
Date: Fri, 6 Feb 2004 23:20:43 +0000	[thread overview]
Message-ID: <20040206232043.GC12503@mail.shareable.org> (raw)
In-Reply-To: <20040205215401.GE15718@kroah.com>

Greg KH wrote:
> > Are there any other examples of drivers that isolate kernel specific
> > calls to one module or file of their code to ease portability between
> > different revisions of the kernel ? If not, maybe they should look at
> > what we have done, it might save them some headaches in the future. 
> 
> No, that is not how Linux kernel development is done.  Come on people,
> do your research...

To clarify:

For out-of-tree 3rd party drivers, there are two or three
"compatibility" packages which are used to allow a single driver
source to work with many kernel versions.  (I wrote one, it is used
for quite a few private drivers.  This method works well.  See
also "kcompat").

For drivers in the kernel tree, or drivers that somone would like to
go into the tree, "compatibility" headers are never used.  API changes
are for good reasons; drivers need to be updated to follow them.

When the kernel APIs change, for minor changes and sometimes even
major ones, the author of the API change will often go through all the
in tree drivers making the necessary changes.

-- Jamie

  reply	other threads:[~2004-02-06 23:21 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-05 20:16 [Infiniband-general] Getting an Infiniband access layer in the linux kernel Woodruff, Robert J
2004-02-05 21:54 ` Greg KH
2004-02-06 23:20   ` Jamie Lokier [this message]
2004-02-05 22:58 ` Infiniband thread(s) and etiquette David Woodhouse
     [not found] ` <mailman.1076022900.8772.linux-kernel2news@redhat.com>
2004-02-09  2:02   ` Pete Zaitcev
  -- strict thread matches above, loose matches on Subject: below --
2004-02-05 19:44 [Infiniband-general] Getting an Infiniband access layer in the Linux kernel Tillier, Fabian
2004-02-05 20:16 ` Greg KH
2004-02-05 19:38 [Infiniband-general] Getting an Infiniband access layer in the linux kernel King, Steven R
2004-02-05 21:51 ` Greg KH
2004-02-05 19:31 Raj, Ashok
     [not found] <33561BB7A415E04FBDC339D5E149C6E26C38FA@orsmsx405.jf.intel.com>
2004-02-05 18:55 ` Greg KH
2004-02-05 18:34 Raj, Ashok
2004-02-05 18:31 [Infiniband-general] Getting an Infiniband access layer in the Linux kernel Tillier, Fabian
2004-02-05 18:40 ` Greg KH
2004-02-05 18:53 ` Randy.Dunlap
2004-02-07  2:54 ` Jamie Lokier
     [not found] <C1B7430B33A4B14F80D29B5126C5E94703262582@orsmsx401.jf.intel.com>
2004-02-05 18:09 ` [Infiniband-general] Getting an Infiniband access layer in the linux kernel Greg KH
2004-02-04  4:53 Woodruff, Robert J
2004-02-04  2:01 Woodruff, Robert J
2004-02-04  4:08 ` Troy Benjegerdes
2004-02-04  0:17 Woodruff, Robert J
2004-02-04  1:03 ` Greg KH
2004-02-03 16:45 Woodruff, Robert J
2004-02-04 11:26 ` Masanori ITOH
2004-02-02 23:58 Woodruff, Robert J
2004-02-03  0:56 ` Greg KH
2004-02-03  1:38 ` Masanori ITOH
2004-02-03 22:37 ` Troy Benjegerdes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040206232043.GC12503@mail.shareable.org \
    --to=jamie@shareable.org \
    --cc=greg@kroah.com \
    --cc=infiniband-general@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=steven.r.king@intel.com \
    --cc=woody@co.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox