Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp544737rdb; Sat, 17 Feb 2024 23:58:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVGCIcsPB1ARdjBucgdwsTn9U2vpBnVR/QrHEY+/OBj75UXSW1LGyrPrHlHwpMthrOd3W16UoyYKns6KWnJsbojPRKkN7EPuJzS8Hvk9g== X-Google-Smtp-Source: AGHT+IGCmHe3Sq5S9KUAKZgWL37c7cHvwrnE/+XlYzwoBVJCBNrTBBSYQbycSIbWRo7gxPRZFJbu X-Received: by 2002:ac8:5843:0:b0:42e:3e4:d4e0 with SMTP id h3-20020ac85843000000b0042e03e4d4e0mr1331360qth.30.1708243104606; Sat, 17 Feb 2024 23:58:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708243104; cv=pass; d=google.com; s=arc-20160816; b=yZhyJM54RhtE2RxJ4Sor0Abn+goexrRdJAq2wmGSmGjfrdnUFygKUzuvNS49WeTIxI SVFg8H0UyiKQPvgMULM+WYRAkNuyezUe8Vlk/WQyBRVJnP/ezlmC/NK+PGk1KbK+wkjY 8S88Fk1F+P1iv6pL5iwVRkuBWIYt9zSpN5D+wdPUSVWKsKGLxkMtyNngK2NSfzGm4c+Z 4Y0/wXb/2qOwEDGWL9ChtQGXXIj9OQeFgvalASOTt0i6c+FsOmMMK+NKd/i6cqAchrL6 iW557DdCCBCgdD0VFm51UFWt+KwVgDtHm3LaziFD9ET1/b1b+zzysvIC1eX14+Vo8Z6q XpZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=bU9yZws6bY4pAcFt+/tQW3bVoJ4iyCU+qUdZyENINWE=; fh=zG9oZlaY4FioHNa29SXL9hH/rj59emvPijZcZvtWdTE=; b=brerAUhc7W79fqy3jPSqa5AVISN9EUXpNMiWpWfUlPS5LUx3IGX5l7Go30JyWIbLr+ qNrZ5kuNundBO4vsqoSfw1y4rt6hJ9wuxMVaocdDDnzqsirMq7sQm85vE9abt5OOTJCo zr1geamg3Dziskx7RMxj7QMm2sKwKwKynjIPDzcar0RG2jB83q6DSHPR5wKk8ojcCw7R bYWtb63qW1Fu4Gdl2W4/RPPR8+yVs6WRIRiRXEIhA0YsOwE47LQXlvenSYNZi0mnIZ8c rJNRD/oFKb0dQP7wk9YQGljvKlAbgG+urE7YU/AImukfcKIlF9TKyXd5xK+6CCb5iUru BT2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fCzD9fao; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70259-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w24-20020ae9e518000000b007874cad7b2bsi3260704qkf.371.2024.02.17.23.58.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 23:58:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70259-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fCzD9fao; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-70259-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5DF341C20BCD for ; Sun, 18 Feb 2024 07:58:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACE3311196; Sun, 18 Feb 2024 07:58:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fCzD9fao" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42565EAD5; Sun, 18 Feb 2024 07:58:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708243083; cv=none; b=Yp2kD3R3Ewgf2xb9yMd1KGOEEyTy/J++ahINlWeot/aMot1XrP4AntTh5QhRJHSTKiP6EjZnSESxF5wbTXgMQlu7SsREq4J60aVA9eqpjcHOdFsYVwTfMtKZ0t0DTkTeDv3IT+in0ylAQ23/7hJXKL6uhoAA+1XxV1xYvGmEyOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708243083; c=relaxed/simple; bh=12ZQEdtuynQ+RnIa2FV2uXf0/cwlIvakbZZS+qm0xB8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qTWTxhEZ9OIa7963Ws6KBCTB5nhyEFHbIbZ46fAArz08vgpl3EToGw1PNK747vpwU002b5d6YQNJ8FsKn2BEEXezXtNn80cW+ITTko/R19Ddx5pgv29V/dh6XhZpscpMVrOd63jG4vlqali9+CutdViOhfZbV3Q/eSYXXVc1rI8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fCzD9fao; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-563c595f968so3585937a12.0; Sat, 17 Feb 2024 23:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708243080; x=1708847880; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bU9yZws6bY4pAcFt+/tQW3bVoJ4iyCU+qUdZyENINWE=; b=fCzD9faozpixaf0WJsOBnwOk/MpjD9H+0GJteK6CMWYOt7hQ0iwEJ5MfTmUcOU9wf2 C0yAORZgiY7AilQE/zRjtdr9snD+hkW57SEFdAQydoxttPtmL2KmForb6IJeHRyGyIYz b+CHB56pzmOs0YGlvProc0US2l8BLlnSizhS7PQQ/Mi09wVvlalGqJpBRAhsEVdPrc9I +3GHW7f8dBX9pLYf5eh1/hxDjF425KyHDB4r/DOMfSPVsOcp4oxJpt9le3Hk1Mnrmj4Y lZhfR1/Ig73NRTNB1wtMnMcQBkEVhYSKXyNUBca+3+/BCfJYbfdCntzEnpGodwbpGdNo VSrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708243080; x=1708847880; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bU9yZws6bY4pAcFt+/tQW3bVoJ4iyCU+qUdZyENINWE=; b=sKSkt4fVlzM9LhNYfRJ8OcPfpFUwmDOpliTG0KktnDxZHxr8NonnPVy7imrGWldcwn KHLc3gFxNUYx6yJY2rpwaZ3Ky3tkWNGPqOor2vSNUQZXC6jZ3VbSyNRZuQNgSZ8gqo0m LlQRFpQBpFkz2TCZFFKGy8SYOhfXP7aMx2aw+4a2Ht58Trjv6E7xJtY6yrWrLqgt4d6y jlKEsG98neAmUt8O2bstpGaevvczdjCwvb2ZHg4qMMmMe0OYJ4mnrWxvPp2tua5yNeHi FfDJgF+XSGbbI/F0+XVJKL72nAoYZWb/fbqb6RkjOC+JKoBXxwsE7Y961AUAj7G1lMid NDiA== X-Forwarded-Encrypted: i=1; AJvYcCUPwpUNLNdTpEJhJHjEOfjb+ivEIg8D9eve/5FbMsFB/N6Q2E4rqaBmfY+OG8Vb+d0i8aRA0WrQWNoLaeVmQrEAV5rDlMssG+3m7ffgVJNKDdoHbDx66giIQlqGyumFkLf2E9PD X-Gm-Message-State: AOJu0YyIvs9A7JLSSLaJoZBGqDW4CLbiL0sMQlZeWKqfBlk5bDVnck1K JvMwXfADbkf+IjwD7gXbmzLFJkw4luPDodMAWKhCyNzd0qAYvtpb X-Received: by 2002:a17:906:b0d9:b0:a38:63d4:2273 with SMTP id bk25-20020a170906b0d900b00a3863d42273mr6487403ejb.35.1708243080451; Sat, 17 Feb 2024 23:58:00 -0800 (PST) Received: from debian.fritz.box ([93.184.186.109]) by smtp.gmail.com with ESMTPSA id jj12-20020a170907984c00b00a3e64bcd2c1sm458732ejc.142.2024.02.17.23.57.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 23:57:59 -0800 (PST) From: Dimitri Fedrau To: Cc: Dimitri Fedrau , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Stefan Eichenberger , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 net-next 01/14] net: phy: Add BaseT1 auto-negotiation constants Date: Sun, 18 Feb 2024 08:57:38 +0100 Message-Id: <20240218075753.18067-2-dima.fedrau@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240218075753.18067-1-dima.fedrau@gmail.com> References: <20240218075753.18067-1-dima.fedrau@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Added constants for advertising 100BT1 and 1000BT1 in register BASE-T1 auto-negotiation advertisement register [31:16] (Register 7.515) Reviewed-by: Andrew Lunn Signed-off-by: Dimitri Fedrau --- include/uapi/linux/mdio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/mdio.h b/include/uapi/linux/mdio.h index 3c9097502403..c0c8ec995b06 100644 --- a/include/uapi/linux/mdio.h +++ b/include/uapi/linux/mdio.h @@ -350,6 +350,8 @@ /* BASE-T1 auto-negotiation advertisement register [31:16] */ #define MDIO_AN_T1_ADV_M_B10L 0x4000 /* device is compatible with 10BASE-T1L */ +#define MDIO_AN_T1_ADV_M_1000BT1 0x0080 /* advertise 1000BASE-T1 */ +#define MDIO_AN_T1_ADV_M_100BT1 0x0020 /* advertise 100BASE-T1 */ #define MDIO_AN_T1_ADV_M_MST 0x0010 /* advertise master preference */ /* BASE-T1 auto-negotiation advertisement register [47:32] */ -- 2.39.2