Received: by 10.223.164.202 with SMTP id h10csp118709wrb; Mon, 6 Nov 2017 03:45:25 -0800 (PST) X-Google-Smtp-Source: ABhQp+SPCYJWYePL1Mon9yzrZy3RWVUisxADMMWtRaEO1Ly9uU6pMwbxu68ZxOZ0nMPo5DpS/30P X-Received: by 10.99.164.18 with SMTP id c18mr15008666pgf.167.1509968725141; Mon, 06 Nov 2017 03:45:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509968725; cv=none; d=google.com; s=arc-20160816; b=V4tELxp6o25bM7uVx11ajer+6j5dE+3Zi8sIvEsyKSGLsTZJgI7TjLFFXnBWhAX6g3 /yVy1rctegUL8NR1J3Xphvy1bWOp5+DKClRWfzvmHwh+fKThIap6enhLRjEDLYoU1XCM TZj75k7jHTRWiI/HE+NmNFmWeBxRkO0pxWJlnKNh7GjitED+rTWsPzi5n8dNgHE1EG7D dNmjLxrRbAJmB1UNRbDhG0bjfWXzeRyv5s9gZX/VnE/asvmJ7mIWFFU/K6eZlyXXrgss jdyUyIvLzrtt/l9gy8z50N8RiGQr2Wk8jTbOr/Tg5xOyJim3U4wcz8i7Cf+z86jtvgH6 GKHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=edrtlGGvnrpftQdXi/kmeiYGubw2hN5VnPn6uTMTWec=; b=fqPeuPUY+jA+3srWq6inrmgctflQ4a7i/7DiczWzMzsRtF4RdWtX6Eikkd10s46tHv iBeZm8Xa8LRfnzjOmko3hhOTM9BEwdP0WaobCFeYEB2Msadcz0cSMjqxd9W56bUcF+t3 r0Ei1cguzQlQn3tXWfxI6JK9Ob0pKMCafOHVzhGMAvGuMg5MY0YqPNPFg9u1pbqWsSjV IJM023hpPWTuFV6avhqLrHNMPv7OEWNV6R96XhcQLuQoJLoszYZWveyczqWwvzxu6owf q499pdPW9pzB0lRWD7JzA5C0dSk9Wu3nGdIuD/4DRgVnSxqgMyl5XMRvovtEj38L+gg3 1HUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si10053963plz.428.2017.11.06.03.45.11; Mon, 06 Nov 2017 03:45:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752741AbdKFLoR (ORCPT + 99 others); Mon, 6 Nov 2017 06:44:17 -0500 Received: from aibo.runbox.com ([91.220.196.211]:59196 "EHLO aibo.runbox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752408AbdKFLnO (ORCPT ); Mon, 6 Nov 2017 06:43:14 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eBfo7-0002lx-O0; Mon, 06 Nov 2017 12:43:11 +0100 Received: from 93.89.113.32.ip.vitnett.no ([93.89.113.32] helo=localhost.localdomain) by mailfront12.runbox.com with esmtpsa (uid:646232 ) (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1eBfnf-0008B1-Jt; Mon, 06 Nov 2017 12:42:43 +0100 From: Egil Hjelmeland To: andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Egil Hjelmeland Subject: [PATCH v2 net-next 1/4] net: dsa: lan9303: Correct register names in comments Date: Mon, 6 Nov 2017 12:42:01 +0100 Message-Id: <20171106114204.15083-2-privat@egil-hjelmeland.no> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171106114204.15083-1-privat@egil-hjelmeland.no> References: <20171106114204.15083-1-privat@egil-hjelmeland.no> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Two comments refer to registers, but lack the LAN9303_ prefix. Fix that. Signed-off-by: Egil Hjelmeland Reviewed-by: Vivien Didelot --- include/linux/dsa/lan9303.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/linux/dsa/lan9303.h b/include/linux/dsa/lan9303.h index 05d8d136baab..f48a85c377de 100644 --- a/include/linux/dsa/lan9303.h +++ b/include/linux/dsa/lan9303.h @@ -13,8 +13,8 @@ struct lan9303_phy_ops { #define LAN9303_NUM_ALR_RECORDS 512 struct lan9303_alr_cache_entry { u8 mac_addr[ETH_ALEN]; - u8 port_map; /* Bitmap of ports. Zero if unused entry */ - u8 stp_override; /* non zero if set ALR_DAT1_AGE_OVERRID */ + u8 port_map; /* Bitmap of ports. Zero if unused entry */ + u8 stp_override; /* non zero if set LAN9303_ALR_DAT1_AGE_OVERRID */ }; struct lan9303 { @@ -28,7 +28,9 @@ struct lan9303 { struct mutex indirect_mutex; /* protect indexed register access */ const struct lan9303_phy_ops *ops; bool is_bridged; /* true if port 1 and 2 are bridged */ - u32 swe_port_state; /* remember SWE_PORT_STATE while not bridged */ + + /* remember LAN9303_SWE_PORT_STATE while not bridged */ + u32 swe_port_state; /* LAN9303 do not offer reading specific ALR entry. Cache all * static entries in a flat table **/ -- 2.11.0 From 1591060387189076210@xxx Tue Jan 30 23:03:47 +0000 2018 X-GM-THRID: 1583320913710123922 X-Gmail-Labels: Inbox,Category Forums,Downloaded_2018-01