[PATCH 06/17] Change the kernel configurated RapidIO system size to auto-probing.

2008-03-04 Thread Zhang Wei
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. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |6 + drivers/net/rionet.c | 16

[PATCH 06/17] Change the kernel configurated RapidIO system size to auto-probing.

2008-03-11 Thread Zhang Wei
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. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_rio.c |6 drivers/net/rionet.c | 16 +

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

2008-03-04 Thread Stephen Rothwell
On Wed, 5 Mar 2008 00:29:51 +0800 Zhang Wei <[EMAIL PROTECTED]> wrote: > > + if (!(rionet_active = (struct rio_dev **)__get_free_pages(GFP_KERNEL, > + mport->sys_size ? __ilog2(sizeof(void *)) + 4 > + : 0))) { Please separate the assignm