Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nzy7h-0007nJ-Nx for qemu-devel@nongnu.org; Thu, 08 Apr 2010 16:14:45 -0400 Received: from [140.186.70.92] (port=44161 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nzy7e-0007kh-T7 for qemu-devel@nongnu.org; Thu, 08 Apr 2010 16:14:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nzy7a-00046Z-EX for qemu-devel@nongnu.org; Thu, 08 Apr 2010 16:14:42 -0400 Received: from qw-out-1920.google.com ([74.125.92.144]:10575) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzy7W-000469-2Y for qemu-devel@nongnu.org; Thu, 08 Apr 2010 16:14:38 -0400 Received: by qw-out-1920.google.com with SMTP id 5so846212qwc.4 for ; Thu, 08 Apr 2010 13:14:33 -0700 (PDT) From: Miguel Di Ciurcio Filho Date: Thu, 8 Apr 2010 17:16:25 -0300 Message-Id: <1270757799-31891-9-git-send-email-miguel.filho@gmail.com> In-Reply-To: <1270757799-31891-1-git-send-email-miguel.filho@gmail.com> References: <1270757799-31891-1-git-send-email-miguel.filho@gmail.com> Subject: [Qemu-devel] [PATCH 08/22] net: lan9118: replace qemu_format_nic_info_str by qemu_format_nic_info_dict List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, lcapitulino@redhat.com Signed-off-by: Miguel Di Ciurcio Filho --- hw/lan9118.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/lan9118.c b/hw/lan9118.c index 16d3330..07f9429 100644 --- a/hw/lan9118.c +++ b/hw/lan9118.c @@ -232,7 +232,7 @@ static void lan9118_update(lan9118_state *s) static void lan9118_mac_changed(lan9118_state *s) { - qemu_format_nic_info_str(&s->nic->nc, s->conf.macaddr.a); + qemu_format_nic_info_dict(&s->nic->nc, s->conf.macaddr.a); } static void lan9118_reload_eeprom(lan9118_state *s) @@ -1130,7 +1130,7 @@ static int lan9118_init1(SysBusDevice *dev) s->nic = qemu_new_nic(&net_lan9118_info, &s->conf, dev->qdev.info->name, dev->qdev.id, s); - qemu_format_nic_info_str(&s->nic->nc, s->conf.macaddr.a); + qemu_format_nic_info_dict(&s->nic->nc, s->conf.macaddr.a); s->eeprom[0] = 0xa5; for (i = 0; i < 6; i++) { s->eeprom[i + 1] = s->conf.macaddr.a[i]; -- 1.7.0.3