linux-mips
[Top] [All Lists]

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

To: pdh@colonel-panic.org (Peter Horton)
Subject: Re: [PATCH 9/12] removed unused resources for Cobalt
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Fri, 25 Aug 2006 08:11:07 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <20060824193121.GA23792@colonel-panic.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060822225755.55a055c0.yoichi_yuasa@tripeaks.co.jp> <20060824193121.GA23792@colonel-panic.org>
Sender: linux-mips-bounce@linux-mips.org
Hi,

On Thu, 24 Aug 2006 20:31:21 +0100
pdh@colonel-panic.org (Peter Horton) wrote:

> 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.

How about the change of them to "reserved"?

Yoichi

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