diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/dhcp.h | 7 | ||||
-rw-r--r-- | src/include/ipxe/sanboot.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/include/ipxe/dhcp.h b/src/include/ipxe/dhcp.h index 23f16aaa..0f662d63 100644 --- a/src/include/ipxe/dhcp.h +++ b/src/include/ipxe/dhcp.h @@ -433,6 +433,13 @@ struct dhcp_netdev_desc { /** Use cached network settings (obsolete; do not reuse this value) */ #define DHCP_EB_USE_CACHED DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xb2 ) +/** SAN retry count + * + * This is the maximum number of times that SAN operations will be + * retried. + */ +#define DHCP_EB_SAN_RETRY DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 0xbb ) + /** SAN drive number * * This is the drive number for a SAN-hooked drive. For BIOS, 0x80 is diff --git a/src/include/ipxe/sanboot.h b/src/include/ipxe/sanboot.h index a8b0291d..64b665a5 100644 --- a/src/include/ipxe/sanboot.h +++ b/src/include/ipxe/sanboot.h @@ -71,6 +71,8 @@ struct san_device { /** Driver private data */ void *priv; + /** Number of paths */ + unsigned int paths; /** Current active path */ struct san_path *active; /** List of opened SAN paths */ |