diff options
author | Juergen Beisert <jbe@isonoe.(none)> | 2007-10-18 21:02:02 +0200 |
---|---|---|
committer | Juergen Beisert <jbe@isonoe.(none)> | 2007-10-18 21:02:02 +0200 |
commit | 5f26029b10c40d6af2460bf86cc10943722dad41 (patch) | |
tree | ae09ea6c1adae2f8a1c35b7cae6797fc9d01eba2 /drivers/net/smc911x.c | |
parent | 264cbd2962a1af7829c8748eb8755e33b0e1e462 (diff) | |
download | barebox-5f26029b10c40d6af2460bf86cc10943722dad41.tar.gz barebox-5f26029b10c40d6af2460bf86cc10943722dad41.tar.xz |
noisy support
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r-- | drivers/net/smc911x.c | 6 |
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)); |