1290968Sngie/* SPDX-License-Identifier: GPL-2.0+ */ 2290968Sngie#ifndef TEN64_CNTRL_H 3293821Sngie#define TEN64_CNTRL_H 4293821Sngie 5290968Sngie/** 6290968Sngie * struct t64uc_board_info - Board Information Structure 7290968Sngie * @mac: Base MAC address 8290968Sngie * @cpuId: Microcontroller unique serial number 9290968Sngie * @fwversion_major: Microcontroller version number (Major) 10290968Sngie * @fwversion_minor: Microcontroller version number (Minor) 11290968Sngie * @fwversion_patch: Microcontroller version number (Patch) 12293821Sngie */ 13293821Sngiestruct t64uc_board_info { 14293821Sngie u8 mac[6]; 15293821Sngie u32 cpuId[4]; 16290968Sngie u8 fwversion_major; 17 u8 fwversion_minor; 18 u8 fwversion_patch; 19} __packed; 20 21enum { 22 TEN64_CNTRL_GET_BOARD_INFO, 23 TEN64_CNTRL_10G_OFF, 24 TEN64_CNTRL_10G_ON, 25 TEN64_CNTRL_SET_NEXT_BOOTSRC 26}; 27 28#endif 29