git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
mips
/
sibyte
/
sb1250
/
setup.c
diff --git
a/arch/mips/sibyte/sb1250/setup.c
b/arch/mips/sibyte/sb1250/setup.c
index
df2e266
..
f8c605b
100644
(file)
--- a/
arch/mips/sibyte/sb1250/setup.c
+++ b/
arch/mips/sibyte/sb1250/setup.c
@@
-153,7
+153,7
@@
void sb1250_setup(void)
int bad_config = 0;
sb1_pass = read_c0_prid() & 0xff;
int bad_config = 0;
sb1_pass = read_c0_prid() & 0xff;
- sys_rev =
__raw
_readq(IOADDR(A_SCD_SYSTEM_REVISION));
+ sys_rev =
bus
_readq(IOADDR(A_SCD_SYSTEM_REVISION));
soc_type = SYS_SOC_TYPE(sys_rev);
soc_pass = G_SYS_REVISION(sys_rev);
soc_type = SYS_SOC_TYPE(sys_rev);
soc_pass = G_SYS_REVISION(sys_rev);
@@
-162,7
+162,7
@@
void sb1250_setup(void)
machine_restart(NULL);
}
machine_restart(NULL);
}
- plldiv = G_SYS_PLL_DIV(
__raw
_readq(IOADDR(A_SCD_SYSTEM_CFG)));
+ plldiv = G_SYS_PLL_DIV(
bus
_readq(IOADDR(A_SCD_SYSTEM_CFG)));
zbbus_mhz = ((plldiv >> 1) * 50) + ((plldiv & 1) * 25);
prom_printf("Broadcom SiByte %s %s @ %d MHz (SB1 rev %d)\n",
zbbus_mhz = ((plldiv >> 1) * 50) + ((plldiv & 1) * 25);
prom_printf("Broadcom SiByte %s %s @ %d MHz (SB1 rev %d)\n",