From patchwork Wed Aug 10 20:33:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Jarrige X-Patchwork-Id: 109442 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id D9B79B6F76 for ; Thu, 11 Aug 2011 06:36:25 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 38E0F2838C; Wed, 10 Aug 2011 22:36:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MlvNw1lJyqIO; Wed, 10 Aug 2011 22:36:23 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 667B32838E; Wed, 10 Aug 2011 22:36:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0FDCF2838E for ; Wed, 10 Aug 2011 22:36:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xGB-wMx8-o58 for ; Wed, 10 Aug 2011 22:36:20 +0200 (CEST) X-Greylist: delayed 587 seconds by postgrey-1.27 at theia; Wed, 10 Aug 2011 22:36:18 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 IN_IX_MANITU=4.35 (only DNSBL check requested) Received: from mo5.mail-out.ovh.net (20.mo5.mail-out.ovh.net [91.121.55.239]) by theia.denx.de (Postfix) with ESMTP id 1EB2F2838C for ; Wed, 10 Aug 2011 22:36:18 +0200 (CEST) Received: from mail409.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo5.mail-out.ovh.net (Postfix) with SMTP id B539910008DF for ; Wed, 10 Aug 2011 22:27:19 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 10 Aug 2011 22:27:10 +0200 Received: from 85-218-50-42.dclient.lsne.ch (HELO shuttle2.etheralp.ch) (85.218.50.42) by ns0.ovh.net with SMTP; 10 Aug 2011 22:27:09 +0200 Received: from localhost ([127.0.0.1] helo=shuttle2.etheralp.ch) by shuttle2.etheralp.ch with esmtp (Exim 4.72) (envelope-from ) id 1QrFTA-0005aq-PT; Wed, 10 Aug 2011 22:33:40 +0200 X-Ovh-Mailout: 178.32.228.5 (mo5.mail-out.ovh.net) To: u-boot@lists.denx.de From: Eric Jarrige Date: Wed, 10 Aug 2011 22:33:40 +0200 Message-ID: <20110810203340.21204.45508.stgit@shuttle2.etheralp.ch> In-Reply-To: <20110810200828.21204.60050.stgit@shuttle2.etheralp.ch> References: <20110810200828.21204.60050.stgit@shuttle2.etheralp.ch> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Ovh-Tracer-Id: 16833610983669710106 X-Ovh-Remote: 85.218.50.42 (85-218-50-42.dclient.lsne.ch) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfedvjedrtdejucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenuchvohhiugdpihhnthculddquddttddm Cc: Ben Warren Subject: [U-Boot] [PATCH 8/9] DM9000: change some printf to use debug instead X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Eric Jarrige Cc: Ben Warren --- drivers/net/dm9000x.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index b5c5573..9cd0195 100644 --- a/drivers/net/dm9000x.c +++ b/drivers/net/dm9000x.c @@ -232,7 +232,7 @@ dm9000_probe(void) id_val |= DM9000_ior(DM9000_PIDL) << 16; id_val |= DM9000_ior(DM9000_PIDH) << 24; if (id_val == DM9000_ID) { - printf("dm9000 i/o: 0x%x, id: 0x%x \n", CONFIG_DM9000_BASE, + DM9000_DBG("dm9000 i/o: 0x%x, id: 0x%x \n", CONFIG_DM9000_BASE, id_val); return 0; } else { @@ -298,19 +298,19 @@ static int dm9000_init(struct eth_device *dev, bd_t *bd) switch (io_mode) { case 0x0: /* 16-bit mode */ - printf("DM9000: running in 16 bit mode\n"); + DM9000_DBG("DM9000: running in 16 bit mode\n"); db->outblk = dm9000_outblk_16bit; db->inblk = dm9000_inblk_16bit; db->rx_status = dm9000_rx_status_16bit; break; case 0x01: /* 32-bit mode */ - printf("DM9000: running in 32 bit mode\n"); + DM9000_DBG("DM9000: running in 32 bit mode\n"); db->outblk = dm9000_outblk_32bit; db->inblk = dm9000_inblk_32bit; db->rx_status = dm9000_rx_status_32bit; break; case 0x02: /* 8 bit mode */ - printf("DM9000: running in 8 bit mode\n"); + DM9000_DBG("DM9000: running in 8 bit mode\n"); db->outblk = dm9000_outblk_8bit; db->inblk = dm9000_inblk_8bit; db->rx_status = dm9000_rx_status_8bit;