Including a comparable backported kernel version (number)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

As you know, Linux includes such a lovely define called
LINUX_VERSION_CODE. It allows writing out-of-tree drivers that can
compile against few different kernel versions.

While this is surely a rare case, some ppl may want to develop &
compile out-of-tree drivers against... backports. Since there is
cfg80211/mac80211 in backports, out-of-tree drivers may want to check
for backported kernel version to decide which API version to use.

An example may be acx100/acx-mac80211 driver and OpenWrt project.
OpenWrt uses backports and acx code may need to be adjusted depending
on the version of backported mac80211.

Would it be sane/possible to add something like a LINUX_VERSION_CODE
for backports? I noticed we already have BACKPORTS_VERSION,
BACKPORTED_KERNEL_VERSION and BACKPORTED_KERNEL_NAME but they are all
strings.

-- 
Rafał
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux