]> git.openfabrics.org - compat-rdma/compat.git/commitdiff
Add some new 2.6.33 backport code for networking
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 11 Dec 2009 07:30:08 +0000 (23:30 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 11 Dec 2009 07:30:08 +0000 (23:30 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
include/linux/compat-2.6.33.h

index 528627eab78efacef2d7d6dc8e94c28bb823d564..8ac44e59b1e98e2cc25e776315c652ad47eabc08 100644 (file)
 #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 */