Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7894AC61DA4 for ; Thu, 2 Feb 2023 12:59:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232358AbjBBM7A (ORCPT ); Thu, 2 Feb 2023 07:59:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232145AbjBBM6v (ORCPT ); Thu, 2 Feb 2023 07:58:51 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C55C6EAFB; Thu, 2 Feb 2023 04:58:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1675342730; x=1706878730; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=a227EjQrvydGYIKcbwgGhKJ7ZtgW5ewg9wl5/GCvx7U=; b=NbX8cCPd1fLE7N2TwNJ5L7aHc3Cl1NxvtJI2JcyIhH3iItretLIpfvFe 1qYqTbFf+JvhcLNWX1lBexVnD+xK2aRK9q5IqdOkOC+EKj57kY9qY29DK vjQke1fK+ndYIF9/6qK1cr3h7sLNvohaC+hfJf7cf5Yoxh/gbj+aV8sIf JZffQhuX6lUkMtr1VsgYkaP7r2iGmURS4vRZ/yfFNWkV9vUfSBIoePkPG 9xbTymhzik/txlnPW5oUroCYNxDGmoP/FTkAr2xHUPiFIph5zJRH+BJlP a5eoTMpyhSnLTnNABcH3xYL07JuIwV3xEqWAqxSqg/tj7wM18mua2TlOV Q==; X-IronPort-AV: E=Sophos;i="5.97,267,1669100400"; d="scan'208";a="210318418" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Feb 2023 05:58:49 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 2 Feb 2023 05:58:49 -0700 Received: from che-lt-i67786lx.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Thu, 2 Feb 2023 05:58:45 -0700 From: Rakesh Sankaranarayanan To: , CC: , , , , , , , , , Subject: [RFC PATCH net-next 04/11] net: dsa: microchip: lan937x: update port number for LAN9373 Date: Thu, 2 Feb 2023 18:29:23 +0530 Message-ID: <20230202125930.271740-5-rakesh.sankaranarayanan@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202125930.271740-1-rakesh.sankaranarayanan@microchip.com> References: <20230202125930.271740-1-rakesh.sankaranarayanan@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LAN9373 have total 8 physical ports. Update port_cnt member in ksz_chip_data structure. Signed-off-by: Rakesh Sankaranarayanan --- drivers/net/dsa/microchip/ksz_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index ada673b6efc6..7062ce1749fb 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c @@ -1490,7 +1490,7 @@ const struct ksz_chip_data ksz_switch_chips[] = { .num_alus = 1024, .num_statics = 256, .cpu_ports = 0x38, /* can be configured as cpu port */ - .port_cnt = 5, /* total physical port count */ + .port_cnt = 8, /* total physical port count */ .port_nirqs = 6, .num_tx_queues = 8, .tc_cbs_supported = true, -- 2.34.1