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 528627e..8ac44e5 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 */