Enabling the discovery on the MDIO bus of PHYs which
have a vendor specific address space for accessing the C45 MDIO registers.
Vicentiu Galanopulo (3):
net: phy: Add binding for vendor specific C45 MDIO address space
net: phy: Change the array size to 32 for device_ids
net: phy: Enable C45
32 to 9
(bit counting in lookup loop starts from 1), it will
not be found.
Signed-off-by: Vicentiu Galanopulo
---
include/linux/phy.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index f0b5870..26aa320 100644
--- a/include/linux/ph
: Vicentiu Galanopulo
---
drivers/net/phy/phy_device.c | 49 +--
drivers/of/of_mdio.c | 113 +--
include/linux/phy.h | 14 ++
3 files changed, 169 insertions(+), 7 deletions(-)
diff --git a/drivers/net/phy/phy_device.c
The extra property enables the discovery on the MDIO bus
of the PHYs which have a vendor specific address space
for accessing the C45 MDIO registers.
Signed-off-by: Vicentiu Galanopulo
---
Documentation/devicetree/bindings/net/phy.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a
(ARRAY_SIZE(c45_ids->device_ids)),
but the u32 *devs can store 32 devices in the bitfield.
If a device is stored in *devs, in bits 32 to 9, it
will not be found. This is the reason for changing
in phy.h, the size of device_ids array
Signed-off-by: Vicentiu Galanopulo
---
Documentation/devicetree/bindi
get_phy_c45_ids,
has the value 8 (ARRAY_SIZE(c45_ids->device_ids)),
but the u32 *devs can store 32 devices in the bitfield.
If a device is stored in *devs, in bits 32 to 9, it
will not be found. This is the reason for changing
in phy.h, the size of device_ids array.
Signed-off-by: Vicentiu Galanop
32 *devs can store 32 devices in the bitfield. If
a device is stored in *devs, in bits 32 to 9, it
will not be found. This is the reason for changing in phy.h,
the size of device_ids array.
Signed-off-by: Vicentiu Galanopulo
---
Documentation/devicetree/bindings/net/phy.txt | 6 ++
drivers