diff options
author | citats <citats@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-06-21 17:33:36 +0000 |
---|---|---|
committer | citats <citats@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-06-21 17:33:36 +0000 |
commit | 80df834f1ee899277641d62f50e3ab3b10808f13 (patch) | |
tree | ea8546296cd5db02f8a39cb0c7fe16287d17d165 /zconfig.h | |
parent | c1eb844ef3a5b0b98be50a1b53faf193303a1b03 (diff) |
Yet another HDLC change starting with 2.4.23. Now we use hdlc_type_trans
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@416 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zconfig.h')
-rwxr-xr-x | zconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -62,6 +62,11 @@ #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,20) #define CONFIG_OLD_HDLC_API #else +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23) +/* Starting with 2.4.23 the kernel hdlc api changed again */ +/* Now we have to use hdlc_type_trans(skb, dev) instead of htons(ETH_P_HDLC) */ +#define ZAP_HDLC_TYPE_TRANS +#endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,3) #define HDLC_MAINTAINERS_ARE_MORE_STUPID_THAN_I_THOUGHT #endif |