Subject: Re: [PATCH 6/6] Change the kernel configurated RapidIO system size to auto-probing.

From: Matt Porter <[email-masked]>
Date: Tue, 5 Feb 2008 10:43:18 -0600

On Wed, Jan 30, 2008 at 06:30:53PM +0800, Zhang Wei wrote:
> The RapidIO system size will auto probe in RIO setup. The route
> table and rionet_active in rionet.c are changed to be allocated
> dynamically according the system size.

<snip>

> +	port->sys_size = (in_be32((priv->regs_win + RIO_PEF_CAR))
> +					& RIO_PEF_CTLS) >> 4;
> +	dev_info(&dev->dev, "RapidIO Common Transport System size: %d\n",
> +			port->sys_size ? 65536 : 256);
> +

This is much nicer than the original hardcoded transport size
implementation.

-Matt