From patchwork Thu Mar 19 17:41:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilles Espinasse X-Patchwork-Id: 13072 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2JHjSx3005810 for ; Thu, 19 Mar 2009 17:45:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759989AbZCSRoG (ORCPT ); Thu, 19 Mar 2009 13:44:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755824AbZCSRoG (ORCPT ); Thu, 19 Mar 2009 13:44:06 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:53347 "EHLO smtp1-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760071AbZCSRoC (ORCPT ); Thu, 19 Mar 2009 13:44:02 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 6A6DB940119; Thu, 19 Mar 2009 18:43:52 +0100 (CET) Received: from pii350 (vir91-2-82-236-101-3.fbx.proxad.net [82.236.101.3]) by smtp1-g21.free.fr (Postfix) with SMTP id 27D9694024E; Thu, 19 Mar 2009 18:43:50 +0100 (CET) Message-ID: <0a0401c9a8b9$fa181c30$f9b5a8c0@pii350> From: "Gilles Espinasse" To: Cc: , Subject: [PATCH] Be able to build pmac driver without IDE built-in Date: Thu, 19 Mar 2009 18:41:46 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1933 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org No reason to need IDE built-in to be able to compile pmac driver Tested to work on 2.6.29-rc8 and 2.6.28.8 with ide and pmac as modules inside an initramfs Signed-off-by: Gilles Espinasse --- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-2.6.28/drivers/ide/Kconfig.old 2009-03-19 16:36:34.000000000 +0100 +++ linux-2.6.28/drivers/ide/Kconfig 2009-03-19 16:35:49.000000000 +0100 @@ -676,7 +676,7 @@ # TODO: BLK_DEV_IDEDMA_PCI -> BLK_DEV_IDEDMA_SFF config BLK_DEV_IDE_PMAC tristate "PowerMac on-board IDE support" - depends on PPC_PMAC && IDE=y + depends on PPC_PMAC && IDE select IDE_TIMINGS select BLK_DEV_IDEDMA_PCI help