1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 3 * Broadcom Cable Modem firmware format 4 */ 5 6 #ifndef __BCM933XX_HCS_H 7 #define __BCM933XX_HCS_H 8 9 #include <linux/types.h> 10 11 struct bcm_hcs { 12 uint16_t magic; 13 uint16_t control; 14 uint16_t rev_maj; 15 uint16_t rev_min; 16 uint32_t build_date; 17 uint32_t filelen; 18 uint32_t ldaddress; 19 char filename[64]; 20 uint16_t hcs; 21 uint16_t her_znaet_chto; 22 uint32_t crc; 23 }; 24 25 #endif /* __BCM933XX_HCS */ 26