All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
	Christoph Hellwig <hch@lst.de>
Subject: [PATCH/RFC] deprecate some drivers
Date: Thu, 02 Dec 2004 03:05:45 -0500	[thread overview]
Message-ID: <41AECCD9.40808@pobox.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]


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.



[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 1484 bytes --]

===== drivers/net/Kconfig 1.100 vs edited =====
--- 1.100/drivers/net/Kconfig	2004-11-05 05:37:26 -05:00
+++ edited/drivers/net/Kconfig	2004-12-02 02:57:56 -05:00
@@ -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 =====
--- 1.12/drivers/net/tulip/Kconfig	2004-09-21 22:19:24 -04:00
+++ edited/drivers/net/tulip/Kconfig	2004-12-02 02:58:27 -05:00
@@ -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 =====
--- 1.57/init/Kconfig	2004-10-27 16:16:47 -04:00
+++ edited/init/Kconfig	2004-12-02 02:59:27 -05:00
@@ -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

             reply	other threads:[~2004-12-02  8:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-02  8:05 Jeff Garzik [this message]
2004-12-02 21:36 ` [PATCH/RFC] deprecate some drivers Jim Nelson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41AECCD9.40808@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=akpm@osdl.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.