qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Fw: [PATCH 2/2] Add Enhanced Three-Speed EthernetContro


From: Fabien Chouteau
Subject: Re: [Qemu-devel] Fw: [PATCH 2/2] Add Enhanced Three-Speed EthernetController (eTSEC)
Date: Mon, 15 Jul 2013 12:19:54 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 07/15/2013 03:25 AM, Yao Xingtao wrote:
> Hi:
>       I'm very interesting in it, but I don't know how to create a eTSEC 
> device, I did a test as below:
> 
> for(i = 0; i < nb_nics; i++) {
>      NICInfo *nd = &nd_table[i];
>      if (!nd->model) {
>          nd->model = g_strdup("eTSEC");
>      }
>      if(strcmp(nd->model, "eTSEC") == 0) {
>           etsec_create(ETSEC0_REGS_OFFSET, ccsr_addr_space, nd,
>           mpic[0x1d], mpic[0x1e], mpic[0x22]);
>      }
> }
> 
> When I start the qemu, an error exists" qemu-system-ppc: Unsupported NIC 
> model: eTSEC" .
> Could you tell me how to create a eTSEC device?
>

Maybe because your machine has a pci_nic_init_nofail() call. eTSEC is not a PCI 
NIC...
 
Regards,

-- 
Fabien Chouteau



reply via email to

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