All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [2.6.0-test1] Alchemy Pb1500 - Power management
@ 2003-07-16  9:38 Liam Girdwood
  2003-07-16 16:07 ` Pete Popov
  0 siblings, 1 reply; 2+ messages in thread
From: Liam Girdwood @ 2003-07-16  9:38 UTC (permalink / raw)
  To: linux-mips

Hi,

I'm working my way through building the latest CVS for my Pb1500 and
I've run into a couple of build problems.

This patch fixes some function naming problems and removes duplicate
symbol au1k_wait() (defined in kernel/cpu-probe.c) in the Pb1500 power
management code.

Index: arch/mips/au1000/common/power.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/au1000/common/power.c,v
retrieving revision 1.10
diff -r1.10 power.c
36a37
> #include <linux/jiffies.h>
54,55c55,56
< extern void set_au1000_speed(unsigned int new_freq);
< extern unsigned int get_au1000_speed(void);
---
> extern void set_au1x00_speed(unsigned int new_freq);
> extern unsigned int get_au1x00_speed(void);
190,191c191,192
< 		old_baud_base = get_au1000_uart_baud_base();
< 		old_cpu_freq = get_au1000_speed();
---
> 		old_baud_base = get_au1x00_uart_baud_base();
> 		old_cpu_freq = get_au1x00_speed();
195,196c196,197
< 		set_au1000_speed(new_cpu_freq);
< 		set_au1000_uart_baud_base(new_baud_base);
---
> 		set_au1x00_speed(new_cpu_freq);
> 		set_au1x00_uart_baud_base(new_baud_base);
325,329d325
< }
< 
< void au1k_wait(void)
< {
< 	__asm__("nop\n\t" "nop\n\t");


Liam

-- 
Liam Girdwood <liam.girdwood@wolfsonmicro.com>



Wolfson Microelectronics plc
http://www.wolfsonmicro.com
t: +44 131 272-7000
f: +44 131 272-7001
Registered in Scotland 89839

This message may contain confidential or proprietary information. If you receive this message in error, please
immediately delete it, destroy all copies of it and notify the sender. Any views expressed in this message are those of the individual sender,
except where the message states otherwise. We take reasonable precautions to ensure our Emails are virus free.
However, we cannot accept responsibility for any virus transmitted by us
and recommend that you subject any incoming Email to your own virus
checking procedures.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [2.6.0-test1] Alchemy Pb1500 - Power management
  2003-07-16  9:38 [PATCH] [2.6.0-test1] Alchemy Pb1500 - Power management Liam Girdwood
@ 2003-07-16 16:07 ` Pete Popov
  0 siblings, 0 replies; 2+ messages in thread
From: Pete Popov @ 2003-07-16 16:07 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: Linux MIPS mailing list

Thanks.

BTW, I'm waiting for some PM patches from Embedded Edge that will
cleanup and Au1x PM support.

Pete

On Wed, 2003-07-16 at 02:38, Liam Girdwood wrote:
> Hi,
> 
> I'm working my way through building the latest CVS for my Pb1500 and
> I've run into a couple of build problems.
> 
> This patch fixes some function naming problems and removes duplicate
> symbol au1k_wait() (defined in kernel/cpu-probe.c) in the Pb1500 power
> management code.
> 
> Index: arch/mips/au1000/common/power.c
> ===================================================================
> RCS file: /home/cvs/linux/arch/mips/au1000/common/power.c,v
> retrieving revision 1.10
> diff -r1.10 power.c
> 36a37
> > #include <linux/jiffies.h>
> 54,55c55,56
> < extern void set_au1000_speed(unsigned int new_freq);
> < extern unsigned int get_au1000_speed(void);
> ---
> > extern void set_au1x00_speed(unsigned int new_freq);
> > extern unsigned int get_au1x00_speed(void);
> 190,191c191,192
> < 		old_baud_base = get_au1000_uart_baud_base();
> < 		old_cpu_freq = get_au1000_speed();
> ---
> > 		old_baud_base = get_au1x00_uart_baud_base();
> > 		old_cpu_freq = get_au1x00_speed();
> 195,196c196,197
> < 		set_au1000_speed(new_cpu_freq);
> < 		set_au1000_uart_baud_base(new_baud_base);
> ---
> > 		set_au1x00_speed(new_cpu_freq);
> > 		set_au1x00_uart_baud_base(new_baud_base);
> 325,329d325
> < }
> < 
> < void au1k_wait(void)
> < {
> < 	__asm__("nop\n\t" "nop\n\t");
> 
> 
> Liam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-16 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16  9:38 [PATCH] [2.6.0-test1] Alchemy Pb1500 - Power management Liam Girdwood
2003-07-16 16:07 ` Pete Popov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.