gianfar: prevent resource conflict
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyApplied
- v11 patch 5 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ppc: gianfar MDIO busesarch/ arch/ arch/ +2 more | +162 | 1 reply | |
| 2/2 | P2020RDB: update build configurationarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] gianfar: prevent resource conflict
This patch v2 avoids resource conflicts between the gianfar port instances by substituting dev_request_mem_region for dev_get_mem_region.
In addition, it separates the MDIO buses from their Ethernet device by creating MDIO bus devices to access the external bus and TBI interfaces.
This patch is tested on the P2020RDB for which there are 3 MDIO buses:
- The main MDIO bus "gfar-mdio", linked to port eTSEC1 is used to connect external PHYs for all ports and map the internal TBI interface of eTSEC1.
- The MDIO buses "gfar-tpiphy" map TBI interface registers on all remaining ports.
Renaud Barbier (2):
ppc: gianfar MDIO buses
P2020RDB: update build configuration
arch/ppc/boards/freescale-p2020rdb/p2020rdb.c | 13 ++- arch/ppc/configs/p2020rdb_defconfig | 4 +- arch/ppc/mach-mpc85xx/eth-devices.c | 44 +++++--- arch/ppc/mach-mpc85xx/include/mach/gianfar.h | 4 + drivers/net/gianfar.c | 146 +++++++++++++++++++------ drivers/net/gianfar.h | 13 ++- 6 files changed, 165 insertions(+), 59 deletions(-)
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox