| To: | sshtylyov@ru.mvista.com |
|---|---|
| Subject: | Re: [PATCH 1/2] ide: Add tx4939ide driver |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Mon, 15 Sep 2008 23:01:32 +0900 (JST) |
| Cc: | linux-mips@linux-mips.org, linux-ide@vger.kernel.org, bzolnier@gmail.com, ralf@linux-mips.org |
| In-reply-to: | <48CD7A2F.9020306@ru.mvista.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20080910.010824.07456636.anemo@mba.ocn.ne.jp> <48CC3516.9080404@ru.mvista.com> <48CD7A2F.9020306@ru.mvista.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Mon, 15 Sep 2008 00:55:11 +0400, Sergei Shtylyov <sshtylyov@ru.mvista.com> wrote: > > Hum... but is it really correct to convert from/to LE order above? > > I'm prett sure that data is expected in LE order -- look ar > > ide_fix_driveid() for example... > > > > Assuming that the IDE data words' MSB appears at offset 6 and LSB at > offset 7 (which would seem logical), the data is actually in BE (CPU) > orger, so > mm_insw_swap() should use cpu_to_le16() and mm_outsw_swap() le16_to_cpu()... Thanks, I see. --- Atsushi Nemoto |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 0/3] Globally defining phys_addr_t, Ralf Baechle |
|---|---|
| Next by Date: | [PATCH] [MIPS] vr41xx: unsigned irq cannot be negative, roel kluin |
| Previous by Thread: | Re: [PATCH 1/2] ide: Add tx4939ide driver, Sergei Shtylyov |
| Next by Thread: | Re: [PATCH 1/2] ide: Add tx4939ide driver, Sergei Shtylyov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |