1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 02:34:16 +02:00

cosmetic fix: properly indent source

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8425 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2007-08-18 17:02:26 +00:00
parent e1049ec392
commit 908c9bf7f6

View File

@ -264,13 +264,11 @@ static void __init tnetd7300_init_clocks(void)
struct tnetd7300_clocks *clocks = (struct tnetd7300_clocks *)ioremap_nocache(AR7_REGS_POWER + 0x20, sizeof(struct tnetd7300_clocks)); struct tnetd7300_clocks *clocks = (struct tnetd7300_clocks *)ioremap_nocache(AR7_REGS_POWER + 0x20, sizeof(struct tnetd7300_clocks));
ar7_bus_clock = tnetd7300_get_clock(BUS_PLL_SOURCE_SHIFT, ar7_bus_clock = tnetd7300_get_clock(BUS_PLL_SOURCE_SHIFT,
&clocks->bus, bootcr, &clocks->bus, bootcr, ar7_afe_clock);
ar7_afe_clock);
if (*bootcr & BOOT_PLL_ASYNC_MODE) { if (*bootcr & BOOT_PLL_ASYNC_MODE) {
ar7_cpu_clock = tnetd7300_get_clock(CPU_PLL_SOURCE_SHIFT, ar7_cpu_clock = tnetd7300_get_clock(CPU_PLL_SOURCE_SHIFT,
&clocks->cpu, &clocks->cpu, bootcr, ar7_afe_clock);
bootcr, ar7_afe_clock);
} else { } else {
ar7_cpu_clock = ar7_bus_clock; ar7_cpu_clock = ar7_bus_clock;
} }
@ -366,7 +364,7 @@ static void __init tnetd7200_init_clocks(void)
int dsp_base, dsp_mul, dsp_prediv, dsp_postdiv; int dsp_base, dsp_mul, dsp_prediv, dsp_postdiv;
int usb_base, usb_mul, usb_prediv, usb_postdiv; int usb_base, usb_mul, usb_prediv, usb_postdiv;
/* /*
Log from Fritz!Box 7170 Annex B: Log from Fritz!Box 7170 Annex B:
CPU revision is: 00018448 CPU revision is: 00018448
@ -385,7 +383,7 @@ static void __init tnetd7200_init_clocks(void)
DSL didn't work if you didn't set the postdiv 2:1 postdiv2 combination, driver hung on startup. DSL didn't work if you didn't set the postdiv 2:1 postdiv2 combination, driver hung on startup.
Haven't tested this on a synchronous board, neither do i know what to do with ar7_dsp_clock Haven't tested this on a synchronous board, neither do i know what to do with ar7_dsp_clock
*/ */
cpu_base = tnetd7200_get_clock_base(TNETD7200_CLOCK_ID_CPU, bootcr); cpu_base = tnetd7200_get_clock_base(TNETD7200_CLOCK_ID_CPU, bootcr);
dsp_base = tnetd7200_get_clock_base(TNETD7200_CLOCK_ID_DSP, bootcr); dsp_base = tnetd7200_get_clock_base(TNETD7200_CLOCK_ID_DSP, bootcr);
@ -445,7 +443,7 @@ static void __init tnetd7200_init_clocks(void)
usb_prediv, usb_postdiv, -1, usb_mul, usb_prediv, usb_postdiv, -1, usb_mul,
TNETD7200_DEF_USB_CLK); TNETD7200_DEF_USB_CLK);
#warning FIXME: ????! Hrmm #warning FIXME: ????! Hrmm
ar7_dsp_clock = ar7_cpu_clock; ar7_dsp_clock = ar7_cpu_clock;
iounmap(clocks); iounmap(clocks);