linux-mips
[Top] [All Lists]

Re: [PATCH] fulong PCI updates

To: tiansm@lemote.com
Subject: Re: [PATCH] fulong PCI updates
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 9 Jul 2007 14:41:04 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <11838701474147-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11838701474147-git-send-email-tiansm@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Sun, Jul 08, 2007 at 12:49:07PM +0800, tiansm@lemote.com wrote:
> diff --git a/include/asm-mips/mips-boards/bonito64.h 
> b/include/asm-mips/mips-boards/bonito64.h
> index cd71256..dc3fc32 100644
> --- a/include/asm-mips/mips-boards/bonito64.h
> +++ b/include/asm-mips/mips-boards/bonito64.h
> @@ -26,7 +26,12 @@
>  /* offsets from base register */
>  #define BONITO(x)    (x)
> 
> -#else /* !__ASSEMBLY__ */
> +#elif defined(CONFIG_LEMOTE_FULONG)
> +
> +#define BONITO(x) (*(volatile u32 *)((char *)CKSEG1ADDR(BONITO_REG_BASE) + 
> (x)))
> +#define BONITO_IRQ_BASE   32
> +
> +#else
> 
>  /*
>   * Algorithmics Bonito64 system controller register base.

Okay, I've folded that into the existing Fulong patch in the -queue tree
and that'll also be the last thing I do on the -queue tree before merging
it into the main tree rsp. to Linus.

Note that the "mips-boards" in the filename was meant to mean
boards of MTI, so that mips-boards file would rather be moved around than
included via unobvious pathes that will eventually lead to breakage when
we change code for mips-boards/bonito64.h but I guess we can fix that
later.

  Ralf

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