Skip to content

Commit

Permalink
[PATCH] s390: ctc code cleanup
Browse files Browse the repository at this point in the history
[patch 5/10] s390: ctc code cleanup.

From: Peter Tiedemann <ptiedem@de.ibm.com>

ctc network driver changes:
 - Some code cleanup.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Frank Pavlic authored and Jeff Garzik committed May 15, 2005
1 parent 7f81947 commit 7394c92
Show file tree
Hide file tree
Showing 3 changed files with 490 additions and 414 deletions.
12 changes: 8 additions & 4 deletions drivers/s390/net/ctcdbug.h
Original file line number Diff line number Diff line change
@@ -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.
*
Expand All @@ -9,7 +9,7 @@
* Author(s): Original Code written by
* Peter Tiedemann (ptiedem@de.ibm.com)
*
* $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
Expand All @@ -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
*/
Expand All @@ -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
Expand Down Expand Up @@ -121,3 +123,5 @@ hex_dump(unsigned char *buf, size_t len)
printk("\n");
}


#endif
Loading

0 comments on commit 7394c92

Please sign in to comment.