]> Git Repo - qemu.git/blobdiff - hw/net/pcnet-pci.c
virtio-net: handle virtio_net_flush_tx() errors
[qemu.git] / hw / net / pcnet-pci.c
index 8305d1bdf2dfdb9773bcd89fecce8337e25a057e..0acf8a4879dc06caee834bcf665a0370e7bb30ea 100644 (file)
@@ -27,6 +27,7 @@
  * AMD Publication# 19436  Rev:E  Amendment/0  Issue Date: June 2000
  */
 
+#include "qemu/osdep.h"
 #include "hw/pci/pci.h"
 #include "net/net.h"
 #include "hw/loader.h"
@@ -271,9 +272,8 @@ static void pci_pcnet_uninit(PCIDevice *dev)
 }
 
 static NetClientInfo net_pci_pcnet_info = {
-    .type = NET_CLIENT_OPTIONS_KIND_NIC,
+    .type = NET_CLIENT_DRIVER_NIC,
     .size = sizeof(NICState),
-    .can_receive = pcnet_can_receive,
     .receive = pcnet_receive,
     .link_status_changed = pcnet_set_link_status,
 };
This page took 0.023722 seconds and 4 git commands to generate.