Skip to contentSkip to conversation

net: ethernet: rnpgbe: mark nonfunctional incomplete driver as BROKEN

PATCH Superseded Ethan Nelson-Moore 3 participants 5 messages Apr 25 – Apr 28

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: ethernet: rnpgbe: mark nonfunctional incomplete driver as BROKEN

The rnpgbe driver as currently shipped in the kernel is incomplete and has no useful functionality. It will bind to a PCI device and create a network device, but that device does not function (its .ndo_start_xmit callback, rnpgbe_xmit_frame, just drops all packets). This situation means that users could enable this driver and have it load and attach to their device but not transfer any data. To remove the potential for user confusion, mark the driver as broken until it is completed and explain why this was done.

Fixes ee61c10cd482 ("net: rnpgbe: Add build support for rnpgbe")
---
 drivers/net/ethernet/mucse/Kconfig | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
drivers/net/ethernet/mucse/Kconfig +7 -2
index 0b3e853d625f..c37a90a6c808 100644
@@ -3,9 +3,12 @@
 # Mucse network device configuration
 #
 
+# This section depends on BROKEN because its only child item also does;
+# see the explanation below.
 config NET_VENDOR_MUCSE
 	bool "Mucse devices"
 	default y
+	depends on BROKEN
 	help
 	  If you have a network (Ethernet) card from Mucse(R), say Y.
 
@@ -16,12 +19,14 @@ config NET_VENDOR_MUCSE
 
 if NET_VENDOR_MUCSE
 
+# This driver is marked as broken because it is incomplete; this avoids users
+# enabling it and expecting it to work.
 config MGBE
 	tristate "Mucse(R) 1GbE PCI Express adapters support"
-	depends on PCI
+	depends on PCI && BROKEN
 	help
 	  This driver supports Mucse(R) 1GbE PCI Express family of
-	  adapters.
+	  adapters. It is incomplete and currently has no useful functionality.
 
 	  More specific information on configuring the driver is in
 	  <file:Documentation/networking/device_drivers/ethernet/mucse/rnpgbe.rst>.
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 9 lines · Ethan Nelson-Moore

The rnpgbe driver as currently shipped in the kernel is incomplete and has no useful functionality. It will bind to a PCI device and create a network device, but that device does not function (its .ndo_start_xmit callback, rnpgbe_xmit_frame, just drops all packets). This situation means that users could enable this driver and have it load and attach to their device but not transfer any data. To remove the potential for user confusion, mark the driver as broken until it is completed and explain why this was done.

Thank you for the patch.

The TX/RX functionality patches for this driver are still under submission, and I agree to mark the driver as BROKEN for now. I will revise this part and remove the BROKEN dependency in the subsequent patches that add full TX/RX functionality.

Quoted 45 lines
Fixes ee61c10cd482 ("net: rnpgbe: Add build support for rnpgbe")
---
 drivers/net/ethernet/mucse/Kconfig | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
drivers/net/ethernet/mucse/Kconfig +7 -2
index 0b3e853d625f..c37a90a6c808 100644
@@ -3,9 +3,12 @@
 # Mucse network device configuration
 #
 
+# This section depends on BROKEN because its only child item also does;
+# see the explanation below.
 config NET_VENDOR_MUCSE
 	bool "Mucse devices"
 	default y
+	depends on BROKEN
 	help
 	  If you have a network (Ethernet) card from Mucse(R), say Y.
 
@@ -16,12 +19,14 @@ config NET_VENDOR_MUCSE
 
 if NET_VENDOR_MUCSE
 
+# This driver is marked as broken because it is incomplete; this avoids users
+# enabling it and expecting it to work.
 config MGBE
 	tristate "Mucse(R) 1GbE PCI Express adapters support"
-	depends on PCI
+	depends on PCI && BROKEN
 	help
 	  This driver supports Mucse(R) 1GbE PCI Express family of
-	  adapters.
+	  adapters. It is incomplete and currently has no useful functionality.
 
 	  More specific information on configuring the driver is in
 	  <file:Documentation/networking/device_drivers/ethernet/mucse/rnpgbe.rst>.
Signature · 1 line
2.43.0
maintainer
#2 lore raw
In reply to Ethan Nelson-Moore

drivers/net/ethernet/mucse/Kconfig line 13

Quoted 8 lines · On Fri, 24 Apr 2026 21:18:15 -0700 Ethan Nelson-Moore wrote:
drivers/net/ethernet/mucse/Kconfig +3 -0
+# This section depends on BROKEN because its only child item also does;
+# see the explanation below.
 config NET_VENDOR_MUCSE
 	bool "Mucse devices"
 	default y
+	depends on BROKEN
 	help
 	  If you have a network (Ethernet) card from Mucse(R), say Y.

We can keep the vendor as is, this doesn't enable any code compilation

Signature · 1 line
pw-bot: cr
#3 lore raw

Hi, Jakub,

Quoted 1 line · Jakub Kicinski

We can keep the vendor as is, this doesn't enable any code compilation

I disabled it because otherwise an option for Mucse devices which cannot be opened appears in menuconfig, which is confusing.

Ethan

maintainer
#4 lore raw
Quoted 5 lines · On Mon, 27 Apr 2026 18:09:24 -0700 Ethan Nelson-Moore wrote:
Quoted 1 line · Jakub Kicinski

We can keep the vendor as is, this doesn't enable any code compilation

I disabled it because otherwise an option for Mucse devices which cannot be opened appears in menuconfig, which is confusing.

it's fine