From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: linux-mips@linux-mips.org, linux-ide@vger.kernel.org,
ralf@linux-mips.org
Subject: Re: [PATCH 1/2] ide: Add tx4939ide driver (v2)
Date: Sun, 21 Sep 2008 13:21:19 +0400 [thread overview]
Message-ID: <48D6120F.5000802@ru.mvista.com> (raw)
In-Reply-To: <48D57245.8060606@ru.mvista.com>
Hello, I wrote:
>> This controller has standard ATA taskfile registers and DMA
>> command/status registers, but the register layout is swapped on big
>> endian. There are some other endian issue and some special registers
>> which requires many custom dma_ops/port_ops routines.
>>
>> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
>>
>
> I thought that I'd only have the stylyistic comments and ACK the
> patch but it shouldn't even compile... :-/
Hm, it should compile in the context of linux-next tree..
>> +static void tx4939ide_set_pio_mode(ide_drive_t *drive, const u8 pio)
>> +{
>> + ide_hwif_t *hwif = HWIF(drive);
>> + int is_slave = drive->dn & 1;
>> + u32 mask, val;
>> + u8 safe = pio;
>> + ide_drive_t *pair;
>> +
>> + pair = ide_get_pair_dev(drive);
>>
>
> Wait, have you tried to compile this driver? The function is called
> ide_get_paired_drive() -- and I did name it correctly in my previous
> review.
I didn't realize that Bart has renamed the function in one of the
pending patches...
MBR, Sergei
next prev parent reply other threads:[~2008-09-21 9:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 15:13 [PATCH 1/2] ide: Add tx4939ide driver (v2) Atsushi Nemoto
2008-09-17 21:58 ` Jeff Garzik
2008-09-18 16:10 ` Atsushi Nemoto
2008-09-18 23:45 ` Bartlomiej Zolnierkiewicz
2008-09-19 9:25 ` Sergei Shtylyov
2008-09-19 17:10 ` Bartlomiej Zolnierkiewicz
2008-09-20 18:26 ` Sergei Shtylyov
2008-09-20 21:59 ` Sergei Shtylyov
2008-09-21 9:21 ` Sergei Shtylyov [this message]
2008-09-21 16:32 ` Atsushi Nemoto
2008-09-24 11:32 ` Sergei Shtylyov
2008-09-24 18:26 ` Sergei Shtylyov
2008-09-25 13:41 ` Atsushi Nemoto
2008-09-25 13:16 ` Atsushi Nemoto
2008-09-23 17:04 ` Atsushi Nemoto
2008-09-23 17:20 ` Sergei Shtylyov
2008-09-27 16:19 ` Bartlomiej Zolnierkiewicz
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=48D6120F.5000802@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=anemo@mba.ocn.ne.jp \
--cc=bzolnier@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/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).