diff options
Diffstat (limited to 'drivers/net/e100.c')
-rw-r--r-- | drivers/net/e100.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c index 99126564f1a0..720994b1e13a 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c | |||
@@ -2548,6 +2548,7 @@ static int __devinit e100_probe(struct pci_dev *pdev, | |||
2548 | struct net_device *netdev; | 2548 | struct net_device *netdev; |
2549 | struct nic *nic; | 2549 | struct nic *nic; |
2550 | int err; | 2550 | int err; |
2551 | DECLARE_MAC_BUF(mac); | ||
2551 | 2552 | ||
2552 | if(!(netdev = alloc_etherdev(sizeof(struct nic)))) { | 2553 | if(!(netdev = alloc_etherdev(sizeof(struct nic)))) { |
2553 | if(((1 << debug) - 1) & NETIF_MSG_PROBE) | 2554 | if(((1 << debug) - 1) & NETIF_MSG_PROBE) |
@@ -2679,11 +2680,9 @@ static int __devinit e100_probe(struct pci_dev *pdev, | |||
2679 | goto err_out_free; | 2680 | goto err_out_free; |
2680 | } | 2681 | } |
2681 | 2682 | ||
2682 | DPRINTK(PROBE, INFO, "addr 0x%llx, irq %d, " | 2683 | DPRINTK(PROBE, INFO, "addr 0x%llx, irq %d, MAC addr %s\n", |
2683 | "MAC addr %02X:%02X:%02X:%02X:%02X:%02X\n", | 2684 | (unsigned long long)pci_resource_start(pdev, use_io ? 1 : 0), |
2684 | (unsigned long long)pci_resource_start(pdev, use_io ? 1 : 0), pdev->irq, | 2685 | pdev->irq, print_mac(mac, netdev->dev_addr)); |
2685 | netdev->dev_addr[0], netdev->dev_addr[1], netdev->dev_addr[2], | ||
2686 | netdev->dev_addr[3], netdev->dev_addr[4], netdev->dev_addr[5]); | ||
2687 | 2686 | ||
2688 | return 0; | 2687 | return 0; |
2689 | 2688 | ||