Changeset e55d2c1 in mainline for uspace/drv/nic/e1k/e1k.c


Ignore:
Timestamp:
2024-04-07T12:53:23Z (10 months ago)
Author:
Nataliia Korop <n.corop08@…>
Children:
2a0c827c
Parents:
c37c24c
Message:

add_to_cat func in lib

File:
1 edited

Legend:

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

    rc37c24c re55d2c1  
    22022202                goto err_fun_bind;
    22032203
    2204         // rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);
    2205         // if (rc != EOK)
    2206         //      goto err_add_to_cat;
    2207 
    2208         // rc = ddf_fun_add_to_category(fun, "pcap");
    2209         // if (rc != EOK) {
    2210         //      ddf_msg(LVL_ERROR, "Failed adding function to category pcap");
    2211         //      goto err_add_to_cat;
    2212         // }
    22132204        rc = nic_fun_add_to_cats(fun);
    22142205        if (rc != EOK) {
    22152206                ddf_msg(LVL_ERROR, "Failed adding function to categories");
     2207                ddf_fun_unbind(fun);
    22162208                return rc;
    22172209        }
Note: See TracChangeset for help on using the changeset viewer.