Revision 72da4208 hw/pcnet.c

b/hw/pcnet.c
1985 1985
    cpu_physical_memory_read(addr, buf, len);
1986 1986
}
1987 1987

  
1988
void pci_pcnet_init(PCIBus *bus, NICInfo *nd, int devfn)
1988
PCIDevice *pci_pcnet_init(PCIBus *bus, NICInfo *nd, int devfn)
1989 1989
{
1990 1990
    PCNetState *d;
1991 1991
    uint8_t *pci_conf;
......
2032 2032
    d->pci_dev = &d->dev;
2033 2033

  
2034 2034
    pcnet_common_init(d, nd);
2035
    return (PCIDevice *)d;
2035 2036
}
2036 2037

  
2037 2038
/* SPARC32 interface */

Also available in: Unified diff