[UNTESTED PATCH v2] 8xx: Convert mpc866ads to the new device binding.

Vitaly Bordug vitb at kernel.crashing.org
Wed Oct 17 03:53:08 EST 2007


Hi Scott,

orig one does not build (not your issue apparently):

  CC      drivers/net/fs_enet/fs_enet-main.o
drivers/net/fs_enet/fs_enet-main.c: In function `fs_enet_probe':
drivers/net/fs_enet/fs_enet-main.c:1252: error: implicit declaration of 
function `SET_MODULE_OWNER'
drivers/net/fs_enet/fs_enet-main.c:1292: error: structure has no member 
named `poll'
drivers/net/fs_enet/fs_enet-main.c:1293: error: structure has no member 
named `weight'
make[3]: *** [drivers/net/fs_enet/fs_enet-main.o] Error 1
make[2]: *** [drivers/net/fs_enet] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

because net_device does not have 'poll' and 'weight' anymore.

Moreover, with the patch, it does not seem to boot(with upper lines commented out to get it build). I'm investigating the reason right now.

On Mon, 8 Oct 2007 17:48:47 -0500
Scott Wood <scottwood at freescale.com> wrote:

> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
> Whoops, forgot the localbus node last time.
> 
>  arch/powerpc/boot/dts/mpc866ads.dts          |  137 +++++++------
>  arch/powerpc/platforms/8xx/Kconfig           |    1 +
>  arch/powerpc/platforms/8xx/mpc86xads.h       |   44 ----
>  arch/powerpc/platforms/8xx/mpc86xads_setup.c |  289 +++++++-------------------
>  4 files changed, 156 insertions(+), 315 deletions(-)
> 
[...]
-- 
Sincerely, 
Vitaly



More information about the Linuxppc-dev mailing list