From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH 2/3 v3] ide: add at91_ide driver Date: Tue, 10 Mar 2009 22:21:50 +0300 Message-ID: <49B6BDCE.3070403@ru.mvista.com> References: <200902181106.54260.stf_xl@wp.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from h155.mvista.com ([63.81.120.155]:54530 "EHLO imap.sh.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752866AbZCJTVL (ORCPT ); Tue, 10 Mar 2009 15:21:11 -0400 In-Reply-To: <200902181106.54260.stf_xl@wp.pl> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Stanislaw Gruszka Cc: linux-ide@vger.kernel.org, Andrew Victor , linux-arm-kernel@lists.arm.linux.org.uk Stanislaw Gruszka wrote: > This is IDE host driver for AT91 (SAM9, CAP9, AT572D940HF) Static Mem= ory > Controller with Compact Flash True IDE Mode logic. > Driver have to switch 8/16 bit bus width when accessing Task Tile or = Data > Register. Moreover some extra things need to be done when setting PIO= mode. > Only PIO mode is used, hardware have no DMA support. If interrupt lin= e is > connected through GPIO extra quirk is needed to cope with fake interr= upts. > Signed-off-by: Stanislaw Gruszka This is prolly only me, but I afil to compile this driver with the = current=20 arch/arm/configs/at91sam9263ek_defconfig: CC drivers/ide/at91_ide.o drivers/ide/at91_ide.c: In function =E2=80=98at91_ide_input_data=E2=80=99= : drivers/ide/at91_ide.c:159: error: implicit declaration of function=20 =E2=80=98__ide_mm_insw=E2=80=99 drivers/ide/at91_ide.c: In function =E2=80=98at91_ide_output_data=E2=80= =99: drivers/ide/at91_ide.c:174: error: implicit declaration of function=20 =E2=80=98__ide_mm_outsw=E2=80=99 drivers/ide/at91_ide.c: In function =E2=80=98at91_ide_tf_load=E2=80=99: drivers/ide/at91_ide.c:192: error: =E2=80=98task=E2=80=99 undeclared (f= irst use in this function) drivers/ide/at91_ide.c:192: error: (Each undeclared identifier is repor= ted only once drivers/ide/at91_ide.c:192: error: for each function it appears in.) drivers/ide/at91_ide.c: At top level: drivers/ide/at91_ide.c:303: warning: initialization from incompatible p= ointer type drivers/ide/at91_ide.c:304: warning: initialization from incompatible p= ointer type make[1]: *** [drivers/ide/at91_ide.o] Error 1 make: *** [drivers/ide/] Error 2 MBR, Sergei