Re: [PATCH net-next v4 1/4] rust: core abstractions for network PHY drivers
From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-10-15 15:47:40
Also in:
rust-for-linux
From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-10-15 15:47:40
Also in:
rust-for-linux
Andrew, if you prefer, I'll move RUST_PHYLIB_ABSTRACTIONS to drivers/net/phy/Kconfig.diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index e55b71937f01..0d39b97a546c 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig@@ -66,6 +66,14 @@ config SFP depends on HWMON || HWMON=n select MDIO_I2C +config RUST_PHYLIB_ABSTRACTIONS + bool "PHYLIB abstractions support" + depends on RUST + depends on PHYLIB=y + help + Adds support needed for PHY drivers written in Rust. It provides + a wrapper around the C phylib core. +
I'm nit picking, but i would actually put it between FIXED_PHY and SFP. But otherwise, i'm happy with this. Putting it somewhere here is the correct thing to do. Thanks Andrew