summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc911x.c
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@isonoe.(none)>2007-10-18 21:02:02 +0200
committerJuergen Beisert <jbe@isonoe.(none)>2007-10-18 21:02:02 +0200
commit5f26029b10c40d6af2460bf86cc10943722dad41 (patch)
treeae09ea6c1adae2f8a1c35b7cae6797fc9d01eba2 /drivers/net/smc911x.c
parent264cbd2962a1af7829c8748eb8755e33b0e1e462 (diff)
downloadbarebox-5f26029b10c40d6af2460bf86cc10943722dad41.tar.gz
barebox-5f26029b10c40d6af2460bf86cc10943722dad41.tar.xz
noisy support
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r--drivers/net/smc911x.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index 32cb683085..ccfcc957f5 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -22,6 +22,10 @@
* MA 02111-1307 USA
*/
+#ifdef CONFIG_ENABLE_DEVICE_NOISE
+# define DEBUG
+#endif
+
#include <common.h>
#include <command.h>
@@ -704,7 +708,7 @@ static int smc911x_probe(struct device_d *dev)
return -ENODEV;
}
- printf(DRIVERNAME ": detected %s controller\n", chip_ids[i].name);
+ debug(DRIVERNAME ": detected %s controller\n", chip_ids[i].name);
edev = xzalloc(sizeof(struct eth_device) +
sizeof(struct smc911x_priv));