linux-mips
[Top] [All Lists]

Re: [PATCH v2 3/7] [loongson] lemote-2f: add basic cs5536 vsm support

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH v2 3/7] [loongson] lemote-2f: add basic cs5536 vsm support
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 10 Nov 2009 14:16:46 +0100
Cc: zhangfx@lemote.com, yanh@lemote.com, huhb@lemote.com, Nicholas Mc Guire <hofrat@hofr.at>, Arnaud Patard <apatard@mandriva.com>, loongson-dev@googlegroups.com, linux-mips@linux-mips.org
In-reply-to: <969a9b991c745c3ff7ee1c47ac240499af629f27.1257781987.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1257781987.git.wuzhangjin@gmail.com> <969a9b991c745c3ff7ee1c47ac240499af629f27.1257781987.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
On Tue, Nov 10, 2009 at 12:06:12AM +0800, Wu Zhangjin wrote:

> From: Wu Zhangjin <wuzhangjin@gmail.com>
> 
> Lemote loongson2f family machines use cs5536 as their south bridge, need
> these lowlevel interfaces to access the devices on cs5536.
> 
> This patch try to virtulize the legacy devices on cs5536 as PCI devices,
> So, users can access the PCI configure space of cs5536 directly as a
> normal multi-function PCI device which follows the PCI-2.2 spec.
> 
> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>

Queued for 2.6.33 - but the idea of pretending a PCI device for something
that isn't really one is inelegant to say the least.  Maybe this should be
platform devices intead.

Thanks!

  Ralf

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