Skip to contentSkip to conversation

deprecate some drivers

PATCH/RFC Jeff Garzik 2 participants 2 messages Dec 2, 2004 Network drivers

lore
Share & tools
lore
#0 lore raw

I'm looking to eliminate some horribly broken/dup drivers. Since 2.6 is an ongoing matter, I want a 'flashing-red warning sign' that drivers will soon be disappearing, rather than just killing the driver and listening for the screams.

IPhase driver is broken+abandoned, and xirtulip is broken+duplicate+abandoned, and are two prime candidates for my prefence of handling this matter: CONFIG_DEPRECATED.

See patch for example.

===== drivers/net/Kconfig 1.100 vs edited =====

drivers/net/Kconfig +1 -1
@@ -2544,7 +2544,7 @@
 
 config IPHASE5526
 	tristate "Interphase 5526 Tachyon chipset based adapter support"
-	depends on NET_FC && SCSI && PCI && BROKEN
+	depends on NET_FC && SCSI && PCI && BROKEN && DEPRECATED
 	help
 	  Say Y here if you have a Fibre Channel adaptor of this kind.
 

===== drivers/net/tulip/Kconfig 1.12 vs edited =====

drivers/net/tulip/Kconfig +1 -1
@@ -150,7 +150,7 @@
 
 config PCMCIA_XIRTULIP
 	tristate "Xircom Tulip-like CardBus support (old driver)"
-	depends on NET_TULIP && CARDBUS && BROKEN_ON_SMP
+	depends on NET_TULIP && CARDBUS && BROKEN_ON_SMP && DEPRECATED
 	select CRC32
 	---help---
 	  This driver is for the Digital "Tulip" Ethernet CardBus adapters.

===== init/Kconfig 1.57 vs edited =====

init/Kconfig +14 -0
@@ -40,6 +40,20 @@
 
 	  If unsure, say Y
 
+config IGNORE_DEPRECATED
+	bool "Elide drivers soon to be removed from the kernel"
+	default y
+	help
+	  Select this option to avoid features and drivers
+	  that will soon be removed from the kernel.
+
+	  If unsure, say Y
+
+config DEPRECATED
+	bool
+	depends on !IGNORE_DEPRECATED
+	default y
+
 config BROKEN
 	bool
 	depends on !CLEAN_COMPILE
#1 lore raw
Quoted 5 lines · Jeff Garzik

I'm looking to eliminate some horribly broken/dup drivers. Since 2.6 is an ongoing matter, I want a 'flashing-red warning sign' that drivers will soon be disappearing, rather than just killing the driver and listening for the screams.

IPhase driver is broken+abandoned, and xirtulip is broken+duplicate+abandoned, and are two prime candidates for my prefence of handling this matter: CONFIG_DEPRECATED.

Please add digiboard to your list - duplicate+abandoned.