[Top] [All Lists]

[PATCH v7 1/8] MIPS: add subdirectory for platform extension drivers

To: Ralf Baechle <>,,,
Subject: [PATCH v7 1/8] MIPS: add subdirectory for platform extension drivers
From: Wu Zhangjin <>
Date: Fri, 4 Dec 2009 21:30:30 +0800
Cc: Dmitry Torokhov <>, Pavel Machek <>, "Rafael J. Wysocki" <>,, Wu Zhangjin <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=PNF4dJpdw1GFSGioxoxLVbk5cfqDx1ILIbM+Fq9ACSo=; b=sXkJ0NZBRhZZzNFCNt2rn2gAPPQOmzjE/XEeH6kO4kFctmNPiTXrokB4X/oc+h3NbG F1c+jiXz0S0liqQlEQ9B6edEkOdzsWZpnXqSCCgb5itMCEeQC8dkcrUEeq0J9hr0LoWO zcHpeaewAa2c6VetrKN9SShHJj+2hWB//oAcU=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=fVAD3v46Kb/p/h5UVTmiNySX3LomI/NghO4pR9gOAPnelMbhPpZ0+smsK1QR2kp/71 pyIelfZSmZgOaDIqVBWX2KnLMg1bRZODK++aY2hewZpPe1sDyS6NSXTovUf5F/sLW6GJ QcKDmfvt2ldBcpR6d3EWb2TC/KyOPSz7IiHbU=
In-reply-to: <>
Original-recipient: rfc822;
References: <>
From: Wu Zhangjin <>

It is really hard to split the platform specific subdrivers into
different subsystems, which will generate lots of duplicated source
code, break the whole support into several pieces and also will make the
users be difficult to choose the suitable subdrivers in different

So, I did like the forks have done under drivers/platform/x86, created
the drivers/platform/mips/ for putting the future MIPS netbook/laptop/pc
extension drivers in.

Signed-off-by: Wu Zhangjin <>
 drivers/platform/Kconfig      |    4 ++++
 drivers/platform/mips/Kconfig |   18 ++++++++++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 drivers/platform/mips/Kconfig

diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig
index 9652c3f..2319c0b 100644
--- a/drivers/platform/Kconfig
+++ b/drivers/platform/Kconfig
@@ -3,3 +3,7 @@
 if X86
 source "drivers/platform/x86/Kconfig"
+if MIPS
+source "drivers/platform/mips/Kconfig"
diff --git a/drivers/platform/mips/Kconfig b/drivers/platform/mips/Kconfig
new file mode 100644
index 0000000..2f77693
--- /dev/null
+++ b/drivers/platform/mips/Kconfig
@@ -0,0 +1,18 @@
+# MIPS Platform Specific Drivers
+       bool "MIPS Platform Specific Device Drivers"
+       default y
+       help
+         Say Y here to get to see options for device drivers of various
+         MIPS platforms, including vendor-specific netbook/laptop/pc extension
+         drivers.  This option alone does not add any kernel code.
+         If you say N, all options in this submenu will be skipped and 

<Prev in Thread] Current Thread [Next in Thread>