net: phy: fixed_phy: replace list of fixed PHYs with static array
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyApplied 2/2
- v11 patch 6 repliesSuperseded
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: phy: fixed_phy: replace list of fixed PHYs with static arraydrivers/ | +17 | 0 replies | Applied |
| 2/2 | net: phy: fixed_phy: replace IDA with a bitmapdrivers/ | +17 | 0 replies | Applied |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Maxime Chevallier |
|---|---|
| Series | T-b R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/2] net: phy: fixed_phy: replace list of fixed PHYs with static array
Due to max 32 PHY addresses being available per mii bus, using a list can't support more fixed PHY's. And there's no known use case for as much as 32 fixed PHY's on a system. 8 should be plenty of fixed PHY's, so use an array of that size instead of a list. This allows to significantly reduce the code size and complexity.
In addition replace heavy-weight IDA with a simple bitmap.
Heiner Kallweit (2):
net: phy: fixed_phy: replace list of fixed PHYs with static array
net: phy: fixed_phy: replace IDA with a bitmap
drivers/net/phy/fixed_phy.c | 83 +++++++++++++------------------------ 1 file changed, 29 insertions(+), 54 deletions(-)
Signature · 1 line
2.52.0