aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pasemi_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pasemi_mac.c')
-rw-r--r--drivers/net/pasemi_mac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index f310d94443a0..4d87cd65626f 100644
--- a/drivers/net/pasemi_mac.c
+++ b/drivers/net/pasemi_mac.c
@@ -1155,6 +1155,7 @@ pasemi_mac_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1155 struct net_device *dev; 1155 struct net_device *dev;
1156 struct pasemi_mac *mac; 1156 struct pasemi_mac *mac;
1157 int err; 1157 int err;
1158 DECLARE_MAC_BUF(mac_buf);
1158 1159
1159 err = pci_enable_device(pdev); 1160 err = pci_enable_device(pdev);
1160 if (err) 1161 if (err)
@@ -1237,11 +1238,10 @@ pasemi_mac_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1237 goto out; 1238 goto out;
1238 } else 1239 } else
1239 printk(KERN_INFO "%s: PA Semi %s: intf %d, txch %d, rxch %d, " 1240 printk(KERN_INFO "%s: PA Semi %s: intf %d, txch %d, rxch %d, "
1240 "hw addr %02x:%02x:%02x:%02x:%02x:%02x\n", 1241 "hw addr %s\n",
1241 dev->name, mac->type == MAC_TYPE_GMAC ? "GMAC" : "XAUI", 1242 dev->name, mac->type == MAC_TYPE_GMAC ? "GMAC" : "XAUI",
1242 mac->dma_if, mac->dma_txch, mac->dma_rxch, 1243 mac->dma_if, mac->dma_txch, mac->dma_rxch,
1243 dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], 1244 print_mac(mac_buf, dev->dev_addr));
1244 dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5]);
1245 1245
1246 return err; 1246 return err;
1247 1247