/********************************************************************** * Author: Cavium, Inc. * * Contact: [email protected] * Please include "LiquidIO" in the subject. * * Copyright (c) 2003-2016 Cavium, Inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, Version 2, as * published by the Free Software Foundation. * * This file is distributed in the hope that it will be useful, but * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or * NONINFRINGEMENT. See the GNU General Public License for more details. ***********************************************************************/ #ifndef _LIQUIDIO_IMAGE_H_ #define _LIQUIDIO_IMAGE_H_ #define LIO_MAX_FW_TYPE_LEN … #define LIO_MAX_FW_FILENAME_LEN … #define LIO_FW_DIR … #define LIO_FW_BASE_NAME … #define LIO_FW_NAME_SUFFIX … #define LIO_FW_NAME_TYPE_NIC … #define LIO_FW_NAME_TYPE_AUTO … #define LIO_FW_NAME_TYPE_NONE … #define LIO_MAX_FIRMWARE_VERSION_LEN … #define LIO_MAX_BOOTCMD_LEN … #define LIO_MAX_IMAGES … #define LIO_NIC_MAGIC … struct octeon_firmware_desc { … }; /* Following the header is a list of 64-bit aligned binary images, * as described by the desc field. * Numeric fields are in network byte order. */ struct octeon_firmware_file_header { … }; #endif /* _LIQUIDIO_IMAGE_H_ */