aboutsummaryrefslogtreecommitdiff
path: root/compat.h
Commit message (Collapse)AuthorAge
* [PATCH] Convert skb compatibility code from functions to macrosPavel Roskin2007-07-15
| | | | | | | | | | | | One reason is that it can be expected that some vendor kernels will backport the Linux 2.6.22 skb API. Macros can safely mask the inline functions used by the vendor kernel, whereas inline functions will conflict and fail. Another reason is that linux/skbuff.h doesn't need to be included from compat.h anymore, which makes the compatibility code less intrusive. Signed-off-by: Pavel Roskin <proski@gnu.org>
* [PATCH] Put copyright into compat.hPavel Roskin2007-06-14
| | | | Signed-off-by: Pavel Roskin <proski@gnu.org>
* [PATCH] Provide compatibility for older kernels in a separate filePavel Roskin2007-06-14
Remove all Linux 2.6.21 compatibility from the driver - it shouldn't be there for kernel submission. Move all compatibility code to a separate file compat.h. Include it forcedly with the "-include" option. Add a makefile option to disable config.h inclusion. Provide compatibility as far back as Linux 2.6.19 - it's not really hard once the infrastructure is in place. Signed-off-by: Pavel Roskin <proski@gnu.org>