s390: ctc code cleanup
Subsystems (3)
PATCH 5/10 s390: ctc code cleanup
[patch 5/10] s390: ctc code cleanup.
From: Peter Tiedemann <[email protected]>
ctc network driver changes:
- Some code cleanup.
Signed-off-by Martin Schwidefsky <[email protected]>
diffstat:
drivers/s390/net/ctcdbug.h | 12 drivers/s390/net/ctcmain.c | 616 +++++++++++++++------------------------------ drivers/s390/net/ctcmain.h | 276 ++++++++++++++++++++ 3 files changed, 490 insertions(+), 414 deletions(-)
drivers/s390/net/ctcdbug.h +8 -4
@@ -1,6 +1,6 @@/* * -* linux/drivers/s390/net/ctcdbug.h ($Revision: 1.4 $) +* linux/drivers/s390/net/ctcdbug.h ($Revision: 1.5 $) * * CTC / ESCON network driver - s390 dbf exploit. *
@@ -9,7 +9,7 @@* Author(s): Original Code written by * Peter Tiedemann ([email protected]) * -* $Revision: 1.4 $ $Date: 2004/10/15 09:26:58 $ +* $Revision: 1.5 $ $Date: 2005/02/27 19:46:44 $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -25,9 +25,11 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - +#ifndef _CTCDBUG_H_ +#define _CTCDBUG_H_#include <asm/debug.h> +#include "ctcmain.h" /** * Debug Facility stuff */
@@ -41,7 +43,7 @@#define CTC_DBF_DATA_LEN 128#define CTC_DBF_DATA_INDEX 3#define CTC_DBF_DATA_NR_AREAS 1 -#define CTC_DBF_DATA_LEVEL 2 +#define CTC_DBF_DATA_LEVEL 3#define CTC_DBF_TRACE_NAME "ctc_trace"#define CTC_DBF_TRACE_LEN 16
@@ -121,3 +123,5 @@ hex_dump(unsigned char *buf, size_t len) printk("\n"); } + +#endif
drivers/s390/net/ctcmain.c +206 -410
813 lines not on this page · raw message
drivers/s390/net/ctcmain.h +276 -0
276 lines not on this page · raw message