dynamic detection of gianfar TPIPA
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | phylib: don't create a phydev for ID-less PHYs.drivers/ drivers/ | +6 | 4 replies | |
| 2/5 | gianfar: assign mii_bus value in dev->privdrivers/ | +1 | 0 replies | |
| 3/5 | gianfar: limit scope of gfar_local_mdio functionsdrivers/ drivers/ | +9 | 0 replies | |
| 4/5 | gianfar: dont hog the mii_bus->priv with just the regs.drivers/ include/ | +11 | 0 replies | |
| 5/5 | gianfar: don't hard code the TBIPA MDIO addressdrivers/ drivers/ drivers/ +1 more | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] dynamic detection of gianfar TPIPA
This patch series consists of some minor cleanups that eventually allow us to implement a dynamic assignment of the gianfar TBIPA. This was the implementation that Andy and Scott indicated was the most desireable solution at the bottom of this discussion:
http://patchwork.ozlabs.org/linuxppc-embedded/patch?id=12902
The lead up patches are as follows:
-dont allocate a phydev for the "ghost" phy that seems to appear
on ID 0x1f of all the MDIO bus scans.
-add in the missing assignment to priv->mii_bus when we assign a
phy to the device.
-cleanup of unnecessary externs that the above change allows us.
-make the mii_bus->priv point to struct gianfar_mdio_data
At this point, we can then actually use the phy_map of the mii_bus to tell us which MDIO ID we can use for the TBIPA, instead of just hard coding 0x1f.
Paul.