linux/arch/mips
Dmitri Vorobiev 0487de9142 [MIPS] Malta: Fix reading the PCI clock frequency on big-endian
The JMPRS register on Malta boards keeps a 32-bit CPU-endian
value. The readw() function assumes that the value it reads is a
little-endian 16-bit number. Therefore, using readw() to obtain
the value of the JMPRS register is a mistake. This error leads
to incorrect reading of the PCI clock frequency on big-endian
during board start-up.

Change readw() to __raw_readl().

This was tested by injecting a call to printk() and verifying
that the value of the jmpr variable was consistent with current
setting of the JP4 "PCI CLK" jumper.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-01-22 00:35:23 +00:00
..
au1000 [MIPS] Alchemy: Fix use of __init code bug exposed by modpost warning 2008-01-07 15:32:03 +00:00
basler/excite
bcm47xx
boot
cobalt [MIPS] Cobalt: Qube1 has no serial port so don't use it 2008-01-15 01:04:42 +00:00
configs [MIPS] Malta: Enable tickless and highres timers. 2007-12-09 04:51:10 +00:00
dec
emma2rh
fw
gt64120/wrppmc
jazz
jmr3927
kernel [MIPS] Replace 40c7869b69 kludge 2008-01-11 17:05:42 +00:00
lasat [MIPS] Lasat: Fix built in separate object directory. 2008-01-11 17:05:42 +00:00
lemote/lm2e
lib
math-emu [MIPS] Compliment va_start() with va_end(). 2007-11-26 17:26:15 +00:00
mips-boards [MIPS] Malta: Fix reading the PCI clock frequency on big-endian 2008-01-22 00:35:23 +00:00
mipssim
mm [MIPS] Wrong CONFIG option prevents setup of DMA zone. 2008-01-11 17:05:41 +00:00
oprofile [MIPS] Oprofile: Fix computation of number of counters. 2007-12-06 17:15:58 +00:00
pci [MIPS] Cobalt: Fix ethernet interrupts for RaQ1 2008-01-15 01:04:42 +00:00
philips/pnx8550 [MIPS] pnx8xxx: move to clocksource 2008-01-11 17:05:41 +00:00
pmc-sierra
qemu qemu: do not enable IP7 blindly 2007-12-09 04:51:10 +00:00
sgi-ip22 IP22ZILOG: fix lockup and sysrq 2007-11-29 09:24:53 -08:00
sgi-ip27
sgi-ip32 [MIPS] Fix IP32 breakage 2008-01-07 15:32:03 +00:00
sibyte
sni
tx4927
tx4938
vr41xx
defconfig
Kconfig [MIPS] Kconfig fixes for BCM47XX platform 2008-01-15 01:04:41 +00:00
Kconfig.debug
Makefile