diff --git a/drivers/ethos/Makefile.dep b/drivers/ethos/Makefile.dep index 0a65c3629c..e2a3652417 100644 --- a/drivers/ethos/Makefile.dep +++ b/drivers/ethos/Makefile.dep @@ -1,7 +1,7 @@ FEATURES_REQUIRED += periph_uart USEMODULE += iolist USEMODULE += netdev_eth -USEMODULE += netdev_legacy_api +USEMODULE += netdev_new_api USEMODULE += random USEMODULE += tsrb diff --git a/drivers/ethos/ethos.c b/drivers/ethos/ethos.c index d689654813..2982bbbd87 100644 --- a/drivers/ethos/ethos.c +++ b/drivers/ethos/ethos.c @@ -442,6 +442,13 @@ static int _get(netdev_t *dev, netopt_t opt, void *value, size_t max_len) return res; } +static int _confirm_send(netdev_t *dev, void *info) +{ + (void)dev; + (void)info; + return -EOPNOTSUPP; +} + /* netdev interface */ static const netdev_driver_t netdev_driver_ethos = { .send = _send, @@ -449,5 +456,6 @@ static const netdev_driver_t netdev_driver_ethos = { .init = _init, .isr = _isr, .get = _get, - .set = netdev_eth_set + .set = netdev_eth_set, + .confirm_send = _confirm_send, };