[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201205152122.15840.arnd@arndb.de>
Date: Tue, 15 May 2012 21:22:15 +0000
From: Arnd Bergmann <arnd@...db.de>
To: Jaccon Bastiaansen <jaccon.bastiaansen@...il.com>
Cc: s.hauer@...gutronix.de, gfm@...xed.com, davem@...emloft.net,
festevam@...il.com, linux-arm-kernel@...ts.infradead.org,
netdev@...r.kernel.org
Subject: Re: [PATCH V2] CS89x0 : Use ioread16/iowrite16 on all platforms
On Tuesday 15 May 2012, Jaccon Bastiaansen wrote:
>
> The use of the inw/outw functions by the cs89x0 platform driver
> results in NULL pointer references on ARM platforms and
> platforms that do not provide ISA-style programmed I/O accessors.
>
> Using inw/outw also accesses the wrong address space on platforms
> that have a PCI I/O space that is not identity-mapped into the
> physical address space.
>
> Signed-off-by: Jaccon Bastiaansen <jaccon.bastiaansen@...il.com>
Looks good to me now.
Acked-by: Arnd Bergmann <arnd@...db.de>
Of course we would need some testing on another platform and ideally
also on an ISA based machine, although that might be hard to
come by these days...
Arnd
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists