From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Stanislaw Gruszka <stf_xl@wp.pl>,
linux-ide@vger.kernel.org, Andrew Victor <avictor.za@gmail.com>
Subject: Re: [PATCH 2/3 v3] ide: add at91_ide driver
Date: Fri, 13 Mar 2009 19:47:49 +0100 [thread overview]
Message-ID: <200903131947.49361.bzolnier@gmail.com> (raw)
In-Reply-To: <49BA9838.5010801@ru.mvista.com>
On Friday 13 March 2009, Sergei Shtylyov wrote:
> Hello.
>
> Bartlomiej Zolnierkiewicz wrote:
>
> >>>>>>This is IDE host driver for AT91 (SAM9, CAP9, AT572D940HF) Static
> >>>>>>Memory 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
> >>>>>>line is
> >>>>>>connected through GPIO extra quirk is needed to cope with fake
> >>>>>>interrupts.
>
> >>>>>>Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
>
> >>>>> This is prolly only me, but I afil to compile this driver with the
> >>>>>current arch/arm/configs/at91sam9263ek_defconfig:
>
> >>>>> CC drivers/ide/at91_ide.o
> >>>>>drivers/ide/at91_ide.c: In function ‘at91_ide_input_data’:
> >>>>>drivers/ide/at91_ide.c:159: error: implicit declaration of function
> >>>>>‘__ide_mm_insw’
> >>>>>drivers/ide/at91_ide.c: In function ‘at91_ide_output_data’:
> >>>>>drivers/ide/at91_ide.c:174: error: implicit declaration of function
> >>>>>‘__ide_mm_outsw’
> >>>>>drivers/ide/at91_ide.c: In function ‘at91_ide_tf_load’:
> >>>>>drivers/ide/at91_ide.c:192: error: ‘task’ undeclared (first use in
> >>>>>this function)
> >>>>>drivers/ide/at91_ide.c:192: error: (Each undeclared identifier is
> >>>>>reported 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
> >>>>>pointer type
> >>>>>drivers/ide/at91_ide.c:304: warning: initialization from incompatible
> >>>>>pointer type
> >>>>>make[1]: *** [drivers/ide/at91_ide.o] Error 1
> >>>>>make: *** [drivers/ide/] Error 2
>
> >>>> Ah, it's only with pata-2.6 series applied. Bart, you clearly need
> >>>>to include this driver to some of your patches...
>
> > I did and asked people to test the final result (see my mail on merging
> > at91_ide)... unfortunately it seems like I missed few spots... :)
>
> >> Oops, got muddled in too many follow-ups. :-)
> >>> Namely, ide-remove-ide_task_t-typedef.patch is incomplete...
>
> > Was a bit more than that, I also needed to merge __ide_mm_* fixup below...
>
> > [ Anyway please verify that I got it right this time, thanks! ]
>
> No, looks like you haven't again:
>
> Applying patch ide-pass-command-instead-of-request-to-ide_pio_datablock.patch
> 1 out of 3 hunks FAILED
> missing header for unified diff at line 208 of patch
> The text leading up to this was:
> --------------------------
> | printk(KERN_ERR "%s: multimode not set!\n",
> | drive->name);
> --------------------------
> No file to patch. Skipping patch.
> 11 out of 11 hunks ignored
> Patch ide-pass-command-instead-of-request-to-ide_pio_datablock.patch does not
> apply (enforce with -f)
>
> It appears that this patch has 2 hunks repeated twice now...
Strangely, the problem seems to be on your side this time as the patch
applies just fine here and AFAIK Stephen has successfully applied it to
linux-next (also md5sum of patch on kernel.org matches the local copy).
Did you forgot to re-sync the whole pata-2.6 tree by any chance?
Thanks,
Bart
next prev parent reply other threads:[~2009-03-13 19:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-18 10:06 [PATCH 2/3 v3] ide: add at91_ide driver Stanislaw Gruszka
2009-03-01 19:42 ` Sergei Shtylyov
2009-03-10 19:21 ` Sergei Shtylyov
2009-03-10 19:24 ` Sergei Shtylyov
2009-03-10 19:29 ` Sergei Shtylyov
2009-03-10 19:31 ` Sergei Shtylyov
2009-03-11 17:00 ` Bartlomiej Zolnierkiewicz
2009-03-13 17:30 ` Sergei Shtylyov
2009-03-13 18:47 ` Bartlomiej Zolnierkiewicz [this message]
2009-03-13 19:13 ` Sergei Shtylyov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200903131947.49361.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=avictor.za@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=sshtylyov@ru.mvista.com \
--cc=stf_xl@wp.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).