AX88180: make OUTW handle 32bit/16bit defines too
authorHoan Hoang <hnhoan@i-syst.com>
Tue, 11 May 2010 06:43:07 +0000 (02:43 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 12 Jul 2010 07:14:29 +0000 (00:14 -0700)
commit14f637f8f7e4d4d43ac717075aacd0681b3ff270
tree43f5a9453f1a4221569e02b608904cb49a2656c9
parent256670680b058105bb948c9f55e11db7ed949fa9
AX88180: make OUTW handle 32bit/16bit defines too

The current OUTW function is always defined as a 16bit function, but this
doesn't work correctly when using the 32bit access mode.  So define it as
a 32bit function when in 32bit mode so things work correctly on Blackfin
32bit LE systems.

Signed-off-by: Hoan Hoang <hnhoan@i-syst.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/ax88180.h