Revision 0aab0d3a hw/eepro100.c
b/hw/eepro100.c | ||
---|---|---|
1792 | 1792 |
nic_init(dev, i82559ER); |
1793 | 1793 |
} |
1794 | 1794 |
|
1795 |
static PCIDeviceInfo eepro100_info[] = { |
|
1796 |
{ |
|
1797 |
.qdev.name = "i82551", |
|
1798 |
.qdev.size = sizeof(PCIEEPRO100State), |
|
1799 |
.init = pci_i82551_init, |
|
1800 |
},{ |
|
1801 |
.qdev.name = "i82557b", |
|
1802 |
.qdev.size = sizeof(PCIEEPRO100State), |
|
1803 |
.init = pci_i82557b_init, |
|
1804 |
},{ |
|
1805 |
.qdev.name = "i82559er", |
|
1806 |
.qdev.size = sizeof(PCIEEPRO100State), |
|
1807 |
.init = pci_i82559er_init, |
|
1808 |
},{ |
|
1809 |
/* end of list */ |
|
1810 |
} |
|
1811 |
}; |
|
1812 |
|
|
1795 | 1813 |
static void eepro100_register_devices(void) |
1796 | 1814 |
{ |
1797 |
pci_qdev_register("i82551", sizeof(PCIEEPRO100State), |
|
1798 |
pci_i82551_init); |
|
1799 |
pci_qdev_register("i82557b", sizeof(PCIEEPRO100State), |
|
1800 |
pci_i82557b_init); |
|
1801 |
pci_qdev_register("i82559er", sizeof(PCIEEPRO100State), |
|
1802 |
pci_i82559er_init); |
|
1815 |
pci_qdev_register_many(eepro100_info); |
|
1803 | 1816 |
} |
1804 | 1817 |
|
1805 | 1818 |
device_init(eepro100_register_devices) |
Also available in: Unified diff