> @@ -1481,8 +1478,8 @@ static int ixp4xx_eth_probe(struct platform_device
> *pdev)
> if ((err = register_netdev(ndev)))
> goto err_phy_dis;
>
> - printk(KERN_INFO "%s: MII PHY %i on %s\n", ndev->name, plat->phy,
> - npe_name(port->npe));
> + dev_info(dev, "%s: MII PHY %i on %s\n", ndev->name, plat->phy,
> + npe_name(port->npe));
Hi Linus
If you get here, the interface has been registered. So you could use
netdev_info(ndev, ...). You can also call it before register_netdev,
but since the name as not yet been determined, it is not so
informative as dev_err() which will give you the bus address or
something.
Andrew