Changeset e55d2c1 in mainline for uspace/drv/nic/ne2k/ne2k.c
- Timestamp:
- 2024-04-07T12:53:23Z (10 months ago)
- Children:
- 2a0c827c
- Parents:
- c37c24c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ne2k/ne2k.c
rc37c24c re55d2c1 43 43 #include <str_error.h> 44 44 #include <async.h> 45 #include <ddf/log.h> 45 46 #include "dp8390.h" 46 47 … … 443 444 } 444 445 445 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);446 rc = nic_fun_add_to_cats(fun); 446 447 if (rc != EOK) { 448 ddf_msg(LVL_ERROR, "Failed adding function to categories"); 447 449 ddf_fun_unbind(fun); 448 ddf_fun_destroy(fun);449 return rc;450 }451 rc = ddf_fun_add_to_category(fun, "pcap");452 if (rc != EOK) {453 //ddf_msg(LVL_ERROR, "Failed adding function to category pcap");454 ddf_fun_unbind(fun);455 ddf_fun_destroy(fun);456 450 return rc; 457 451 } … … 483 477 nic_driver_implement(&ne2k_driver_ops, &ne2k_dev_ops, &ne2k_nic_iface); 484 478 479 ddf_log_init(NAME); 485 480 return ddf_driver_main(&ne2k_driver); 486 481 }
Note:
See TracChangeset
for help on using the changeset viewer.