[Top] [All Lists]

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

To: Ralf Baechle <>
Subject: [PATCH 1/9] MIPS: add subdirectory for platform extension drivers
From: Wu Zhangjin <>
Date: Sun, 23 May 2010 21:57:57 +0800
Cc:, 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:in-reply-to:references; bh=ZCEy9RNM9RYqZ3Z0iNonrKIB1pFvXbi4LaqwqvmBgJk=; b=EGbzFEib3c0cIeC8hCpZRVfv72zFrOyunG5n8nNUqV6JbF8exZ23YvGCoq673FCq1S BIDCH1hBSCatCKc2S4AR9hjPmBykda1chMnCZ4byrU2GDWLCiR8SBVUAf9Yb9OIp4uSb LIGaX2Z+gJyG6jvIFEPvTEee1TgiFePnqFgVs=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=l1xKLJ9O2FUKSsNJpzoKom6JHhzI/kqNWFTlCPr3AQOT9G24+LNHbLIlzuWyzK8iOm rxI8n/9bIR8rrah4QrEQBxusmflWuZuvKoUDgd/+Mf39sHEALTVuBk1Dm5nfQxD7KpQb icUr/GCDbBmJK38QojNS+3eMvmVAKUxwskbjo=
In-reply-to: <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
References: <>
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 8390dca..4fa78d5 100644
--- a/drivers/platform/Kconfig
+++ b/drivers/platform/Kconfig
@@ -1,3 +1,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>