From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 BC47837B41C for ; Mon, 23 Feb 2026 22:05:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771884308; cv=none; b=OCRsUnCACQIoPmw5TTXljM+Brd8l8WvEbfeYdayQX+xQXV+NI01jglMl8GQ1iUVIfrVe6t7shNc82MOHBI5GyX2lYanYkeAKsmCGQNHpfNPpt/JHsWlNi3WXL3P3SZ7ysaAJfgvgH2ZozpGhkEeQUPiuIF2sUUdVaOw4V7p4/qw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771884308; c=relaxed/simple; bh=Y+8lSDEssiHEtct3vm6mBuQ4c6bTHVM2kVdeyUoO3ho=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O5BlpkPfTE3WpR1tzyL2VBEog0aA/mGwcixVEobf6o0zLOkgdxy5juSC4nPbamxL9HufoVnTTzSTzOYWtmIGvXgbhWgaCs6kdAOYoY3K5kf4Bdx6AOP3oYcOXDhMaEfzC33PL9367ICBfyMAVdZzZ/+4GxQtGC7nni1eQcnIauE= 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=UFJ3ZoIR; arc=none smtp.client-ip=209.85.218.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UFJ3ZoIR" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-b886fc047d5so772938766b.3 for ; Mon, 23 Feb 2026 14:05:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771884305; x=1772489105; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RHK+3jyoHNJV2FbjmJS+D8CEWo+rq8MXAjvGR0EeBTw=; b=UFJ3ZoIRyv4en2sqprK02oU+yCwWgu6+bDh6CBbhCUhbJP7iLREE+/y//yx1hPguxo QNWGv9DRzLapiEAbvRT0ep7E6cBalF3FfgZriUA8o3+oaI2tsnygNBOnDXRRX7shYDvV 3mhNsV+Ssb+jst/urHnbkEj3W/LbD3WIkTbahym1cP0JOLHxz9cfGkhJtca2Vp3C6Rcb pj6rZMF0tQNMujoGmLKfA8euKjXXcbYbLGwbgzxV6lifySYYWZOjrVupoj1nN7hrag5/ eZwmIPxyKSNuFkHfVrDoGJEuru3guHV9jLCiBsocrRwkvBvFlJEfkrvR+XhgH9lMMweF UU7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771884305; x=1772489105; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RHK+3jyoHNJV2FbjmJS+D8CEWo+rq8MXAjvGR0EeBTw=; b=XwFn71su28E5Cjza2+Z293WayIs4CtpRuWd1O8lrnTWCHfDwQ2w9Qipc5or3UPUS4M yfOkv0gDlpNHr/Fg8eb/tLzao1b0XayHLyN9dzQFDj4ajPd+Mi5I3957BGhwGTzCazp3 lvzurLnQqq96FT7y2GY5366EkcldLsCJEe8pynbFxX8uVD6XDpAfOcoxQNofKO4Uk48q k6zxZdRu64VGpjREKMHWmlispLlRNoN0WNS1BUjBSiy1rix7iNS154RyTS256FMgn6NL ZVdRHL5+JxkTn8Cn9GB1LqXttoiivl1CA8QHx9juKBcM5IKVaOn8roNUUnMUv35Jn9DF BNhA== X-Forwarded-Encrypted: i=1; AJvYcCWg6iwpkbS0T5GbcXRBfyyeDlLXZhCFM48WKy+E9C5QwTIInTUg+eP0AdkbyE4CrmwZAggvuACd8Bs69vE=@vger.kernel.org X-Gm-Message-State: AOJu0YwHja94mvYy75yORJcsQZyxNy4/+Jkcovt6MRryUBMZfshouEBV QlHHNnZ31wzDp4SrwKtgx3kWYB0BzTtoGIFlIIAi6YCwxKwoYAnAbc/d X-Gm-Gg: AZuq6aL8Cvx9Uaf5pt6OJ7T+Bm6uP+Ugog04S6LYuP9RVdJ06OKyBvmdVIGwQY7oAVA 23qpP495IW8bKpc82GNkcvu1o33ru9wv2x9mHwqr8yTCXUozixBf9+AKC8G0vHlh+LKAFBO3U1c 78WimwHPNbQINmFy8YDHqDx77h1jsqr7uudvuWFZZzUjFG4ZOLLyf0edQmYYBYyng/d5RlNjANr UAgldY/7/lcHkD75gKiJZE+yhRqppuqvVAJA9gN1OwxHhE30fAcGJrpwDLJDLppp6E67ZgKmPrf +T2Q4E3o+ct9ds2wUgj3ylplP/be7Q198iI8QzOdpGxjoJIsMaNrTv8NWbfFg003gTJzhfIc2oF h5mF9xGDkJnDDCAPTvSfIFI+kW+b2HDQJppKpc6vf4WyGDH4uF7A1CJfLJ17jwW2tsAvEJgUE4N KX/BczT6Nr5fXBWJtwdHtGZG8Q4pT0X6WLiZRh4Xb+d8IspCGs10pQpGFkXkgvyLrf5Hshnl5FU 3bg08ParscdxYNSKoVSdmhOpFW57NueRbwKjxQ1ejUftoCP/9slbIYcfbwyCXmGu1ssnSs= X-Received: by 2002:a17:906:66d4:b0:b8e:fb1d:9eba with SMTP id a640c23a62f3a-b9081c1c4c5mr454821166b.54.1771884304829; Mon, 23 Feb 2026 14:05:04 -0800 (PST) Received: from cs-874966990260-default.europe-west4-a.c.i2f7e30109524dc12-tp.internal (230.86.12.34.bc.googleusercontent.com. [34.12.86.230]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b9084f191b9sm359394666b.67.2026.02.23.14.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Feb 2026 14:05:04 -0800 (PST) From: Artem Lytkin To: FUJITA Tomonori , Andrew Lunn , Heiner Kallweit Cc: Trevor Gross , Russell King , Miguel Ojeda , "David S . Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet , netdev@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Artem Lytkin Subject: [PATCH net-next 0/2] net: phy: add Rust reference driver for ET1011C Date: Mon, 23 Feb 2026 22:04:59 +0000 Message-ID: <20260223220504.2102-1-iprintercanon@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series adds a Rust reference driver for the LSI ET1011C PHY, following the pattern established by the existing Rust Asix PHY driver (ax88796b_rust.rs). Patch 1 exposes genphy_config_aneg() in the Rust PHY abstraction, which is needed by PHY drivers that perform custom BMCR configuration before calling the generic auto-negotiation setup. Patch 2 adds the Rust ET1011C driver itself, implementing config_aneg and read_status callbacks. It is a feature-equivalent port of the C driver at drivers/net/phy/et1011c.c. Artem Lytkin (2): rust: net: phy: expose genphy_config_aneg() net: phy: add Rust reference driver for ET1011C drivers/net/phy/Kconfig | 9 +++++ drivers/net/phy/Makefile | 6 ++- drivers/net/phy/et1011c_rust.rs | 70 +++++++++++++++++++++++++++++++++ rust/kernel/net/phy.rs | 9 +++++ 4 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 drivers/net/phy/et1011c_rust.rs -- 2.43.0