Changeset 87488278 in mainline for uspace/drv/nic/ne2k/ne2k.c


Ignore:
Timestamp:
2024-06-27T08:07:31Z (6 days ago)
Author:
GitHub <noreply@…>
Parents:
af3235d (diff), 2a0c827c (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-06-27 08:07:31)
git-committer:
GitHub <noreply@…> (2024-06-27 08:07:31)
Message:

Merge 2a0c827c42eafb070de3bbe3c98a1d8a2b77d719 into af3235d07726dfc8b146c760a25544ea3ac29f9d

File:
1 edited

Legend:

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

    raf3235d r87488278  
    4343#include <str_error.h>
    4444#include <async.h>
     45#include <ddf/log.h>
    4546#include "dp8390.h"
    4647
     
    449450        }
    450451
    451         rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);
     452        rc = nic_fun_add_to_cats(fun);
    452453        if (rc != EOK) {
     454                ddf_msg(LVL_ERROR, "Failed adding function to categories");
    453455                ddf_fun_unbind(fun);
    454                 ddf_fun_destroy(fun);
    455456                return rc;
    456457        }
     
    482483        nic_driver_implement(&ne2k_driver_ops, &ne2k_dev_ops, &ne2k_nic_iface);
    483484
     485        ddf_log_init(NAME);
    484486        return ddf_driver_main(&ne2k_driver);
    485487}
Note: See TracChangeset for help on using the changeset viewer.