projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d199a75
)
Fix compilation on 2.6.27. As 2.6.27 is not yet released
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Sep 2008 20:46:12 +0000
(13:46 -0700)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 29 Sep 2008 20:46:12 +0000
(13:46 -0700)
we use ifndef on ETH_P_PAE.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat.h
patch
|
blob
|
history
diff --git
a/compat/compat.h
b/compat/compat.h
index 33cb98cc0010abcb13ba8ee9654b7842c89d8b81..0926df6c86d15f5ef73f392db97b15480e0ad5a4 100644
(file)
--- a/
compat/compat.h
+++ b/
compat/compat.h
@@
-6,6
+6,11
@@
#include <linux/compat_autoconf.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28))
+#include <linux/if_ether.h>
+
+#ifndef ETH_P_PAE
+#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
+#endif
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) */
#endif /* LINUX_26_COMPAT_H */