qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Support for Emulated SMSC 911X


From: Peter Maydell
Subject: Re: [Qemu-devel] Support for Emulated SMSC 911X
Date: Mon, 27 Jan 2014 17:07:48 +0000

On 27 January 2014 16:55, Romanic Dean <address@hidden> wrote:
> We are trying to provide support for Emulated SMSC911X Ethernet
> controller.Current Qemu already had support for SMSC91X controller which
> looks near SMSC91X controller.

We already support the SMSC 9118 (see hw/net/lan9118.c).
What do you need that that does not already provide?

> 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 .

I'm not entirely clear what you're trying to do here,
but the VersatilePB board has an SMC LAN91C111, which
we already correctly model. It doesn't have a 911x.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]