diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-06-17 19:35:23 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-17 23:59:01 -0400 |
commit | 84aee4889ee843f4cde1c3fb1acfd116733660ef (patch) | |
tree | 44b0315f61bd73668957ea3eb49ee06bf6278c7e /drivers/net/ibm_emac/ibm_emac_debug.h | |
parent | ebaac8c9a5b9e8aeab4009cefcfc1e9421337ac5 (diff) |
ibm_emac: Remove the ibm_emac driver
The arch/ppc sub-tree has been removed in the powerpc git tree. The old
ibm_emac driver is no longer used by anything as a result of this. This
removes it, leaving the ibm_newemac driver as the proper driver to use for
PowerPC boards with the EMAC hardware.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.h')
-rw-r--r-- | drivers/net/ibm_emac/ibm_emac_debug.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/drivers/net/ibm_emac/ibm_emac_debug.h b/drivers/net/ibm_emac/ibm_emac_debug.h deleted file mode 100644 index 6c7dccc84bf..00000000000 --- a/drivers/net/ibm_emac/ibm_emac_debug.h +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | /* | ||
2 | * drivers/net/ibm_emac/ibm_emac_debug.h | ||
3 | * | ||
4 | * Driver for PowerPC 4xx on-chip ethernet controller, debug print routines. | ||
5 | * | ||
6 | * Copyright (c) 2004, 2005 Zultys Technologies | ||
7 | * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net> | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify it | ||
10 | * under the terms of the GNU General Public License as published by the | ||
11 | * Free Software Foundation; either version 2 of the License, or (at your | ||
12 | * option) any later version. | ||
13 | * | ||
14 | */ | ||
15 | #ifndef __IBM_EMAC_DEBUG_H_ | ||
16 | #define __IBM_EMAC_DEBUG_H_ | ||
17 | |||
18 | #include <linux/init.h> | ||
19 | #include "ibm_emac_core.h" | ||
20 | #include "ibm_emac_mal.h" | ||
21 | |||
22 | #if defined(CONFIG_IBM_EMAC_DEBUG) | ||
23 | void emac_dbg_register(int idx, struct ocp_enet_private *dev); | ||
24 | void mal_dbg_register(int idx, struct ibm_ocp_mal *mal); | ||
25 | int emac_init_debug(void) __init; | ||
26 | void emac_fini_debug(void) __exit; | ||
27 | void emac_dbg_dump_all(void); | ||
28 | # define DBG_LEVEL 1 | ||
29 | #else | ||
30 | # define emac_dbg_register(x,y) ((void)0) | ||
31 | # define mal_dbg_register(x,y) ((void)0) | ||
32 | # define emac_init_debug() ((void)0) | ||
33 | # define emac_fini_debug() ((void)0) | ||
34 | # define emac_dbg_dump_all() ((void)0) | ||
35 | # define DBG_LEVEL 0 | ||
36 | #endif | ||
37 | |||
38 | #if DBG_LEVEL > 0 | ||
39 | # define DBG(f,x...) printk("emac" f, ##x) | ||
40 | # define MAL_DBG(f,x...) printk("mal" f, ##x) | ||
41 | # define ZMII_DBG(f,x...) printk("zmii" f, ##x) | ||
42 | # define RGMII_DBG(f,x...) printk("rgmii" f, ##x) | ||
43 | # define NL "\n" | ||
44 | #else | ||
45 | # define DBG(f,x...) ((void)0) | ||
46 | # define MAL_DBG(f,x...) ((void)0) | ||
47 | # define ZMII_DBG(f,x...) ((void)0) | ||
48 | # define RGMII_DBG(f,x...) ((void)0) | ||
49 | #endif | ||
50 | #if DBG_LEVEL > 1 | ||
51 | # define DBG2(f,x...) DBG(f, ##x) | ||
52 | # define MAL_DBG2(f,x...) MAL_DBG(f, ##x) | ||
53 | # define ZMII_DBG2(f,x...) ZMII_DBG(f, ##x) | ||
54 | # define RGMII_DBG2(f,x...) RGMII_DBG(f, ##x) | ||
55 | #else | ||
56 | # define DBG2(f,x...) ((void)0) | ||
57 | # define MAL_DBG2(f,x...) ((void)0) | ||
58 | # define ZMII_DBG2(f,x...) ((void)0) | ||
59 | # define RGMII_DBG2(f,x...) ((void)0) | ||
60 | #endif | ||
61 | |||
62 | #endif /* __IBM_EMAC_DEBUG_H_ */ | ||