Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754174AbcCSAdw (ORCPT ); Fri, 18 Mar 2016 20:33:52 -0400 Received: from smtprelay0017.hostedemail.com ([216.40.44.17]:38076 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754095AbcCSAdj (ORCPT ); Fri, 18 Mar 2016 20:33:39 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::,RULES_HIT:41:334:355:368:369:379:541:800:960:973:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:2198:2199:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3868:3871:3873:3874:4321:5007:6120:6261:8784:10004:10848:11658:11914:12050:12296:12517:12519:12555:13069:13311:13357:14096:14721:21080:30054:30056:30089:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: sort66_59e2c86209423 X-Filterd-Recvd-Size: 2217 From: Joe Perches To: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Subject: [RFC net-next 1/2] drivers/net: Create an ANCIENT_NETDEVICES symbol Date: Fri, 18 Mar 2016 17:33:30 -0700 Message-Id: <3403c9026d3c71310a32a97ac3351540e9ff8378.1458347329.git.joe@perches.com> X-Mailer: git-send-email 2.6.3.368.gf34be46 In-Reply-To: <1458340518.26915.30.camel@perches.com> References: <1458340518.26915.30.camel@perches.com> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1377 Lines: 42 Many drivers are ancient and written for hardware that is no longer available. These drivers are effectively untested under current kernels. Add a symbol that could guard inclusions of these drivers into modern kernels unless specifically requested. Signed-off-by: Joe Perches --- drivers/net/Kconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 2a1ba62b..0878363 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -21,6 +21,25 @@ menuconfig NETDEVICES If unsure, say Y. +menuconfig ANCIENT_NETDEVICES + default n + depends on NET && NETDEVICES + bool "Network ancient device support" + ---help--- + Many old devices are no longer manufactured. + + The drivers for these devices likely worked with the original + kernel version when the devices were manufactured, but do not + necessarily function well today. + + If these devices still exist and are still functional, the drivers + for these devices get scant testing. + + The drivers for these devices are unmaintained and not supported by + the vendor. + + If you are unsure that you need drivers for old hardware, say N. + # All the following symbols are dependent on NETDEVICES - do not repeat # that for each of the symbols. if NETDEVICES -- 2.6.3.368.gf34be46