Message ID | 1eacb44f2585c21a259f7132e0d860a0ed021550.camel@microchip.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=550V=AK=vger.kernel.org=netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 550CDC433DF for <netdev@archiver.kernel.org>; Mon, 29 Jun 2020 20:02:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 219E620675 for <netdev@archiver.kernel.org>; Mon, 29 Jun 2020 20:02:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="HZaH6hQh"; dkim=pass (1024-bit key) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="U6KBf8BJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388585AbgF2UCR (ORCPT <rfc822;netdev@archiver.kernel.org>); Mon, 29 Jun 2020 16:02:17 -0400 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:40012 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388349AbgF2UCO (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 29 Jun 2020 16:02:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1593460933; x=1624996933; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=AOD/H1vpG6XSIqc8RUmsbxQn9Jt3sf/cNjdYO4ZDcTM=; b=HZaH6hQhaKjFcmRd11KvIYlzIoEb55gQmDOTnpzSPSXtWFlHZUkeI07T M81x/353GQEvmi2eAMr3kUswLhrRHv7WQGrXiy/nztnwPvMDzYt+u710N J7Avyq+Bc8fcTNCrbf8O+JsVsC+uJTiIEviUK6onpgH3YHmkgJZJFWQme pqPdRYZkOvUDku9zw8ujh6aW7p8I4j9vpNiwSZrnbfI52ttzcN433RMzg sSXt78MHkk/IfG4tW3LkzKQd7Ro80Clond++i1F/JcOC6ubbPjfVa+UIu 8++sy8hfMboGA8xgxmJbmdhIcOnd0A36b9HdFXqmSpTb9vvfXrzgd9Rp/ A==; IronPort-SDR: T5vBc7QBfOK+A9citRxp6bWP4+Hn+G3se8cwWe55d0pjShL2kfsXFNetZqO76frsKRCCd344jt H9J7N5k/vb4iQPoehhTrHrd644OuhZU9EWuzyo65LbU2pEZQZhToa8JjMh6gCyFt39VtpyiZLo l+frujW/bZ2smHINAlzK+1EClaDHYc9gmJeTT5+Xn139bKj4HtjHk/qMI+2DS+yv7/FVrtMeu/ RbddGC3h5jEaiWoaIyREqQz0Nva0GnbakThos3yhe9UQLf0pPR/PqesUyjivxVVAKqh0AkdOyz 2uk= X-IronPort-AV: E=Sophos;i="5.75,295,1589266800"; d="scan'208";a="80128691" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 29 Jun 2020 13:02:12 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Mon, 29 Jun 2020 13:01:55 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3 via Frontend Transport; Mon, 29 Jun 2020 13:02:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j83zFoXOg+YBGxVY8K6hmr7Jo4qEfKZRPwa8aSS32cFMTRFFwqwM8avuQog2+Rxsz+nfwQ6vYpIRcsSIVjx9k+ydqxFUDDIqjwG4etj3MDKg2mfzpsPVBR9E7XoVZR11xZ8LPWgcYZ2TsbMnW11I4C52DMQNJvCOngzxJEQLBFEB8kh7e5/q87rMLHB4HiLaZXp7dlhLhXck3jwYMdmLpxgZuynT3MNRNbHVG1I1vAB+9EwK1RwACHK4SRbgmMIY+WfZGaAMnb46sDkAVJEFhDQ32pWzsqIRXH2RhabiEDfAZQ9/KPN0maAnD+8ngIsBNTC0rcGCChIDRuvy4lg88g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AOD/H1vpG6XSIqc8RUmsbxQn9Jt3sf/cNjdYO4ZDcTM=; b=fcbgpxRTvCaV0OlEBHw9rhtV1E28yhk7lbDhkVY86xaxKnxFs0yM9syRcskuj6gyunuUXEiQ/zpgscuVQY28kH8nMIrtpLz2efJLLB2FwV7lYn6MHNxxypUhPp+nVPcNgIYM2dLxBN3OvknaQKSxZZXM3EQa8IIQKbxtPt4aG48jQ/kq+0Xk+JqamP0dUUAGzsGeNGbbBYM9LzIZjzjJn8MdpfFJBC6pte2FWcdvQQoRh1IaTbBeh05XIsJKbsCCmRUlcVY8o5K0mI5EbXydldk4Juy3Pj4pq2lL5XRUsxBFc/nEtzSCi+4jApOsOIOzkJcU8by+ttx5q8oI4B7C4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AOD/H1vpG6XSIqc8RUmsbxQn9Jt3sf/cNjdYO4ZDcTM=; b=U6KBf8BJaq/857VttOw8M2JPJ4HXVaVDnNsLoeSGiVNXRTnhUtkpKLH4kIN9WwZgSZ3X13t2VemqojThPLLovuTxokYNEs7Ij0XyGWJ31gu474nSJJTDDMvg3aFJUpzktNXvEzXwFyAHou217wLYVtvs9uObx6m5M2Ma7jvC+28= Received: from BY5PR11MB3927.namprd11.prod.outlook.com (2603:10b6:a03:186::21) by BYAPR11MB3045.namprd11.prod.outlook.com (2603:10b6:a03:88::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.26; Mon, 29 Jun 2020 20:02:10 +0000 Received: from BY5PR11MB3927.namprd11.prod.outlook.com ([fe80::5993:d0ac:9849:d311]) by BY5PR11MB3927.namprd11.prod.outlook.com ([fe80::5993:d0ac:9849:d311%7]) with mapi id 15.20.3131.027; Mon, 29 Jun 2020 20:02:10 +0000 From: <Andre.Edich@microchip.com> To: <netdev@vger.kernel.org>, <UNGLinuxDriver@microchip.com>, <steve.glendinning@shawell.net> CC: <Parthiban.Veerasooran@microchip.com> Subject: [PATCH net-next 7/8] smsc95xx: use PHY framework instead of MII library Thread-Topic: [PATCH net-next 7/8] smsc95xx: use PHY framework instead of MII library Thread-Index: AQHWTlAsTF1B5G+7AkGTORsAdYQICQ== Date: Mon, 29 Jun 2020 20:02:09 +0000 Message-ID: <1eacb44f2585c21a259f7132e0d860a0ed021550.camel@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.3 authentication-results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=microchip.com; x-originating-ip: [93.202.178.57] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2d119e1c-608c-46a7-caf8-08d81c674eb9 x-ms-traffictypediagnostic: BYAPR11MB3045: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: <BYAPR11MB304571876287C95ED4ED8EA6EC6E0@BYAPR11MB3045.namprd11.prod.outlook.com> x-bypassexternaltag: True x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 044968D9E1 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UK9kjBigl+7qiWapmt/B5e5mh8H3J4E+P7f4HnHaJgu4ot5TeAP2ZDwov+rh2WE5fV9WbBnDh/kNtVGDJ13LXry8uOQjP/hghisZJWAnAyABOtlve52HsL1SdMx+MtXbceE26jBJRlxULOkoqqaH7PLLMYrRjx5HZ1S7nb47iYDDBwdVcJY9rkO6u+taeupla0zudzqqZJdHEY/NabGcDoZLiZ8fqEero1BbgNcm4Y2kXEBHQdJrmu9tf8avwetslZ+K83GQc+q8POfIfPjNPc9mrmDtOXR0STQim5YDGuzQGiIeP0GJkYJn91B0xYARG6/9d/AJ4cdwd6F1qHNc3g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB3927.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(39860400002)(396003)(346002)(376002)(366004)(136003)(110136005)(478600001)(36756003)(8936002)(5660300002)(107886003)(2616005)(6512007)(316002)(66556008)(64756008)(66446008)(86362001)(71200400001)(66946007)(66476007)(91956017)(76116006)(4326008)(8676002)(6486002)(6506007)(26005)(186003)(83380400001)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Nl3Ci8ky8ROJkZZk0fC7KDx/Ekxa4YUNTFV2uJFPMXjFHVjQPkzSNGa67zdovrib5Rucgwb5du41BqTi+cEf8tBAQazzB0i2AjllyyMrKVFh/pjCgKu/w0xvBTrqNy3XNZAB9iRPS2tARNZe4vDcG3iZ0TS/nEhnZViPeBDNuLft7d/e4b26ZPyg9a+NWVUdibP5Zpg/agG+xHk7aeCRybHXTi46Z+ppnLcFnDT4I4M98lMkBMMu9qdUiXdDI4jWnzzIwExASG8Eshw44kKmhmC1WOHWSZTvYa8r5h7x/rYLxuK4v6cAn9iWsk0FAgPClHZHMaJYW6un5hcwet3K1MbqcoEHP0dlDcuMnIKx3xGh9/hKMotVPSnGw/jm967UQJBgot/qVDLkKj8AwbjojMNRMGIO98LyJFM1nloqm6vbQrj6cA/7XcduBokvnuYJOR+PzAduLOwZTI0MHSiYJkOzMsoq00DkkB++M0xraB/kqDWCeP4osfn7IPiJcQmd Content-Type: text/plain; charset="utf-8" Content-ID: <43EC9A3058136F438F9D73BEDC270A5E@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB3927.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d119e1c-608c-46a7-caf8-08d81c674eb9 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2020 20:02:09.9054 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FHpEM6KIKk373GZ/w2Q1z5A9DltKUO7REdahL6JFS0pC3cJTOqwsFeXpKR9Q24hd6ZjSE/+bvqpq3S/s1QcmLwnmp1jAdPzbmJaYkZqd4Rw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3045 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index bcdd7e726f5b..06fcc2518305 100644 --- a/drivers/net/usb/smsc95xx.c +++ b/drivers/net/usb/smsc95xx.c @@ -51,6 +51,9 @@ #define SUSPEND_ALLMODES (SUSPEND_SUSPEND0 | SUSPEND_SUSPEND1 | \ SUSPEND_SUSPEND2 | SUSPEND_SUSPEND3) +#define PHY_ID_MASK 0x1f +#define REG_NUM_MASK 0x1f + struct smsc95xx_priv {