powerpc, of_serial: Endianness issues setting up the serial ports
authorIan Munsie <imunsie@au1.ibm.com>
Fri, 1 Oct 2010 07:06:07 +0000 (17:06 +1000)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 7 Oct 2010 23:21:15 +0000 (17:21 -0600)
commitf14362d1fe81cece6f1d78483e5bbfcf8cc497bf
treef7acfafcc2560c111783ae2db7c624ae621b62c0
parent2548558445b43c1f18a61c0bd3629f92dffa612e
powerpc, of_serial: Endianness issues setting up the serial ports

The speed and clock of the serial ports is retrieved from the device
tree in both the PowerPC legacy serial code and the Open Firmware serial
driver, therefore they need to handle the fact that the device tree is
always big endian, while the CPU may not be.

Also fix other device tree references in the legacy serial code.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/kernel/legacy_serial.c
drivers/serial/of_serial.c
This page took 0.025118 seconds and 5 git commands to generate.