Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: odroid-c1's awge0 on 9?

On Sat, 2 Nov 2019, Jason Thorpe wrote:

That function looks generic enough that perhaps it should be in fdt_phy.c

Yeah we need a shared version, but fdt_phy.c is not the place for it.

fdt_phy.c is for "PHY subsystem" nodes: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/phy/phy-bindings.txt

The "phys" referenced by the ethernet nodes follow "Ethernet PHY Generic Binding" specs: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/net/ethernet-phy.yaml

Maybe sys/dev/fdt/ethernet_phy.c is a better place for it.

Home | Main Index | Thread Index | Old Index