From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sdcmail01.amcc.com (sdcmail01.amcc.com [198.137.200.72]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "Messaging Gateway Appliance Demo Cert", Issuer "Messaging Gateway Appliance Demo Cert" (not verified)) by ozlabs.org (Postfix) with ESMTPS id BDCDCDDDEE for ; Thu, 7 May 2009 03:44:57 +1000 (EST) Message-ID: <4A01CC78.3060004@amcc.com> Date: Wed, 06 May 2009 10:44:24 -0700 From: Feng Kan MIME-Version: 1.0 To: Scott Wood Subject: Re: [PATCH 1/2] Added support for Designware SATA controller driver References: <1241211767-32697-1-git-send-email-fkan@amcc.com> <49FB68F2.10301@freescale.com> In-Reply-To: <49FB68F2.10301@freescale.com> Content-Type: text/plain; charset=UTF-8; format=flowed Cc: Mark Miesfeld , linuxppc-dev@ozlabs.org, linux-ide@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Scott: I agree with your statement, however this driver is wrapped with this AHB DMA controller. It would be very hard for it to work on non 460EX platforms. I can expand the depend in the future if it is available on more cores. Thanks Feng Kan Scott Wood wrote: > Feng Kan wrote: >> This adds support for the Designware SATA controller. >> >> Signed-off-by: Feng Kan >> Signed-off-by: Mark Miesfeld >> --- >> drivers/ata/Kconfig | 10 + >> drivers/ata/Makefile | 1 + >> drivers/ata/sata_dwc.c | 2053 >> ++++++++++++++++++++++++++++++++++++++++++++++++ >> 3 files changed, 2064 insertions(+), 0 deletions(-) >> create mode 100644 drivers/ata/sata_dwc.c >> >> diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig >> index 0bcf264..c3d0b24 100644 >> --- a/drivers/ata/Kconfig >> +++ b/drivers/ata/Kconfig >> @@ -72,6 +72,16 @@ config SATA_FSL >> >> If unsure, say N. >> >> +config SATA_DWC >> + tristate "DesignWare Cores SATA support" >> + depends on 460EX > > That "depends" looks too specific -- we don't want to grow a list if > this controller gets added to other chips. > > Only depend on what this driver actually needs in order to function. > > -Scott