linux-mips
[Top] [All Lists]

Re: [PATCH 9/12] removed unused resources for Cobalt

To: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Subject: Re: [PATCH 9/12] removed unused resources for Cobalt
From: pdh@colonel-panic.org (Peter Horton)
Date: Thu, 24 Aug 2006 20:31:21 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org>
In-reply-to: <20060822225755.55a055c0.yoichi_yuasa@tripeaks.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060822225755.55a055c0.yoichi_yuasa@tripeaks.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.9i
On Tue, Aug 22, 2006 at 10:57:55PM +0900, Yoichi Yuasa wrote:
> 
> This patch has removed unused resources for Cobalt.
> 
> -static struct resource cobalt_io_resources[] = {
> -     {
> -             .start  = 0x00,
> -             .end    = 0x1f,
> -             .name   = "dma1",
> -             .flags  = IORESOURCE_BUSY
> -     }, {
> -             .start  = 0x40,
> -             .end    = 0x5f,
> -             .name   = "timer",
> -             .flags  = IORESOURCE_BUSY
> -     }, {
> -             .start  = 0x60,
> -             .end    = 0x6f,
> -             .name   = "keyboard",
> -             .flags  = IORESOURCE_BUSY
> -     }, {
> -             .start  = 0x80,
> -             .end    = 0x8f,
> -             .name   = "dma page reg",
> -             .flags  = IORESOURCE_BUSY
> -     }, {
> -             .start  = 0xc0,
> -             .end    = 0xdf,
> -             .name   = "dma2",
> -             .flags  = IORESOURCE_BUSY
> -     },
> -};
> -

Is this correct ? These resources maybe unused, but the registers are
there, and should be listed as unavailable.

P.

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