Changeset 503ce85 in mainline for uspace/drv/nic/ne2k/ne2k.c


Ignore:
Timestamp:
2025-08-03T09:03:10Z (7 months ago)
Author:
Nataliia Korop <n.corop08@…>
Children:
adbd7e1
Parents:
5caad1d (diff), 46e2152 (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.
Message:

Merge branch 'packet-capture-pull-req' into local_master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/ne2k/ne2k.c

    r5caad1d r503ce85  
    4444#include <str_error.h>
    4545#include <async.h>
     46#include <ddf/log.h>
    4647#include "dp8390.h"
    4748
     
    450451        }
    451452
    452         rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);
     453        rc = nic_fun_add_to_cats(fun);
    453454        if (rc != EOK) {
     455                ddf_msg(LVL_ERROR, "Failed adding function to categories");
    454456                ddf_fun_unbind(fun);
    455                 ddf_fun_destroy(fun);
    456457                return rc;
    457458        }
     
    497498        nic_driver_implement(&ne2k_driver_ops, &ne2k_dev_ops, &ne2k_nic_iface);
    498499
     500        ddf_log_init(NAME);
    499501        return ddf_driver_main(&ne2k_driver);
    500502}
Note: See TracChangeset for help on using the changeset viewer.