qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabien Chouteau <chouteau@adacore.com>
To: Yao Xingtao <yaoxt.fnst@cn.fujitsu.com>
Cc: qemu-devel <Qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Fw: [PATCH 2/2] Add Enhanced Three-Speed EthernetController (eTSEC)
Date: Mon, 15 Jul 2013 12:19:54 +0200	[thread overview]
Message-ID: <51E3CCCA.70301@adacore.com> (raw)
In-Reply-To: <201307150925097674522@cn.fujitsu.com>

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	other threads:[~2013-07-15 10:20 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 17:10 [Qemu-devel] [PATCH 0/2] Enhanced Three Speed Ethernet Controller (eTSEC) Fabien Chouteau
2013-07-10 17:10 ` [Qemu-devel] [PATCH 1/2] Add be16_to_cpupu function Fabien Chouteau
2013-07-10 17:25   ` Peter Maydell
2013-07-12  9:57     ` Fabien Chouteau
2013-07-10 17:10 ` [Qemu-devel] [PATCH 2/2] Add Enhanced Three-Speed Ethernet Controller (eTSEC) Fabien Chouteau
     [not found]   ` <201307110955092430409@cn.fujitsu.com>
2013-07-15  1:25     ` [Qemu-devel] Fw: [PATCH 2/2] Add Enhanced Three-Speed EthernetController (eTSEC) Yao Xingtao
2013-07-15 10:19       ` Fabien Chouteau [this message]
2013-07-15  2:00   ` [Qemu-devel] [PATCH 2/2] Add Enhanced Three-Speed Ethernet Controller (eTSEC) Peter Crosthwaite
2013-07-15 14:23     ` Fabien Chouteau
2013-07-16  1:06       ` Peter Crosthwaite
2013-07-16  8:35         ` Fabien Chouteau
2013-07-16  2:06   ` [Qemu-devel] [Qemu-ppc] " Scott Wood
2013-07-16 15:28     ` Fabien Chouteau
2013-07-16 15:37       ` Alexander Graf
2013-07-16 16:15         ` Fabien Chouteau
2013-07-16 16:54           ` Scott Wood
2013-07-17  8:24             ` Fabien Chouteau
2013-07-17  8:29               ` Alexander Graf
2013-07-17 10:27                 ` Fabien Chouteau
2013-07-16 17:50       ` Scott Wood
2013-07-17 10:17         ` Fabien Chouteau
2013-07-17 10:22           ` Alexander Graf
2013-07-17 10:43             ` Fabien Chouteau
2013-07-17 21:02           ` Scott Wood
2013-07-18  9:27             ` Fabien Chouteau
2013-07-18 20:37               ` Scott Wood
2013-07-19  9:22                 ` Fabien Chouteau
2013-07-19 17:19                   ` Scott Wood
2013-07-22  9:00                     ` Fabien Chouteau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E3CCCA.70301@adacore.com \
    --to=chouteau@adacore.com \
    --cc=Qemu-devel@nongnu.org \
    --cc=yaoxt.fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).