Skip to content

stmmac: pci: Refactor DMI probing

Jan Kiszka lkml netdev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 3 repliesIn review
  2. v46 patches 2 repliesSuperseded
  3. v36 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches7 repliesSuperseded
v13 patches8 repliesSuperseded

Changes in v5 from the cover letter

- fixed a remaining issue in patch 5
- dropped patch 6 for now

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5stmmac: pci: Make stmmac_pci_info structure constantdrivers/net/ethernet/stmicro/stmmac/stmmac_pci.c+11 -120 replies
2/5stmmac: pci: Use stmmac_pci_info for all devicesdrivers/net/ethernet/stmicro/stmmac/stmmac_pci.c+23 -130 replies
3/5stmmac: pci: Make stmmac_pci_find_phy_addr truly genericdrivers/net/ethernet/stmicro/stmmac/stmmac_pci.c+13 -70 replies
4/5stmmac: pci: Select quark_pci_dmi_data from quark_default_datadrivers/net/ethernet/stmicro/stmmac/stmmac_pci.c+39 -440 replies
5/5stmmac: pci: Use dmi_system_id table for retrieving PHY addressesdrivers/net/ethernet/stmicro/stmmac/stmmac_pci.c+64 -330 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/5] stmmac: pci: Refactor DMI probing

Some cleanups of the way we probe DMI platforms in the driver. Reduces a bit of open-coding and makes the logic easier reusable for any potential DMI platform != Quark.

Tested on IOT2000 and Galileo Gen2.

Changes in v5:
- fixed a remaining issue in patch 5
- dropped patch 6 for now

Jan

Jan Kiszka (5):
stmmac: pci: Make stmmac_pci_info structure constant
stmmac: pci: Use stmmac_pci_info for all devices
stmmac: pci: Make stmmac_pci_find_phy_addr truly generic
stmmac: pci: Select quark_pci_dmi_data from quark_default_data
stmmac: pci: Use dmi_system_id table for retrieving PHY addresses

 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 203 ++++++++++++++---------
 1 file changed, 122 insertions(+), 81 deletions(-)
Signature · 1 line
2.12.3