diff options
author | Danny Kukawka <danny.kukawka@bisect.de> | 2012-02-23 22:45:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-24 15:40:59 -0500 |
commit | bbf7bd2f04b5a24d0f371bd77ad1cf82471225e4 (patch) | |
tree | b92ac983da8b2ae10ca047834eb88675c7b4e39b | |
parent | 66dc92eddf610d6f4572367f42902e62e19db7cb (diff) |
dec/tulip/de4x5: print MAC via printk format specifier
Print MAC/dev_addr via printk extended format specifier %pM
instead of custom code.
Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/dec/tulip/de4x5.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c index 93583408a325..18b106cc6d2b 100644 --- a/drivers/net/ethernet/dec/tulip/de4x5.c +++ b/drivers/net/ethernet/dec/tulip/de4x5.c | |||
@@ -5234,11 +5234,7 @@ de4x5_dbg_open(struct net_device *dev) | |||
5234 | 5234 | ||
5235 | if (de4x5_debug & DEBUG_OPEN) { | 5235 | if (de4x5_debug & DEBUG_OPEN) { |
5236 | printk("%s: de4x5 opening with irq %d\n",dev->name,dev->irq); | 5236 | printk("%s: de4x5 opening with irq %d\n",dev->name,dev->irq); |
5237 | printk("\tphysical address: "); | 5237 | printk("\tphysical address: %pM\n", dev->dev_addr); |
5238 | for (i=0;i<6;i++) { | ||
5239 | printk("%2.2x:",(short)dev->dev_addr[i]); | ||
5240 | } | ||
5241 | printk("\n"); | ||
5242 | printk("Descriptor head addresses:\n"); | 5238 | printk("Descriptor head addresses:\n"); |
5243 | printk("\t0x%8.8lx 0x%8.8lx\n",(u_long)lp->rx_ring,(u_long)lp->tx_ring); | 5239 | printk("\t0x%8.8lx 0x%8.8lx\n",(u_long)lp->rx_ring,(u_long)lp->tx_ring); |
5244 | printk("Descriptor addresses:\nRX: "); | 5240 | printk("Descriptor addresses:\nRX: "); |