iPXE
mlx_nvconfig_defaults.h
Go to the documentation of this file.
1#ifndef MLX_NVCONFIG_DEFAULTS_H_
2#define MLX_NVCONFIG_DEFAULTS_H_
3
4/*
5 * Copyright (C) 2015 Mellanox Technologies Ltd.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 * 02110-1301, USA.
21 */
22
23FILE_LICENCE ( GPL2_OR_LATER );
24#include "mlx_nvconfig_prm.h"
25/*
26 * Default values
27 */
28#define DEFAULT_FLEXBOOT_MENU_TO 4
29#define DEFAULT_MAX_VFS 8
30#define DEFAULT_BOOT_PROTOCOL 1
31#define DEFAULT_OPTION_ROM_EN 1
32#define DEFAULT_BOOT_VLAN 1
33#define DEFAULT_ISCSI_DHCP_PARAM_EN 1
34#define DEFAULT_ISCSI_IPV4_DHCP_EN 1
35#define DEFAULT_ISCSI_DRIVE_NUM 0x80
36#define DEFAULT_OCSD_OCBB_EN 1
37#define DEFAULT_BOOT_IP_VER 0
38#define DEFAULT_BOOT_LINK_UP_TO 0
39#define DEFAULT_BOOT_UNDI_NETWORK_WAIT_TO 30
40#define DEFAULT_BOOT_IP_VERSION_EN 1
41
70
81
84 IN mlx_utils *utils,
86 OUT struct mlx_nvconfig_port_conf_defaults *port_conf_def
87 );
88
91 IN mlx_utils *utils,
92 OUT struct mlx_nvconfig_conf_defaults *conf_def
93 );
94
97 IN mlx_utils *utils,
98 OUT struct mlx_nvcofnig_romini *rom_ini
99 );
100#endif /* MLX_NVCONFIG_DEFAULTS_H_ */
u8 port
Port number.
Definition CIB_PRM.h:3
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
mlx_status nvconfig_read_rom_ini_values(IN mlx_utils *utils, OUT struct mlx_nvcofnig_romini *rom_ini)
mlx_status nvconfig_read_port_default_values(IN mlx_utils *utils, IN mlx_uint8 port, OUT struct mlx_nvconfig_port_conf_defaults *port_conf_def)
mlx_status nvconfig_read_general_default_values(IN mlx_utils *utils, OUT struct mlx_nvconfig_conf_defaults *conf_def)
int mlx_status
uint8_t mlx_boolean
uint8_t mlx_uint8
#define IN
Definition mlx_utils.h:28
#define OUT
Definition mlx_utils.h:29