On Sun, Aug 23, 2026 at 1:20 PM springbreeze
[off-list ref] wrote:
Thanks for the review!
The literals were a stopgap; the code carried a TODO to replace them
with bindgen-generated accessors "when it becomes possible". I checked
the current bindgen output: it now generates layout-derived accessors
for these bitfields (phydev.link(), phydev.autoneg(),
phydev.autoneg_complete()), so v2 drops the hand-written offsets
entirely and uses the generated accessors instead, which removes this
class of bug.
netdev may prefer the minimal fix for backporting, though, i.e. the
improvement could in principle be a separate patch.
But, of course, up to them, thanks!
[ Please reply in plain text; otherwise, your message may be dropped
by the mailing lists. ]
Cheers,
Miguel