dnet.c (04521bf840482af30a6ed54835cefadcecdd56da) | dnet.c (2220943a21e26d97d7fd8f83c004b947326b469d) |
---|---|
1/* 2 * Dave DNET Ethernet Controller driver 3 * 4 * Copyright (C) 2008 Dave S.r.l. <www.dave.eu> 5 * Copyright (C) 2009 Ilya Yanok, Emcraft Systems Ltd, <yanok@emcraft.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 872 unchanged lines hidden (view full) --- 881 dev_info(&pdev->dev, "Dave DNET at 0x%p (0x%08x) irq %d %pM\n", 882 bp->regs, (unsigned int)res->start, dev->irq, dev->dev_addr); 883 dev_info(&pdev->dev, "has %smdio, %sirq, %sgigabit, %sdma\n", 884 (bp->capabilities & DNET_HAS_MDIO) ? "" : "no ", 885 (bp->capabilities & DNET_HAS_IRQ) ? "" : "no ", 886 (bp->capabilities & DNET_HAS_GIGABIT) ? "" : "no ", 887 (bp->capabilities & DNET_HAS_DMA) ? "" : "no "); 888 phydev = bp->phy_dev; | 1/* 2 * Dave DNET Ethernet Controller driver 3 * 4 * Copyright (C) 2008 Dave S.r.l. <www.dave.eu> 5 * Copyright (C) 2009 Ilya Yanok, Emcraft Systems Ltd, <yanok@emcraft.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 872 unchanged lines hidden (view full) --- 881 dev_info(&pdev->dev, "Dave DNET at 0x%p (0x%08x) irq %d %pM\n", 882 bp->regs, (unsigned int)res->start, dev->irq, dev->dev_addr); 883 dev_info(&pdev->dev, "has %smdio, %sirq, %sgigabit, %sdma\n", 884 (bp->capabilities & DNET_HAS_MDIO) ? "" : "no ", 885 (bp->capabilities & DNET_HAS_IRQ) ? "" : "no ", 886 (bp->capabilities & DNET_HAS_GIGABIT) ? "" : "no ", 887 (bp->capabilities & DNET_HAS_DMA) ? "" : "no "); 888 phydev = bp->phy_dev; |
889 dev_info(&pdev->dev, "attached PHY driver [%s] " 890 "(mii_bus:phy_addr=%s, irq=%d)\n", 891 phydev->drv->name, phydev_name(phydev), phydev->irq); | 889 phy_attached_info(phydev); |
892 893 return 0; 894 895err_out_unregister_netdev: 896 unregister_netdev(dev); 897err_out_free_irq: 898 free_irq(dev->irq, dev); 899err_out_free_dev: --- 40 unchanged lines hidden --- | 890 891 return 0; 892 893err_out_unregister_netdev: 894 unregister_netdev(dev); 895err_out_free_irq: 896 free_irq(dev->irq, dev); 897err_out_free_dev: --- 40 unchanged lines hidden --- |