netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A generic kernel compatibilty code
@ 2009-11-20 20:45 Luis R. Rodriguez
  2009-11-20 20:51 ` Luis R. Rodriguez
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2009-11-20 20:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-wireless, netdev

Everyone and their mother reinvents the wheel when it comes to
backporting kernel modules. It a painful job and it seems to me an
alternative is possible. If we can write generic compatibilty code for
a new routine introduced on the next kernel how about just merging it
to the kernel under some generic compat module. This would be
completey ignored by everyone using the stable kernel but can be
copied by anyone doing backport work.

So I'm thinking something as simple as a generic compat/comat.ko with
compat-2.6.32.[ch] files.

We've already backported everything needed for wireless drivers under
compat-wireless under this format down to even 2.6.25. I volunteer to
be the sucker for this if this is reasonable and given the shot to try
it.

If you would like a better idea of what I mean please check out this
git tree and check out the files under compat/*.[ch]

git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/compat-wireless-2.6.git

Things which *cannot* be backported through new defines or exported
symbols are handled manually through patches (check compat/patches/)
but no need for something like that upstream it seems.

Please let me know what you think.

 Luis

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-11-23 16:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-20 20:45 A generic kernel compatibilty code Luis R. Rodriguez
2009-11-20 20:51 ` Luis R. Rodriguez
     [not found]   ` <43e72e890911201251t6210ee19n177eaf003a4fffc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-20 20:53     ` Luis R. Rodriguez
2009-11-20 21:18       ` John W. Linville
     [not found]         ` <20091120211837.GA22815-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2009-11-20 21:38           ` Luis R. Rodriguez
     [not found]             ` <43e72e890911201338w4c403d51q651afc3638d1739c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-21  2:12               ` Luis R. Rodriguez
2009-11-20 21:00 ` Ben Hutchings
2009-11-20 21:07   ` Luis R. Rodriguez
2009-11-23 13:26     ` Ben Hutchings
2009-11-23 16:20       ` Luis R. Rodriguez
2009-11-20 21:16 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).