rtoss - Diff between revs 77 and 79

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 77 Rev 79
Line 588... Line 588...
588         mdio_attach(&eth->mdio_bus, &eth->phy, eth->phyaddr); 588         mdio_attach(&eth->mdio_bus, &eth->phy, eth->phyaddr);
589 589
590         eth->ethregs = cpu_register_io_memory(eth_read, eth_write, eth); 590         eth->ethregs = cpu_register_io_memory(eth_read, eth_write, eth);
591         cpu_register_physical_memory (base, 0x5c, eth->ethregs); 591         cpu_register_physical_memory (base, 0x5c, eth->ethregs);
592 592
593         eth->vc = nd->vc = qemu_new_vlan_client(nd->vlan, nd->netdev, -  
-   593         eth->vc = nd->vc = qemu_new_vlan_client(NET_CLIENT_TYPE_NIC,
-   594                                                 nd->vlan, nd->netdev,
594                                                 nd->model, nd->name, 595                                                 nd->model, nd->name,
595                                                 eth_can_receive, eth_receive, 596                                                 eth_can_receive, eth_receive,
596                                                 NULL, eth_cleanup, eth); -  
-   597                                                 NULL, NULL, eth_cleanup, eth);
597         eth->vc->opaque = eth; 598         eth->vc->opaque = eth;
598         eth->vc->link_status_changed = eth_set_link; 599         eth->vc->link_status_changed = eth_set_link;
599 600
600         return dma; 601         return dma;
601 } 602 }