Changeset 0472cf17 in mainline for uspace/drv/nic/virtio-net/virtio-net.c
- Timestamp:
- 2024-10-13T08:23:43Z (2 months ago)
- Parents:
- b3b79981 (diff), ebb1489 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:43)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/virtio-net/virtio-net.c
rb3b79981 r0472cf17 43 43 44 44 #include <virtio-pci.h> 45 #include <pcapdump_iface.h> 45 46 46 47 #define NAME "virtio-net" … … 428 429 } 429 430 430 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);431 rc = nic_fun_add_to_cats(fun); 431 432 if (rc != EOK) { 432 ddf_msg(LVL_ERROR, "Failed adding function to category"); 433 goto unbind; 433 ddf_msg(LVL_ERROR, "Failed adding function to categories"); 434 ddf_fun_unbind(fun); 435 return rc; 434 436 } 435 437 … … 439 441 return EOK; 440 442 441 unbind:442 ddf_fun_unbind(fun);443 // unbind: 444 // ddf_fun_unbind(fun); 443 445 destroy: 444 446 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.