From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 07 Apr 2022 11:38:41 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ncObC-00AIsh-Kj for lore@lore.pengutronix.de; Thu, 07 Apr 2022 11:38:41 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncOb8-0005lZ-TX for lore@pengutronix.de; Thu, 07 Apr 2022 11:38:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=At+zu0OoTEvPrvk9x4/yBmN6Bakr5CXFKnBWh6VwwRk=; b=n4Cny99qbPQsa7 +zLRKoHVwciv+I6FEMlElSzIbZLRLVE8GXNJfsis02oC8eCOW6j7Ojs0p2P/2DZevEcmTLl8Ij8YW wKLRBx4VubQHGS+j9fG2wyL+IX2x3ZSyAu1N/uhx/gBA/rOTu0KiLV+fdxehafVe0/SOywJpVU+Pu /GMXy/gPkJCelpC4hAsaFG/957MulkS0VwlTfAQg1RUYCVLg8LthNAcDuwptDIWzFYdKVRdxKZBAL XUHHmpJaPEGJxLuawrFG7WrCEglxJzh0TmQrqw8m1DPTsKmL1ngTzRDvPnhHJXdoTZFX+iprQZWGR VtDGDtreVO4sK8Zrqb+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncOZZ-00AuWk-DF; Thu, 07 Apr 2022 09:37:01 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncOFM-00AlMz-1j for barebox@lists.infradead.org; Thu, 07 Apr 2022 09:16:09 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ncOFK-0001QW-J9; Thu, 07 Apr 2022 11:16:06 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ncOFL-001aKC-76; Thu, 07 Apr 2022 11:16:05 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ncOFI-0040re-Oz; Thu, 07 Apr 2022 11:16:04 +0200 From: Oleksij Rempel To: barebox@lists.infradead.org Cc: Oleksij Rempel Date: Thu, 7 Apr 2022 11:15:52 +0200 Message-Id: <20220407091604.956577-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_021608_131962_F1FC918B X-CRM114-Status: GOOD ( 11.77 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.0 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH v3 00/12] provide DSA support X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) changes v3: - remove no needed work artifact ksz9477_old.c changes v2: - mane sure optional functions are called conditionally - add support for ksz9477 and ksz9893 - add ethlog, kind of replacement for tshark or tcpdump Oleksij Rempel (12): net: add RX preprocessor support net: add of_find_eth_device_by_node() function net: add DSA framework to support basic switch functionality driver: add dev_get_priv() helper net: port part of if_vlan header from kernel v5.17 spi: port spi_sync_transfer() function from kernel v5.17 net: mdio: add MDIO_DEVAD_NONE define net: phy: make sure MDIO bus is probed if we search for the PHY of_net: add rev-rmii support net: dsa: add support for SJA11xx switches net: dsa: add KSZ9477 switch SPI driver add ethlog commands/Kconfig | 8 + commands/Makefile | 1 + commands/ethlog.c | 82 + drivers/net/Kconfig | 29 + drivers/net/Makefile | 3 + drivers/net/dsa.c | 460 ++++ drivers/net/ksz9477.c | 570 +++++ drivers/net/phy/phy.c | 1 + drivers/net/sja1105.c | 3000 +++++++++++++++++++++++++++ drivers/of/of_net.c | 1 + include/driver.h | 5 + include/dsa.h | 90 + include/linux/if_vlan.h | 56 + include/linux/mdio.h | 2 + include/linux/phy.h | 1 + include/net.h | 15 + include/platform_data/ksz9477_reg.h | 1665 +++++++++++++++ include/spi/spi.h | 24 + net/eth.c | 20 +- net/net.c | 9 + 20 files changed, 6040 insertions(+), 2 deletions(-) create mode 100644 commands/ethlog.c create mode 100644 drivers/net/dsa.c create mode 100644 drivers/net/ksz9477.c create mode 100644 drivers/net/sja1105.c create mode 100644 include/dsa.h create mode 100644 include/linux/if_vlan.h create mode 100644 include/platform_data/ksz9477_reg.h -- 2.30.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox