Re: SoCFPGA ethernet broken

From: Dinh Nguyen
Date: Thu Oct 15 2015 - 23:11:11 EST


On Thu, 15 Oct 2015, Florian Fainelli wrote:

> On 15/10/15 13:49, Dinh Nguyen wrote:
> >>
> >> Does this text change with and without the 8b63ec1837fa patch?
> >
> > No, this text does not change with/without the 8b63ec1837fa patch.
>
> Could you instrument mdiobus_scan(), get_phy_device() and
> phy_device_create/register to see if the parent is NULL, non-NULL?
>

[ 0.800479] get_phy_device bus=0xeee26c00 addr=00000004 phy_id=00221611
[ 0.806735] phy_device_create dev->dev.parent=0xeee26c50
[ 0.811114] phy_device_register completed
[ 0.814675] mdiobus_scan phydev=0xeee27000
[ 1.979034] ksz9021_config_init of_node=00000000

---- Without patch ----

[ 0.801294] get_phy_device bus=0xeeef6c00 addr=00000004 phy_id=00221611
[ 0.807551] phy_device_create dev->dev.parent=0xeed6cc10
[ 0.811929] phy_device_register completed
[ 0.815510] mdiobus_scan phydev=0xeeef7000
[ 1.979034] ksz9021_config_init of_node=0xef203538
[ 1.988064] ksz9021_load_values_from_of
[ 1.992485] ksz9021_load_values_from_of
[ 1.996905] ksz9021_load_values_from_of

BR,
Dinh
--
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/