s390: fakell for high speed token ring
Subsystems (3)
PATCH 8/10 s390: fakell for high speed token ring
[patch 8/10] s390: fakell for high speed token ring.
From: Michael Holzheu <[email protected]>
Implement fake-link-layer for high speed token ring. Without it token ring packages get leading ethernet headers, which confuses dhcp.
Signed-off-by Frank Pavlic <[email protected]>
diffstat:
drivers/s390/net/qeth.h | 5 - drivers/s390/net/qeth_main.c | 136 +++++++++++++++++++++++++++++++++++-------- 2 files changed, 114 insertions(+), 27 deletions(-)
drivers/s390/net/qeth.h +3 -2
@@ -24,7 +24,7 @@#include "qeth_mpc.h" -#define VERSION_QETH_H "$Revision: 1.136 $" +#define VERSION_QETH_H "$Revision: 1.137 $"#ifdef CONFIG_QETH_IPV6 #define QETH_VERSION_IPV6 ":IPv6"
@@ -288,7 +288,8 @@ qeth_is_ipa_enabled(struct qeth_ipa_info#define QETH_TX_TIMEOUT 100 * HZ#define QETH_HEADER_SIZE 32#define MAX_PORTNO 15 -#define QETH_FAKE_LL_LEN ETH_HLEN +#define QETH_FAKE_LL_LEN_ETH ETH_HLEN +#define QETH_FAKE_LL_LEN_TR (sizeof(struct trh_hdr)-TR_MAXRIFLEN+sizeof(struct trllc))#define QETH_FAKE_LL_V6_ADDR_POS 24/*IPv6 address autoconfiguration stuff*/
drivers/s390/net/qeth_main.c +111 -25
202 lines not on this page · raw message