public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] DM_ETH v mpc83xx fixups
@ 2020-10-05 13:15 Rasmus Villemoes
  2020-10-05 13:15 ` [PATCH 1/3] mdio-uclass.c: support fixed-link subnodes Rasmus Villemoes
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Rasmus Villemoes @ 2020-10-05 13:15 UTC (permalink / raw)
  To: u-boot

Hi Heiko

I finally managed to figure out what was wrong; the fixed-link phy was
simply ignored. This is fixed by the first patch, though I don't know
if that's the proper way to make this work.

While poking around the code I found two minor things that might as
well be fixed.

I'd also like to do a somewhat more extensive change to dm_qe_uec.c: I
find it very confusing with the qe_uec_priv versus uec_priv, so I'd
like to just add a phydev member to struct uec_priv, remove struct
qe_uec_priv, make .priv_auto_alloc_size = sizeof(struct uec_priv), and
eliminate the malloc/free pair in .prove/.remove. It's mostly
mechanical using coccinelle, but WDYT?

Rasmus Villemoes (3):
  mdio-uclass.c: support fixed-link subnodes
  dm_qe_uec.c: fix indentation in uec_set_mac_if_mode()
  uec.h: fix COFIG_DM typo

 drivers/net/qe/dm_qe_uec.c | 4 ++--
 drivers/net/qe/uec.h       | 2 +-
 net/mdio-uclass.c          | 7 +++++++
 3 files changed, 10 insertions(+), 3 deletions(-)

-- 
2.23.0

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-02-22 17:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-05 13:15 [PATCH 0/3] DM_ETH v mpc83xx fixups Rasmus Villemoes
2020-10-05 13:15 ` [PATCH 1/3] mdio-uclass.c: support fixed-link subnodes Rasmus Villemoes
2020-10-06  6:02   ` Heiko Schocher
2020-10-06  6:21     ` Rasmus Villemoes
2021-02-22 17:32   ` Tom Rini
2020-10-05 13:15 ` [PATCH 2/3] dm_qe_uec.c: fix indentation in uec_set_mac_if_mode() Rasmus Villemoes
2020-10-06  6:03   ` Heiko Schocher
2021-02-22 17:32   ` Tom Rini
2020-10-05 13:15 ` [PATCH 3/3] uec.h: fix COFIG_DM typo Rasmus Villemoes
2020-10-06  6:03   ` Heiko Schocher
2021-02-22 17:32   ` Tom Rini
2020-10-06  6:14 ` [PATCH 0/3] DM_ETH v mpc83xx fixups Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox