net: convert print_mac to %pM
This converts pretty much everything to print_mac. There were a few things that had conflicts which I have just dropped for now, no harm done. I've built an allyesconfig with this and looked at the files that weren't built very carefully, but it's a huge patch. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0c68ae2605
commit
e174961ca1
@ -4988,7 +4988,6 @@ static int __devinit cas_init_one(struct pci_dev *pdev,
|
||||
int i, err, pci_using_dac;
|
||||
u16 pci_cmd;
|
||||
u8 orig_cacheline_size = 0, cas_cacheline_size = 0;
|
||||
DECLARE_MAC_BUF(mac);
|
||||
|
||||
if (cas_version_printed++ == 0)
|
||||
printk(KERN_INFO "%s", version);
|
||||
@ -5201,12 +5200,12 @@ static int __devinit cas_init_one(struct pci_dev *pdev,
|
||||
|
||||
i = readl(cp->regs + REG_BIM_CFG);
|
||||
printk(KERN_INFO "%s: Sun Cassini%s (%sbit/%sMHz PCI/%s) "
|
||||
"Ethernet[%d] %s\n", dev->name,
|
||||
"Ethernet[%d] %pM\n", dev->name,
|
||||
(cp->cas_flags & CAS_FLAG_REG_PLUS) ? "+" : "",
|
||||
(i & BIM_CFG_32BIT) ? "32" : "64",
|
||||
(i & BIM_CFG_66MHZ) ? "66" : "33",
|
||||
(cp->phy_type == CAS_PHY_SERDES) ? "Fi" : "Cu", pdev->irq,
|
||||
print_mac(mac, dev->dev_addr));
|
||||
dev->dev_addr);
|
||||
|
||||
pci_set_drvdata(pdev, dev);
|
||||
cp->hw_running = 1;
|
||||
|
Reference in New Issue
Block a user