git: f1c4ed150334 - main - cxgbe/iw_cxgbe: Add a placeholder uld_restart.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jul 2024 05:39:06 UTC
The branch main has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=f1c4ed150334ae2844810a58b7384cb0e3abe664
commit f1c4ed150334ae2844810a58b7384cb0e3abe664
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2024-07-07 00:15:22 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2024-07-22 05:25:08 +0000
cxgbe/iw_cxgbe: Add a placeholder uld_restart.
MFC after: 1 month
Sponsored by: Chelsio Communications
---
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)
{