s390 (6/8): network driver fixes.
Subsystems (3)
PATCH 1/1 s390 (6/8): network driver fixes.
- ctc/iucv: Add module author/description/license to fsm.c
- qeth: use correct length in clearing of MAC address.
- qeth: queue multicast and broadcast packets into the last queue on HiperSocket.
diffstat:
drivers/s390/net/fsm.c | 6 +++++- drivers/s390/net/qeth.c | 42 ++++++++++++++++++++++++++++++++---------- drivers/s390/net/qeth.h | 8 +++++++- 3 files changed, 44 insertions(+), 12 deletions(-)
drivers/s390/net/fsm.c +5 -1
@@ -1,5 +1,5 @@/** -* $Id: fsm.c,v 1.4 2003/03/28 08:54:40 mschwide Exp $ +* $Id: fsm.c,v 1.6 2003/10/15 11:37:29 mschwide Exp $ * * A generic FSM based on fsm used in isdn4linux *
@@ -10,6 +10,10 @@#include <linux/module.h> #include <linux/timer.h> +MODULE_AUTHOR ("(C) 2000 IBM Corp. by Fritz Elfert ([email protected])" ); +MODULE_DESCRIPTION ("Finite state machine helper functions" ); +MODULE_LICENSE ("GPL" ); +fsm_instance *init_fsm (char *name,const char **state_names,const char **event_names,int nr_states,int nr_events,const fsm_node *tmpl,int tmpl_len,int order)
drivers/s390/net/qeth.c +32 -10
78 lines not on this page · raw message
drivers/s390/net/qeth.h +7 -1
@@ -14,7 +14,7 @@#define QETH_NAME " qeth" -#define VERSION_QETH_H "$Revision: 1.58 $" +#define VERSION_QETH_H "$Revision: 1.59 $"/******************** CONFIG STUFF ***********************/ //#define QETH_DBF_LIKE_HELL
@@ -288,6 +288,12 @@#define QETH_HEADER_PASSTHRU 0x10#define QETH_HEADER_IPV6 0x80 +#define QETH_ETH_MAC_V4 0x0100/* like v4 */ +#define QETH_ETH_MAC_V6 0x3333/* like v6 */ +/* tr mc mac is longer, but that will be enough to detect mc frames */ +#define QETH_TR_MAC_NC 0xc000/* non-canonical */ +#define QETH_TR_MAC_C 0x0300/* canonical */ +#define QETH_CAST_FLAGS 0x07#define QETH_CAST_UNICAST 6#define QETH_CAST_MULTICAST 4