[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201103302237.32286.arnd@arndb.de>
Date: Wed, 30 Mar 2011 22:37:32 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Daniel Palmer <me@...ielpalmer.co.uk>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: PATA_ARTOP reads byte from PCI IO port without mapping it to the right address.
On Wednesday 30 March 2011 22:24:31 Daniel Palmer wrote:
> > Is this an ARM machine? The platform specific mach/io.h header
>
> Sorry, I should have mentioned it more explicitly.
> The machine is an SH4 based (The processor model is SH7751R, board is
> landisk.. in /arch/sh/include/mach-landisk/).
>
Ok, in that case, you should look at how arch/sh/kernel/ioport.c
handles this. You probably just need to call __set_io_port_base().
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists