]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Uartlite: Fix reg io to access documented register size
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 2 Oct 2007 02:15:39 +0000 (12:15 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 3 Oct 2007 12:23:14 +0000 (07:23 -0500)
commit505ffea409cd1cbb306353dece6b3836a4792575
tree262d3d4b34625b3630fe785c6b625e1d84670fe9
parent7db0641fb833c9feac84fc0a4e0c81c2b3d68874
[POWERPC] Uartlite: Fix reg io to access documented register size

The Uartlite data sheet defines the registers as 32 bit wide.  This
patch changes the register access to use 32 bit transfers and eliminates
the magic +3 offset which is currently required to make the device
work.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: John Williams <jwilliams@itee.uq.edu.au>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/ppc/syslib/virtex_devices.c
drivers/serial/uartlite.c