From patchwork Mon Nov 2 16:34:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 37440 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 98899B7C25 for ; Tue, 3 Nov 2009 03:39:33 +1100 (EST) Received: from localhost ([127.0.0.1]:41227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4zwH-0004fG-SV for incoming@patchwork.ozlabs.org; Mon, 02 Nov 2009 11:39:29 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4zs4-00044g-2O for qemu-devel@nongnu.org; Mon, 02 Nov 2009 11:35:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4zry-000446-EV for qemu-devel@nongnu.org; Mon, 02 Nov 2009 11:35:06 -0500 Received: from [199.232.76.173] (port=50007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4zrx-000443-8N for qemu-devel@nongnu.org; Mon, 02 Nov 2009 11:35:01 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:50658) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4zrw-0006vL-Id for qemu-devel@nongnu.org; Mon, 02 Nov 2009 11:35:00 -0500 Received: from flocke.weilnetz.de (p54ADEE01.dip.t-dialin.net [84.173.238.1]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MMHcb-1N5psh3RFd-008bH7; Mon, 02 Nov 2009 17:34:55 +0100 Received: from stefan by flocke.weilnetz.de with local (Exim 4.69) (envelope-from ) id 1N4zrp-0001u5-Ny; Mon, 02 Nov 2009 17:34:53 +0100 From: Stefan Weil To: QEMU Developers Date: Mon, 2 Nov 2009 17:34:53 +0100 Message-Id: <1257179693-7295-1-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.5.6.5 X-Provags-ID: V01U2FsdGVkX19DJUAWbsFI8hUKWmNHXjtSxxJuyS/UJcHUhQq P5+BcgoKxhHccMNOsVuqRZQAVsISAtIUzDM1pMXcwGS/JlTAYa d11jLq8f9TFij9ObhFwuOZkOWD6poCrVJRLCkt4JYDHMGDYsZh k3g== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Subject: [Qemu-devel] [PATCH] eepro100: Add missing .exit initialisation 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 Some devices did not have an initialisation value for entry ".exit". This is fixed here. Signed-off-by: Stefan Weil --- hw/eepro100.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index 0842d48..00dc00c 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -1789,6 +1789,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82550", .qdev.size = sizeof(EEPRO100State), .init = pci_i82550_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(), @@ -1806,6 +1807,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82557a", .qdev.size = sizeof(EEPRO100State), .init = pci_i82557a_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(), @@ -1823,6 +1825,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82557c", .qdev.size = sizeof(EEPRO100State), .init = pci_i82557c_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(), @@ -1831,6 +1834,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82558a", .qdev.size = sizeof(EEPRO100State), .init = pci_i82558a_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(), @@ -1839,6 +1843,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82558b", .qdev.size = sizeof(EEPRO100State), .init = pci_i82558b_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(), @@ -1847,6 +1852,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82559a", .qdev.size = sizeof(EEPRO100State), .init = pci_i82559a_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(), @@ -1855,6 +1861,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82559b", .qdev.size = sizeof(EEPRO100State), .init = pci_i82559b_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(), @@ -1863,6 +1870,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82559c", .qdev.size = sizeof(EEPRO100State), .init = pci_i82559c_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(), @@ -1880,6 +1888,7 @@ static PCIDeviceInfo eepro100_info[] = { .qdev.name = "i82562", .qdev.size = sizeof(EEPRO100State), .init = pci_i82562_init, + .exit = pci_nic_uninit, .qdev.props = (Property[]) { DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_PROP_END_OF_LIST(),