From patchwork Thu Apr 8 20:16:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miguel Di Ciurcio Filho X-Patchwork-Id: 49750 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F2D2DB7D2B for ; Fri, 9 Apr 2010 06:25:09 +1000 (EST) Received: from localhost ([127.0.0.1]:60352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzyHi-0002YE-8C for incoming@patchwork.ozlabs.org; Thu, 08 Apr 2010 16:25:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nzy7R-0007ZW-9B for qemu-devel@nongnu.org; Thu, 08 Apr 2010 16:14:29 -0400 Received: from [140.186.70.92] (port=44048 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nzy7O-0007XR-FZ for qemu-devel@nongnu.org; Thu, 08 Apr 2010 16:14:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nzy7N-00043u-1q for qemu-devel@nongnu.org; Thu, 08 Apr 2010 16:14:26 -0400 Received: from mail-qy0-f188.google.com ([209.85.221.188]:37069) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nzy7M-0003y4-U7 for qemu-devel@nongnu.org; Thu, 08 Apr 2010 16:14:25 -0400 Received: by mail-qy0-f188.google.com with SMTP id 26so2709084qyk.19 for ; Thu, 08 Apr 2010 13:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=EhtPjKEdM9Z5EuijvAJUK4CwqZmDs3/GFQm8ucQs8VU=; b=GTAkzUpl2duk4WJxVXcNSQqb6OC9iZKf3aT/2fdrOQ3q8S5Gj/yk3Km1/LBMw93Ro9 Epxc0aHCMj98O92CeFRHF4GoZNZROrvFmLCI+6Iuc8Y6dER5anJJ9FcAgN+ZcZRk+s62 DCVS6E+VAS7SrO11KVS/pkbJnozSAGC+VnRZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=TQypHoJB/NF3l3g3c24B5ZzETco5nOiDiUro5siN8IKjvvo58GFE8JE6OhK/0KXzb0 9W//WiMncaM8y2tx5KRUJcgqEta7uFE1ZJ9J8bgSq8CyMwlpPeeJ+6vh1IG2d6/LLXFb IVwFBrQo38Rq0qQycVOsa+7TW430oO8sxpODk= Received: by 10.229.191.138 with SMTP id dm10mr985111qcb.52.1270757664461; Thu, 08 Apr 2010 13:14:24 -0700 (PDT) Received: from localhost.localdomain (quake.ic.unicamp.br [143.106.7.51]) by mx.google.com with ESMTPS id w30sm776636qce.4.2010.04.08.13.14.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 08 Apr 2010 13:14:23 -0700 (PDT) From: Miguel Di Ciurcio Filho To: qemu-devel@nongnu.org Date: Thu, 8 Apr 2010 17:16:23 -0300 Message-Id: <1270757799-31891-7-git-send-email-miguel.filho@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1270757799-31891-1-git-send-email-miguel.filho@gmail.com> References: <1270757799-31891-1-git-send-email-miguel.filho@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: armbru@redhat.com, lcapitulino@redhat.com Subject: [Qemu-devel] [PATCH 06/22] net: ne2000: replace qemu_format_nic_info_str by qemu_format_nic_info_dict X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Miguel Di Ciurcio Filho --- hw/ne2000-isa.c | 2 +- hw/ne2000.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ne2000-isa.c b/hw/ne2000-isa.c index 03a5a1f..d5403d9 100644 --- a/hw/ne2000-isa.c +++ b/hw/ne2000-isa.c @@ -84,7 +84,7 @@ static int isa_ne2000_initfn(ISADevice *dev) s->nic = qemu_new_nic(&net_ne2000_isa_info, &s->c, dev->qdev.info->name, dev->qdev.id, s); - qemu_format_nic_info_str(&s->nic->nc, s->c.macaddr.a); + qemu_format_nic_info_dict(&s->nic->nc, s->c.macaddr.a); return 0; } diff --git a/hw/ne2000.c b/hw/ne2000.c index 78fe14f..6a91ec0 100644 --- a/hw/ne2000.c +++ b/hw/ne2000.c @@ -737,7 +737,7 @@ static int pci_ne2000_init(PCIDevice *pci_dev) s->nic = qemu_new_nic(&net_ne2000_info, &s->c, pci_dev->qdev.info->name, pci_dev->qdev.id, s); - qemu_format_nic_info_str(&s->nic->nc, s->c.macaddr.a); + qemu_format_nic_info_dict(&s->nic->nc, s->c.macaddr.a); if (!pci_dev->qdev.hotplugged) { static int loaded = 0;