Revision 81a322d4 hw/ne2000.c
b/hw/ne2000.c | ||
---|---|---|
803 | 803 |
unregister_savevm("ne2000", s); |
804 | 804 |
} |
805 | 805 |
|
806 |
static void pci_ne2000_init(PCIDevice *pci_dev)
|
|
806 |
static int pci_ne2000_init(PCIDevice *pci_dev)
|
|
807 | 807 |
{ |
808 | 808 |
PCINE2000State *d = (PCINE2000State *)pci_dev; |
809 | 809 |
NE2000State *s; |
... | ... | |
830 | 830 |
qemu_format_nic_info_str(s->vc, s->macaddr); |
831 | 831 |
|
832 | 832 |
register_savevm("ne2000", -1, 3, ne2000_save, ne2000_load, s); |
833 |
return 0; |
|
833 | 834 |
} |
834 | 835 |
|
835 | 836 |
static PCIDeviceInfo ne2000_info = { |
Also available in: Unified diff