git: 788088340cdc - stable/14 - cxgbe/iw_cxgbe: Add a placeholder uld_restart.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 18:39:14 UTC
The branch stable/14 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=788088340cdc0919c13cb8849614db69fa3324f8 commit 788088340cdc0919c13cb8849614db69fa3324f8 Author: Navdeep Parhar <np@FreeBSD.org> AuthorDate: 2024-07-07 00:15:22 +0000 Commit: Navdeep Parhar <np@FreeBSD.org> CommitDate: 2024-10-21 17:03:34 +0000 cxgbe/iw_cxgbe: Add a placeholder uld_restart. Sponsored by: Chelsio Communications (cherry picked from commit f1c4ed150334ae2844810a58b7384cb0e3abe664) --- sys/dev/cxgbe/iw_cxgbe/device.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/dev/cxgbe/iw_cxgbe/device.c b/sys/dev/cxgbe/iw_cxgbe/device.c index 28d6d0f2d00c..279bdb20d511 100644 --- a/sys/dev/cxgbe/iw_cxgbe/device.c +++ b/sys/dev/cxgbe/iw_cxgbe/device.c @@ -260,11 +260,13 @@ static int c4iw_mod_unload(void); static int c4iw_activate(struct adapter *); static int c4iw_deactivate(struct adapter *); static int c4iw_stop(struct adapter *); +static int c4iw_restart(struct adapter *); static struct uld_info c4iw_uld_info = { .uld_activate = c4iw_activate, .uld_deactivate = c4iw_deactivate, .uld_stop = c4iw_stop, + .uld_restart = c4iw_restart, }; static int @@ -344,6 +346,12 @@ c4iw_stop(struct adapter *sc) return (0); } +static int +c4iw_restart(struct adapter *sc) +{ + return (0); +} + static void c4iw_activate_all(struct adapter *sc, void *arg __unused) {