netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/5] stmmac: pci: Refactor DMI probing
@ 2017-06-22  6:17 Jan Kiszka
  2017-06-22  6:17 ` [PATCH v5 1/5] stmmac: pci: Make stmmac_pci_info structure constant Jan Kiszka
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Jan Kiszka @ 2017-06-22  6:17 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, David Miller
  Cc: netdev, linux-kernel, Andy Shevchenko

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(-)

-- 
2.12.3

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-06-22 17:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-22  6:17 [PATCH v5 0/5] stmmac: pci: Refactor DMI probing Jan Kiszka
2017-06-22  6:17 ` [PATCH v5 1/5] stmmac: pci: Make stmmac_pci_info structure constant Jan Kiszka
2017-06-22  6:17 ` [PATCH v5 2/5] stmmac: pci: Use stmmac_pci_info for all devices Jan Kiszka
2017-06-22  6:17 ` [PATCH v5 3/5] stmmac: pci: Make stmmac_pci_find_phy_addr truly generic Jan Kiszka
2017-06-22  6:18 ` [PATCH v5 4/5] stmmac: pci: Select quark_pci_dmi_data from quark_default_data Jan Kiszka
2017-06-22  6:18 ` [PATCH v5 5/5] stmmac: pci: Use dmi_system_id table for retrieving PHY addresses Jan Kiszka
2017-06-22 17:40 ` [PATCH v5 0/5] stmmac: pci: Refactor DMI probing David Miller
2017-06-22 17:43   ` Jan Kiszka
2017-06-22 17:53     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).