linux-mips
[Top] [All Lists]

Re: IDE woos in BE mode 2.6 kernel

To: mlachwani@mvista.com
Subject: Re: IDE woos in BE mode 2.6 kernel
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sat, 25 Sep 2004 23:41:12 +0900 (JST)
Cc: linux-mips@linux-mips.org
In-reply-to: <4154B069.8010708@mvista.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <414B388D.8060705@mvista.com> <20040918.231947.74754644.anemo@mba.ocn.ne.jp> <4154B069.8010708@mvista.com>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Fri, 24 Sep 2004 16:40:25 -0700, Manish Lachwani 
>>>>> <mlachwani@mvista.com> said:

mlachwani> These changes below work and attached is the patch based on
mlachwani> your suggestion. However, I have made changes to
mlachwani> include/asm-mips/ide.h since I think there may be problems
mlachwani> with other MIPS boards to in BE mode.  And, I have not
mlachwani> included the (dma_cache_wback) in the patch.

Hmm, I think declaration of mips_io_port_base is not needed since
asm/io.h must be included before asm/ide.h.  If asm/io.h was not
included first, ide.h can not override these functions anyway.

Also, moving the fixup block before "#include <ide.h>" will give a
chance to override these functions again in mach-dependent ide.h. (for
more weired hardware)

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>