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>
This commit is contained in:
Stefan Weil 2009-11-02 17:34:53 +01:00 committed by Anthony Liguori
parent 4e9df06acc
commit 6a90e30800

View File

@ -1922,6 +1922,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82550", .qdev.name = "i82550",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82550_init, .init = pci_i82550_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
@ -1939,6 +1940,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82557a", .qdev.name = "i82557a",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82557a_init, .init = pci_i82557a_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
@ -1956,6 +1958,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82557c", .qdev.name = "i82557c",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82557c_init, .init = pci_i82557c_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
@ -1964,6 +1967,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82558a", .qdev.name = "i82558a",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82558a_init, .init = pci_i82558a_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
@ -1972,6 +1976,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82558b", .qdev.name = "i82558b",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82558b_init, .init = pci_i82558b_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
@ -1980,6 +1985,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82559a", .qdev.name = "i82559a",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82559a_init, .init = pci_i82559a_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
@ -1988,6 +1994,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82559b", .qdev.name = "i82559b",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82559b_init, .init = pci_i82559b_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
@ -1996,6 +2003,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82559c", .qdev.name = "i82559c",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82559c_init, .init = pci_i82559c_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
@ -2013,6 +2021,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.name = "i82562", .qdev.name = "i82562",
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82562_init, .init = pci_i82562_init,
.exit = pci_nic_uninit,
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),