netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.24] pcnet32:  Use print_mac
@ 2008-02-08 15:29 Don Fry
  0 siblings, 0 replies; only message in thread
From: Don Fry @ 2008-02-08 15:29 UTC (permalink / raw)
  To: jgarzik; +Cc: netdev

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by:  Don Fry <pcnet32@verizon.net>
---
Originally sent by Joe Dec 14, 2007
Tested by Don on amd_64

--- linux-2.6.24-git13/drivers/net/orig.pcnet32.c	2008-02-04 10:05:48.000000000 -0800
+++ linux-2.6.24-git18/drivers/net/pcnet32.c	2008-02-04 10:59:08.000000000 -0800
@@ -1774,8 +1774,8 @@ pcnet32_probe1(unsigned long ioaddr, int
 		memset(dev->dev_addr, 0, sizeof(dev->dev_addr));
 
 	if (pcnet32_debug & NETIF_MSG_PROBE) {
-		for (i = 0; i < 6; i++)
-			printk(" %2.2x", dev->dev_addr[i]);
+		DECLARE_MAC_BUF(mac);
+		printk(" %s", print_mac(mac, dev->dev_addr));
 
 		/* Version 0x2623 and 0x2624 */
 		if (((chip_version + 1) & 0xfffe) == 0x2624) {



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-08 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 15:29 [PATCH 2.6.24] pcnet32: Use print_mac Don Fry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).