iPXE
mlx_cmd.h
Go to the documentation of this file.
00001 #ifndef NODNIC_CMD_H_
00002 #define NODNIC_CMD_H_
00003 
00004 /*
00005  * Copyright (C) 2015 Mellanox Technologies Ltd.
00006  *
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU General Public License as
00009  * published by the Free Software Foundation; either version 2 of the
00010  * License, or any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00020  * 02110-1301, USA.
00021  */
00022 
00023 FILE_LICENCE ( GPL2_OR_LATER );
00024 
00025 #include "mlx_nodnic_data_structures.h"
00026 #include "../../mlx_utils/include/public/mlx_utils.h"
00027 #include "../../mlx_utils/include/public/mlx_pci_gw.h"
00028 
00029 mlx_status
00030 nodnic_cmd_read(
00031                                 IN nodnic_device_priv *device_priv,
00032                                 IN mlx_uint32 address,
00033                                 OUT mlx_pci_gw_buffer *buffer
00034                                 );
00035 
00036 mlx_status
00037 nodnic_cmd_write(
00038                                 IN nodnic_device_priv *device_priv,
00039                                 IN mlx_uint32 address,
00040                                 IN mlx_pci_gw_buffer buffer
00041                                 );
00042 
00043 #endif /* STUB_NODNIC_CMD_H_ */