47cabd046d
Instead replace it with a different hack, that turns fman into a simplebus subclass, and maps its children within its address space. Since all PHY communication is done through dtsec0's mdio space, the FDT contains a reference to the dtsec0 mdio handle in all nodes that need it. Instead of using Freescale's implementation for MII access, use our own (copied loosely from the eTSEC driver, and could possibly be merged eventually). This lets us access the registers directly rather than needing a full dtsec interface just to access the registers. Future directions will include turning fman into more of a simplebus, and not mapping the region and playing games. This will require changes to the dtsec driver to make it a child of fman, and possibly other drivers as well. |
||
---|---|---|
.. | ||
bman_fdt.c | ||
bman_portals.c | ||
bman.c | ||
bman.h | ||
dpaa.c | ||
fman_fdt.c | ||
fman_mdio.c | ||
fman.c | ||
fman.h | ||
if_dtsec_fdt.c | ||
if_dtsec_im.c | ||
if_dtsec_im.h | ||
if_dtsec_rm.c | ||
if_dtsec_rm.h | ||
if_dtsec.c | ||
if_dtsec.h | ||
portals_common.c | ||
portals.h | ||
qman_fdt.c | ||
qman_portals.c | ||
qman.c | ||
qman.h |