Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755637AbYBEQb1 (ORCPT ); Tue, 5 Feb 2008 11:31:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755365AbYBEQbT (ORCPT ); Tue, 5 Feb 2008 11:31:19 -0500 Received: from gate.crashing.org ([63.228.1.57]:47462 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751969AbYBEQbS (ORCPT ); Tue, 5 Feb 2008 11:31:18 -0500 Date: Tue, 5 Feb 2008 10:29:42 -0600 From: Matt Porter To: Zhang Wei Cc: Kumar Gala , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] Add multi mport support. Message-ID: <20080205162942.GB20177@gate.crashing.org> References: <1201689053956-git-send-email-wei.zhang@freescale.com> <12016890621727-git-send-email-wei.zhang@freescale.com> <120168907160-git-send-email-wei.zhang@freescale.com> <12016890773706-git-send-email-wei.zhang@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 27 On Thu, Jan 31, 2008 at 02:30:13PM +0800, Zhang Wei wrote: > > -----Original Message----- > > From: Kumar Gala [mailto:galak@kernel.crashing.org] > > when we have multiple ports are the device IDs on the ports intended > > to be unique only to a port or unique across all ports? > > > I consider each RIO controller will has its own network, the device IDs > should be > unique only in its port network. This is a bad assumption IMHO. It pushes policy on to the system designer of a RapidIO network. It is very possible to use multiple controllers as entry points in a single RapidIO network fabric space. The reason one would do this is to provide optimized paths to some endpoints in the system. If possible, there should never be a policy assumption like this in kernel space. It's much better to assume that one may or may not have a unique id space. -Matt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/