Changes in uspace/drv/nic/ne2k/ne2k.c [3a4c6d9:1c7b0db7] in mainline
- File:
-
- 1 edited
-
uspace/drv/nic/ne2k/ne2k.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ne2k/ne2k.c
r3a4c6d9 r1c7b0db7 44 44 #include <str_error.h> 45 45 #include <async.h> 46 #include <ddf/log.h>47 46 #include "dp8390.h" 48 47 … … 451 450 } 452 451 453 rc = nic_fun_add_to_cats(fun);452 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC); 454 453 if (rc != EOK) { 455 ddf_msg(LVL_ERROR, "Failed adding function to categories");456 454 ddf_fun_unbind(fun); 455 ddf_fun_destroy(fun); 457 456 return rc; 458 457 } … … 498 497 nic_driver_implement(&ne2k_driver_ops, &ne2k_dev_ops, &ne2k_nic_iface); 499 498 500 ddf_log_init(NAME);501 499 return ddf_driver_main(&ne2k_driver); 502 500 }
Note:
See TracChangeset
for help on using the changeset viewer.
