From 6a90e30800c1164eeb64bac6c863f1ceae514434 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 2 Nov 2009 17:34:53 +0100 Subject: eepro100: Add missing .exit initialisation Some devices did not have an initialisation value for entry ".exit". This is fixed here. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- hw/eepro100.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'hw/eepro100.c') diff --git a/hw/eepro100.c b/hw/eepro100.c index c5ec0be0d5..8734907e42 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -1922,6 +1922,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(), @@ -1939,6 +1940,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(), @@ -1956,6 +1958,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(), @@ -1964,6 +1967,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(), @@ -1972,6 +1976,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(), @@ -1980,6 +1985,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(), @@ -1988,6 +1994,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(), @@ -1996,6 +2003,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(), @@ -2013,6 +2021,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(), -- cgit v1.2.3