diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-10-02 09:31:36 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-10-02 09:31:36 +0000 |
| commit | e456decc558a4fd25a59cea338f6ef1c723a36b4 (patch) | |
| tree | 69a545c0b15fd08531fc643ef94fbe5302c2f010 /sys/dev/mlx5/mlx5_core | |
| parent | 111b57c3592fe91e2a3c0a1d5ff301ff26d53dbc (diff) | |
Notes
Diffstat (limited to 'sys/dev/mlx5/mlx5_core')
| -rw-r--r-- | sys/dev/mlx5/mlx5_core/mlx5_vsc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mlx5/mlx5_core/mlx5_vsc.c b/sys/dev/mlx5/mlx5_core/mlx5_vsc.c index c21bb12679f0..f5646b85abbb 100644 --- a/sys/dev/mlx5/mlx5_core/mlx5_vsc.c +++ b/sys/dev/mlx5/mlx5_core/mlx5_vsc.c @@ -96,7 +96,8 @@ void mlx5_vsc_unlock(struct mlx5_core_dev *mdev) pci_write_config(dev, vsc_addr + MLX5_VSC_SEMA_OFFSET, 0, 4); } -static int mlx5_vsc_wait_on_flag(struct mlx5_core_dev *mdev, u32 expected) +int +mlx5_vsc_wait_on_flag(struct mlx5_core_dev *mdev, u32 expected) { device_t dev = mdev->pdev->dev.bsddev; int vsc_addr = mdev->vsc_addr; |
