RE: [PATCH 4/6] Add multi mport support.

From: Zhang Wei
Date: Mon Feb 18 2008 - 02:33:49 EST


Hi, Matt,

So glad to see you again!

> -----Original Message-----
> From: Matt Porter [mailto:mporter@xxxxxxxxxxxxxxxxxxx]
> On Thu, Jan 31, 2008 at 02:30:13PM +0800, Zhang Wei wrote:
> > > -----Original Message-----
> > > From: Kumar Gala [mailto:galak@xxxxxxxxxxxxxxxxxxx]
> > > 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.

I know it is a real bad assumption. However, the RIO initial ID is only
transported to
driver by kernel parameter "riohdid", which can not distinguish the
multi
rio controllers. It may be more better add a "rio-id" property in RIO
dts node, but
the u-boot need some changes to support the rio-id assignment.

Cheers!
Wei.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/