Hi,
On Mon, 15 Jan 2007 19:36:52 +0100
Florian Fainelli <florian.fainelli@int-evry.fr> wrote:
> Hi all,
>
> This patch adds support for controlling the front LED on Cobalt Server. It
> has
> been tested on Qube 2 with either no default trigger, or the IDE-activity
> trigger. Both work fine. Please comment and test !
>
> Thanks
>
> Florian
>
> Signed-off-by: Florian Fainelli <florian.fainelli@int-evry.fr>
>
> diff -urN linux-2.6.19.1/include/asm-mips/mach-cobalt/cobalt.h
> linux-2.6.19.1.led/include/asm-mips/mach-cobalt/cobalt.h
> --- linux-2.6.19.1/include/asm-mips/mach-cobalt/cobalt.h 2006-12-11
> 20:32:53.000000000 +0100
> +++ linux-2.6.19.1.led/include/asm-mips/mach-cobalt/cobalt.h 2007-01-15
> 19:29:07.000000000 +0100
> @@ -97,6 +97,7 @@
> (PCI_FUNC (devfn) << 8) | (where)), GT_PCI0_CFGADDR_OFS)
>
> #define COBALT_LED_PORT (*(volatile unsigned char *)
> CKSEG1ADDR(0x1c000000))
> +#define COBALT_LED_BASE 0xbc000000
You don't need COBALT_LED_BASE.
Because COBALT_LED_PORT is already defined.
Yoichi
|