Revision 72da4208 hw/ne2000.c
b/hw/ne2000.c | ||
---|---|---|
777 | 777 |
register_ioport_read(addr + 0x1f, 1, 1, ne2000_reset_ioport_read, s); |
778 | 778 |
} |
779 | 779 |
|
780 |
void pci_ne2000_init(PCIBus *bus, NICInfo *nd, int devfn)
|
|
780 |
PCIDevice *pci_ne2000_init(PCIBus *bus, NICInfo *nd, int devfn)
|
|
781 | 781 |
{ |
782 | 782 |
PCINE2000State *d; |
783 | 783 |
NE2000State *s; |
... | ... | |
807 | 807 |
qemu_format_nic_info_str(s->vc, s->macaddr); |
808 | 808 |
|
809 | 809 |
register_savevm("ne2000", -1, 3, ne2000_save, ne2000_load, s); |
810 |
|
|
811 |
return (PCIDevice *)d; |
|
810 | 812 |
} |
Also available in: Unified diff