Re: [PATCH v2 3/3] net: phy: add Rust Asix PHY driver
From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-10-07 15:39:54
Also in:
rust-for-linux
From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-10-07 15:39:54
Also in:
rust-for-linux
reexporting all the BMCR_ values by hand doesn't sound fun. Can we automaticall generate such?
The C22 address space only have a max of 32, and no more are expected. C45 address space can have in theory 32 x 65536, although in practice it is sparsely populated. But new values are added every so often. So generated at build time from the #defines would be better. Andrew