Skip to contentSkip to conversation

s390: fakell for high speed token ring

PATCH In review Frank Pavlic 1 participant 1 message May 27, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

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
diff -urpN linux-2.6/drivers/s390/net/qeth.h linux-2.6-patched/drivers/s390/net/qeth.h
@@ -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