summaryrefslogtreecommitdiff
path: root/hw/eepro100.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-11-02 17:34:53 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-12 11:23:54 -0600
commit6a90e30800c1164eeb64bac6c863f1ceae514434 (patch)
treeddcd4b82247d1226c6d440a09b9b3e96aecc3d8d /hw/eepro100.c
parent4e9df06accd26cd1034fd6d3249c7fa15d92f631 (diff)
downloadqemu-6a90e30800c1164eeb64bac6c863f1ceae514434.tar.gz
qemu-6a90e30800c1164eeb64bac6c863f1ceae514434.tar.bz2
qemu-6a90e30800c1164eeb64bac6c863f1ceae514434.zip
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 <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/eepro100.c')
-rw-r--r--hw/eepro100.c9
1 files changed, 9 insertions, 0 deletions
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(),