git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git]
/
arch
/
mips
/
alchemy
/
devboards
/
db1200
/
setup.c
diff --git
a/arch/mips/alchemy/devboards/db1200/setup.c
b/arch/mips/alchemy/devboards/db1200/setup.c
index
4a89800
..
1dac4f2
100644
(file)
--- a/
arch/mips/alchemy/devboards/db1200/setup.c
+++ b/
arch/mips/alchemy/devboards/db1200/setup.c
@@
-23,6
+23,13
@@
void __init board_setup(void)
unsigned long freq0, clksrc, div, pfc;
unsigned short whoami;
unsigned long freq0, clksrc, div, pfc;
unsigned short whoami;
+ /* Set Config[OD] (disable overlapping bus transaction):
+ * This gets rid of a _lot_ of spurious interrupts (especially
+ * wrt. IDE); but incurs ~10% performance hit in some
+ * cpu-bound applications.
+ */
+ set_c0_config(1 << 19);
+
bcsr_init(DB1200_BCSR_PHYS_ADDR,
DB1200_BCSR_PHYS_ADDR + DB1200_BCSR_HEXLED_OFS);
bcsr_init(DB1200_BCSR_PHYS_ADDR,
DB1200_BCSR_PHYS_ADDR + DB1200_BCSR_HEXLED_OFS);