aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-01-08 13:29:13 -0800
committerAshish Chaudhari <ashish@ettus.com>2016-01-08 13:29:13 -0800
commitb025e7ec71839da95c94784759de40482e7d77f1 (patch)
treeb815eea43f94083578b2d3bec2a8857e6570b7e9 /firmware
parent2326da0dd107e2a784771ff163e3b33be45300ea (diff)
downloaduhd-b025e7ec71839da95c94784759de40482e7d77f1.tar.gz
uhd-b025e7ec71839da95c94784759de40482e7d77f1.tar.bz2
uhd-b025e7ec71839da95c94784759de40482e7d77f1.zip
n230: Added hardware compatibility version checks to UHD
Diffstat (limited to 'firmware')
-rw-r--r--firmware/usrp3/n230/n230_eeprom.h6
-rw-r--r--firmware/usrp3/n230/n230_fw_host_iface.h4
2 files changed, 8 insertions, 2 deletions
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