if (of_property_read_u32(dn, "reg", &pn))
continue;
- pr_info("%s found port %d\n", __func__, pn);
phy_node = of_parse_phandle(dn, "phy-handle", 0);
if (!phy_node) {
if (pn != priv->cpu_port)
continue;
}
- pr_info("%s port %d has phandle\n", __func__, pn);
if (of_property_read_u32(phy_node, "sds", &priv->ports[pn].sds_num))
priv->ports[pn].sds_num = -1;
- else {
- pr_info("%s sds port %d is %d\n", __func__, pn,
- priv->ports[pn].sds_num);
- }
- pr_info("%s port %d has SDS\n", __func__, priv->ports[pn].sds_num);
+ pr_debug("%s port %d has SDS %d\n", __func__, pn, priv->ports[pn].sds_num);
if (of_get_phy_mode(dn, &interface))
interface = PHY_INTERFACE_MODE_NA;
if (of_property_read_u32(dn, "reg", &pn))
continue;
- pr_info("%s found port %d\n", __func__, pn);
phy_node = of_parse_phandle(dn, "phy-handle", 0);
if (!phy_node) {
if (pn != priv->cpu_port)
continue;
}
- pr_info("%s port %d has phandle\n", __func__, pn);
if (of_property_read_u32(phy_node, "sds", &priv->ports[pn].sds_num))
priv->ports[pn].sds_num = -1;
- else {
- pr_info("%s sds port %d is %d\n", __func__, pn,
- priv->ports[pn].sds_num);
- }
- pr_info("%s port %d has SDS\n", __func__, priv->ports[pn].sds_num);
+ pr_debug("%s port %d has SDS %d\n", __func__, pn, priv->ports[pn].sds_num);
if (of_get_phy_mode(dn, &interface))
interface = PHY_INTERFACE_MODE_NA;