Re: [PATCH] USB2NET : SR9800 : One chip USB2.0 USB2NET SR9800Device Driver Support

From: Joe Perches
Date: Sun Feb 09 2014 - 21:58:44 EST


On Fri, 2014-02-07 at 14:42 +0800, liujunliang_ljl@xxxxxxx wrote:

> + netdev_dbg(dev->net, "Write IPG,IPG1,IPG2 failed: %d", ret);
[]
> + netdev_dbg(dev->net, "RX_CTL is 0x%04x after all initializations",
[]
> + netdev_dbg(dev->net, "Medium Status : 0x%04x after all initializations",
[]
> + netdev_dbg(dev->net, "Select PHY #1 failed: %d", ret);
[]
> + netdev_dbg(dev->net, "RX_CTL is 0x%04x after software reset", rx_ctl);
[]
> + netdev_dbg(dev->net, "RX_CTL is 0x%04x setting to 0x0000", rx_ctl);
[]
> + memcpy(data->mac_addr, dev->net->dev_addr, ETH_ALEN);

ether_addr_copy

> + netdev_err(dev->net, "Failed to power down PHY : %d", ret);
[]
> + netdev_err(dev->net, "Failed to reset PHY: %d", ret);
[]
> + netdev_err(dev->net, "Failed to power up PHY: %d", ret);
[]
> + netdev_err(dev->net, "Failed to reset PHY: %d", ret);
[]
> + netdev_err(dev->net, "set LINK LED failed : %d", ret);
[]
> + netdev_dbg(dev->net, "Failed to read MAC address: %d", ret);
[]
> + netdev_dbg(dev->net, "Select PHY #1 failed: %d", ret);
[]
> + netdev_dbg(dev->net, "RX_CTL is 0x%04x after software reset", rx_ctl);
[]
> + netdev_dbg(dev->net, "RX_CTL is 0x%04x setting to 0x0000", rx_ctl);
[]
> + netdev_dbg(dev->net, "PHYID=0x%08x", phyid);

Please make sure all of the netdev_<level> uses have a '\n'
line termination.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/