mbox series

[RFC,net,0/2] Break circular dependency between sja1105.ko and tag_sja1105.ko

Message ID 20210909001736.3769910-1-vladimir.oltean@nxp.com
Headers show
Series Break circular dependency between sja1105.ko and tag_sja1105.ko | expand

Message

Vladimir Oltean Sept. 9, 2021, 12:17 a.m. UTC
These patches are posted just as a basis for the discussion here:
https://lore.kernel.org/netdev/20210908220834.d7gmtnwrorhharna@skbuf/

They are fairly large and I didn't feel like posting them inline would
be very easy to look at them.

Vladimir Oltean (2):
  net: dsa: sja1105: split out the probing code into a separate driver
  net: dsa: move sja1110_process_meta_tstamp inside the tagging protocol
    driver

 drivers/net/dsa/sja1105/Kconfig               |   4 +
 drivers/net/dsa/sja1105/Makefile              |   2 +
 drivers/net/dsa/sja1105/sja1105_main.c        | 316 -----------------
 drivers/net/dsa/sja1105/sja1105_probe.c       | 322 ++++++++++++++++++
 drivers/net/dsa/sja1105/sja1105_ptp.c         |  45 +--
 drivers/net/dsa/sja1105/sja1105_ptp.h         |  19 --
 drivers/net/dsa/sja1105/sja1105_spi.c         |  12 +
 .../net/dsa/sja1105/sja1105_static_config.c   |   1 +
 include/linux/dsa/sja1105.h                   |  29 +-
 net/dsa/tag_sja1105.c                         |  43 +++
 10 files changed, 404 insertions(+), 389 deletions(-)
 create mode 100644 drivers/net/dsa/sja1105/sja1105_probe.c