Re: [PATCH net-next v4 2/7] net: axienet: Use ioread32/iowrite32 directly

From
Andrew Lunn <andrew@lunn.ch>
Date
2025-08-05 21:04:28
Also in
lkml, netdev
Reply to
Sean Anderson, 2025-08-05
quoted hunk ↗ jump to hunk
-	return readx_poll_timeout(axinet_ior_read_mcr, lp,
+	return readx_poll_timeout(ioread32, lp->regs + XAE_MDIO_MCR_OFFSET,
 				  val, val & XAE_MDIO_MCR_READY_MASK,
 				  1, 20000);
I think this change makes axinet_ior_read_mcr() redundant? So it would
be good to remove it.

   Andrew
Thread (21 messages) 21 messages, 4 authors, last reply 2025-12-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help