From: Christoph Hellwig <hch@lst.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH][RFC] drivers/Kconfig
Date: Tue, 23 Sep 2003 17:20:32 +0200 [thread overview]
Message-ID: <20030923152032.GA16599@lst.de> (raw)
What do people think about creating a common drivers/Kconfig
that includes the drivers/*/Kconfig files? This saves quite
a few superflous Kconfig lines and is a natural way to avoid
the architectyures going out of sync. Yes, this requires
every driver having proper bus-depencies but we should be
almost there already.
Sample patch (for ppc, i386 and x86_64) attached.
--- 1.76/arch/i386/Kconfig Wed Sep 10 08:41:39 2003
+++ edited/arch/i386/Kconfig Tue Sep 23 11:42:49 2003
@@ -1175,61 +1175,14 @@
endmenu
-source "drivers/base/Kconfig"
-
-source "drivers/mtd/Kconfig"
-
-source "drivers/parport/Kconfig"
-
-source "drivers/pnp/Kconfig"
-
-source "drivers/block/Kconfig"
-
-source "drivers/ide/Kconfig"
-
-source "drivers/scsi/Kconfig"
-
-source "drivers/cdrom/Kconfig"
-
-source "drivers/md/Kconfig"
-
-source "drivers/message/fusion/Kconfig"
-
-source "drivers/ieee1394/Kconfig"
-
-source "drivers/message/i2o/Kconfig"
-
source "net/Kconfig"
-
source "net/ax25/Kconfig"
-
source "net/irda/Kconfig"
-
-source "drivers/isdn/Kconfig"
-
-source "drivers/telephony/Kconfig"
-
-#
-# input before char - char/joystick depends on it. As does USB.
-#
-source "drivers/input/Kconfig"
-
-source "drivers/char/Kconfig"
-
-#source drivers/misc/Config.in
-source "drivers/media/Kconfig"
-
-source "fs/Kconfig"
-
-source "drivers/video/Kconfig"
-
-source "sound/Kconfig"
-
-source "drivers/usb/Kconfig"
-
source "net/bluetooth/Kconfig"
-
+source "fs/Kconfig"
source "arch/i386/oprofile/Kconfig"
+source "drivers/Kconfig"
+source "sound/Kconfig"
menu "Kernel hacking"
--- 1.42/arch/ppc/Kconfig Wed Sep 17 22:31:25 2003
+++ edited/arch/ppc/Kconfig Tue Sep 23 11:46:48 2003
@@ -1021,8 +1021,6 @@
source "drivers/pcmcia/Kconfig"
-source "drivers/parport/Kconfig"
-
endmenu
menu "Advanced setup"
@@ -1120,39 +1118,13 @@
depends on ADVANCED_OPTIONS && 8xx
endmenu
-source "drivers/base/Kconfig"
-
-source "drivers/mtd/Kconfig"
-
-source "drivers/pnp/Kconfig"
-
-source "drivers/block/Kconfig"
-
-source "drivers/md/Kconfig"
-
-source "drivers/ide/Kconfig"
-
-source "drivers/scsi/Kconfig"
-
-source "drivers/message/fusion/Kconfig"
-
-source "drivers/ieee1394/Kconfig"
-
-source "drivers/message/i2o/Kconfig"
-
source "net/Kconfig"
source "net/ax25/Kconfig"
source "net/irda/Kconfig"
-source "drivers/isdn/Kconfig"
-
-source "drivers/video/Kconfig"
-
-source "drivers/cdrom/Kconfig"
-
-source "drivers/input/Kconfig"
+source "drivers/Kconfig"
menu "Macintosh device drivers"
@@ -1289,9 +1261,6 @@
endmenu
-source "drivers/char/Kconfig"
-
-source "drivers/media/Kconfig"
source "fs/Kconfig"
@@ -1320,8 +1289,6 @@
default y
endmenu
-
-source "drivers/usb/Kconfig"
source "net/bluetooth/Kconfig"
--- 1.30/arch/x86_64/Kconfig Mon Sep 8 03:44:40 2003
+++ edited/arch/x86_64/Kconfig Tue Sep 23 11:50:44 2003
@@ -395,55 +395,11 @@
endmenu
-source "drivers/base/Kconfig"
-
-source "drivers/mtd/Kconfig"
-
-source "drivers/parport/Kconfig"
-
-source "drivers/block/Kconfig"
-
-source "drivers/ide/Kconfig"
-
-source "drivers/scsi/Kconfig"
-
-source "drivers/md/Kconfig"
-
-source "drivers/telephony/Kconfig"
-
-source "drivers/message/fusion/Kconfig"
-
-source "drivers/ieee1394/Kconfig"
-
-#Currently not 64-bit safe
-#source drivers/message/i2o/Config.in
-source "net/Kconfig"
-
-source "net/ax25/Kconfig"
-
-source "net/irda/Kconfig"
-
-source "drivers/isdn/Kconfig"
-
-# no support for non IDE/SCSI cdroms as they were all ISA only
-#
-# input before char - char/joystick depends on it. As does USB.
-#
-source "drivers/input/Kconfig"
-
-source "drivers/char/Kconfig"
-
-source "drivers/misc/Kconfig"
-
-source "drivers/media/Kconfig"
+source "drivers/Kconfig"
source "fs/Kconfig"
-source "drivers/video/Kconfig"
-
source "sound/Kconfig"
-
-source "drivers/usb/Kconfig"
source "net/bluetooth/Kconfig"
--- 1.4/drivers/message/i2o/Kconfig Thu Mar 20 19:44:46 2003
+++ edited/drivers/message/i2o/Kconfig Tue Sep 23 11:52:11 2003
@@ -1,5 +1,6 @@
-
+# Currently not 64-bit safe
menu "I2O device support"
+ depends on !X86_64
config I2O
tristate "I2O support"
@@ -78,4 +79,3 @@
here and read <file:Documentation/modules.txt>.
endmenu
-
next reply other threads:[~2003-09-23 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-23 15:20 Christoph Hellwig [this message]
2003-09-23 16:02 ` [PATCH][RFC] drivers/Kconfig Jeff Garzik
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=20030923152032.GA16599@lst.de \
--to=hch@lst.de \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox