Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1909237rwn; Fri, 16 Sep 2022 02:44:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6I/kPYKs5JFVlE9Sd15xDvQZHb37IIq5/D/7GwOLb72RN4JAqORXQWEH284R2ZMjnGaFHZ X-Received: by 2002:a63:eb0e:0:b0:429:aefa:9fa9 with SMTP id t14-20020a63eb0e000000b00429aefa9fa9mr3735889pgh.122.1663321483202; Fri, 16 Sep 2022 02:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663321483; cv=none; d=google.com; s=arc-20160816; b=IkPIg9n0c9XK+DpG/ei9PQ4oJPSgybwtaekYVjs9Boi3WDGwfQcHnj0AywWQIW7DSg AfReZtMdBZ3ZyyUpqEcd/Y5BGoDb4VPo1IM6y4rZdm+UCK5iEOeiP0Gv02oYMCqSx4d5 WuLR1PSsbMRKl81tPtXjUA2wHGptJZq97EbQX3hRYy0Srol5NjVzvV3MmtZqCabJc+V0 r1blDkSCQVdyJRiYi0zw8W5NTqa+JtnltWEMj+mIC2MIHF+89dMi6aUICzSV/oggR02J 8LMl62+8sjEC28Val88pxm3ruzRW63CRyJIMIJDLgibEmnp/WMdB69SzAmF0Jls4XFZ9 n+/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fhSGGZCh22tpCccOuEaz9etuld5pNbN4mKnXLbf2El0=; b=an0INYRq7rmXuxrU/T8Es4HKjnNCc4Z/Fx0WSKOAdgo5/OSVAfNXkTT6mnK984eBwu MCFjylg9EahkqCqsHzLGCHutP0kB447bBT67O/S0Y4ENQmbWk+cRyh2BXlSyvfgeRH6A eWXCL3a2dgSdkHn/qez97ny5cRxHqoETm/TlrEIv6TuVNwZSwgqd1TtfKEzh0N5XdTt+ eFL8Orduj7I9QypxqBZ9cHpbTyB0rk2Pp6PEcowWfb2K9fu05asdq8QPh36pXsXwFw1m FzeYMrodoFam8WRhaq1N3llfKHdFEGopITUsy894HUargcCCS6doALWacw2OROOIniNf HTGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Pcen2KrJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d27-20020a630e1b000000b0041ce096d7b6si20489176pgl.393.2022.09.16.02.44.29; Fri, 16 Sep 2022 02:44:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Pcen2KrJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230303AbiIPJQb (ORCPT + 99 others); Fri, 16 Sep 2022 05:16:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231344AbiIPJPm (ORCPT ); Fri, 16 Sep 2022 05:15:42 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4B7DA832F; Fri, 16 Sep 2022 02:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1663319715; x=1694855715; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ID9kqtBpMi1grFQ2zHt3THgmOxztjFaV2cZKdBQla2Q=; b=Pcen2KrJbCFU+KB0XV5YlGQd9qlwRsnZsCPPUBJURdXG4H14oTRvGXDN kx5JXAJHXy82tEVNkxXw8X80VNiiZZYbMTmDE3HhlwPtGHdBpvQviupiF rPZaQXiWlU4+5yfOAIYdLciPparoYCTEyIwkL43U48ivR1Z1pzk/vf7Ok eMgn4PXJFweExjSu9TEBueGch0tQRtYWWOE7ESi7ctFAijwNPIRDhcB07 zynQDs4p3ISwbT1uRSf84uJD+ISeckxG68XXisATusUdcQNTMoIXCUUIn VNinKxk8T3QLmPnWGR34LlIDvod/J29odjnE6bUfu+5tLFLHKz+8qwGGK g==; X-IronPort-AV: E=Sophos;i="5.93,320,1654585200"; d="scan'208";a="174172992" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Sep 2022 02:15:13 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.12; Fri, 16 Sep 2022 02:15:11 -0700 Received: from CHE-LT-I17769U.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Fri, 16 Sep 2022 02:15:04 -0700 From: Arun Ramadoss To: , CC: , , , , , , , , , , , , , , Subject: [Patch net-next v3 6/6] net: phy: micrel: enable interrupt for ksz9477 phy Date: Fri, 16 Sep 2022 14:43:48 +0530 Message-ID: <20220916091348.8570-7-arun.ramadoss@microchip.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220916091348.8570-1-arun.ramadoss@microchip.com> References: <20220916091348.8570-1-arun.ramadoss@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Config_intr and handle_interrupt are enabled for ksz9477 phy. It is similar to all other phys in the micrel phys. Signed-off-by: Arun Ramadoss Reviewed-by: Andrew Lunn --- drivers/net/phy/micrel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 7b8c5c8d013e..09f2bef5d96c 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -3191,6 +3191,8 @@ static struct phy_driver ksphy_driver[] = { .name = "Microchip KSZ9477", /* PHY_GBIT_FEATURES */ .config_init = kszphy_config_init, + .config_intr = kszphy_config_intr, + .handle_interrupt = kszphy_handle_interrupt, .suspend = genphy_suspend, .resume = genphy_resume, } }; -- 2.36.1