mlx5io.h (ea78f07b5eb1c2236814d35a280c34541fb1cf82) mlx5io.h (998c9a2bbc8d8050d48d77a519d2f721edc578b2)
1/*-
2 * Copyright (c) 2018, Mellanox Technologies, Ltd. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 45 unchanged lines hidden (view full) ---

54 void *img_fw_data;
55 size_t img_fw_data_len;
56};
57
58#define MLX5_FWDUMP_GET _IOWR('m', 1, struct mlx5_fwdump_get)
59#define MLX5_FWDUMP_RESET _IOW('m', 2, struct mlx5_tool_addr)
60#define MLX5_FWDUMP_FORCE _IOW('m', 3, struct mlx5_tool_addr)
61#define MLX5_FW_UPDATE _IOW('m', 4, struct mlx5_fw_update)
1/*-
2 * Copyright (c) 2018, Mellanox Technologies, Ltd. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 45 unchanged lines hidden (view full) ---

54 void *img_fw_data;
55 size_t img_fw_data_len;
56};
57
58#define MLX5_FWDUMP_GET _IOWR('m', 1, struct mlx5_fwdump_get)
59#define MLX5_FWDUMP_RESET _IOW('m', 2, struct mlx5_tool_addr)
60#define MLX5_FWDUMP_FORCE _IOW('m', 3, struct mlx5_tool_addr)
61#define MLX5_FW_UPDATE _IOW('m', 4, struct mlx5_fw_update)
62#define MLX5_FW_RESET _IOW('m', 5, struct mlx5_tool_addr)
62
63#ifndef _KERNEL
64#define MLX5_DEV_PATH _PATH_DEV"mlx5ctl"
65#endif
66
67enum mlx5_fpga_id {
68 MLX5_FPGA_NEWTON = 0,
69 MLX5_FPGA_EDISON = 1,

--- 81 unchanged lines hidden ---
63
64#ifndef _KERNEL
65#define MLX5_DEV_PATH _PATH_DEV"mlx5ctl"
66#endif
67
68enum mlx5_fpga_id {
69 MLX5_FPGA_NEWTON = 0,
70 MLX5_FPGA_EDISON = 1,

--- 81 unchanged lines hidden ---