From: Luis R. Rodriguez Date: Fri, 11 Dec 2009 07:30:08 +0000 (-0800) Subject: Add some new 2.6.33 backport code for networking X-Git-Tag: next-20100113~38 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=416dea1cc82b74ffb0bf2782c24fc0557170b8cb;p=~emulex%2Fcompat.git Add some new 2.6.33 backport code for networking Signed-off-by: Luis R. Rodriguez --- diff --git a/include/linux/compat-2.6.33.h b/include/linux/compat-2.6.33.h index 528627e..8ac44e5 100644 --- a/include/linux/compat-2.6.33.h +++ b/include/linux/compat-2.6.33.h @@ -10,6 +10,12 @@ #define IFF_DONT_BRIDGE 0x800 /* disallow bridging this ether dev */ /* source: include/linux/if.h */ +#define kparam_block_sysfs_write(a) +#define kparam_unblock_sysfs_write(a) + +/* this will never happen on older kernels */ +#define NETDEV_POST_INIT 0xffff + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */ #endif /* LINUX_26_33_COMPAT_H */