From b025e7ec71839da95c94784759de40482e7d77f1 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Fri, 8 Jan 2016 13:29:13 -0800 Subject: n230: Added hardware compatibility version checks to UHD --- firmware/usrp3/n230/n230_eeprom.h | 6 ++++-- firmware/usrp3/n230/n230_fw_host_iface.h | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'firmware/usrp3/n230') diff --git a/firmware/usrp3/n230/n230_eeprom.h b/firmware/usrp3/n230/n230_eeprom.h index 5513d4239..b6c2a0c76 100644 --- a/firmware/usrp3/n230/n230_eeprom.h +++ b/firmware/usrp3/n230/n230_eeprom.h @@ -35,7 +35,7 @@ extern "C" { #endif #define N230_EEPROM_VER_MAJOR 1 -#define N230_EEPROM_VER_MINOR 0 +#define N230_EEPROM_VER_MINOR 1 #define N230_EEPROM_SERIAL_LEN 9 #define N230_EEPROM_NAME_LEN 32 @@ -57,7 +57,9 @@ typedef struct uint16_t hw_revision; uint16_t hw_product; uint8_t serial[N230_EEPROM_SERIAL_LEN]; - uint8_t _pad0[20 - N230_EEPROM_SERIAL_LEN]; + uint8_t _pad_serial; + uint16_t hw_revision_compat; + uint8_t _pad0[18 - (N230_EEPROM_SERIAL_LEN + 1)]; //Ethernet specific uint32_t gateway; diff --git a/firmware/usrp3/n230/n230_fw_host_iface.h b/firmware/usrp3/n230/n230_fw_host_iface.h index 2d510bf1f..dc82df2fc 100644 --- a/firmware/usrp3/n230/n230_fw_host_iface.h +++ b/firmware/usrp3/n230/n230_fw_host_iface.h @@ -115,6 +115,10 @@ typedef struct // //-------------------------------------------------- +#define N230_HW_REVISION_COMPAT 1 +#define N230_HW_REVISION_MIN 1 + + #define N230_CLAIMER_TIMEOUT_IN_MS 2000 #ifdef __cplusplus -- cgit v1.2.3