linux-mips
[Top] [All Lists]

Re: [PATCH] Add support for Cobalt Server front LED

To: Florian Fainelli <florian.fainelli@int-evry.fr>
Subject: Re: [PATCH] Add support for Cobalt Server front LED
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Tue, 16 Jan 2007 07:42:05 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips@linux-mips.org
In-reply-to: <200701151936.57738.florian.fainelli@int-evry.fr>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200701151936.57738.florian.fainelli@int-evry.fr>
Sender: linux-mips-bounce@linux-mips.org
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

<Prev in Thread] Current Thread [Next in Thread>