[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210922143726.2431036-1-vladimir.oltean@nxp.com>
Date: Wed, 22 Sep 2021 17:37:24 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>
Cc: Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Vladimir Oltean <olteanv@...il.com>
Subject: [PATCH net 0/2] Fix circular dependency between sja1105 and tag_sja1105
As discussed here:
https://lore.kernel.org/netdev/20210908220834.d7gmtnwrorhharna@skbuf/
DSA tagging protocols cannot use symbols exported by switch drivers.
Eliminate the two instances of that from tag_sja1105, and that allows us
to have a working setup with modules again.
Vladimir Oltean (2):
net: dsa: move sja1110_process_meta_tstamp inside the tagging protocol
driver
net: dsa: sja1105: break dependency between dsa_port_is_sja1105 and
switch driver
drivers/net/dsa/sja1105/sja1105_main.c | 3 +-
drivers/net/dsa/sja1105/sja1105_ptp.c | 45 ++++----------------------
drivers/net/dsa/sja1105/sja1105_ptp.h | 19 -----------
include/linux/dsa/sja1105.h | 40 ++++++++---------------
net/dsa/Kconfig | 1 -
net/dsa/tag_sja1105.c | 43 ++++++++++++++++++++++++
6 files changed, 63 insertions(+), 88 deletions(-)
--
2.25.1
Powered by blists - more mailing lists