We are trying to provide support for Emulated SMSC911X Ethernet
controller.Current Qemu already had support for SMSC91X controller which
looks near SMSC91X controller.

For providing support to SMSC911x we have done the following modifications
related to kernel changes :

1. modified the versatile def config  file to support SMSC911.x
CONFIG_SMSC911x
2  modified  core .c file to support /arc/arm/mach-versatile  to support
smsc911x.c
 modified  the structure static struct platform_device smc91x_device = {
    .name        = "smc91x",
    .id        = 0,
    .num_resources    = ARRAY_SIZE(smc91x_resources),
    .resource    = smc91x_resources,
};

with

static struct platform_device smc91x_device = {
    .name        = "smsc911x",
    .id        = 0,
    .num_resources    = ARRAY_SIZE(smc91x_resources),
    .resource    = smc91x_resources,
};


compiled our kernel with the above changes and the run qemu with the
modfied kernel , but it fails with smsc911x_probe .

Can anyone  please pointout whether we are following the right process ?


Thanks

Reply via email to