diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2018-07-11 12:23:50 -0700 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-07-18 15:37:27 -0700 |
commit | 23ff5c277fd0149aae19e6b03304bfe71c3c4f76 (patch) | |
tree | 05ad828b719d8d51aa5a2a2b2220272fae69e036 /mpm/tools | |
parent | 59b4e8f89271dd2878c94a06e42c5e798c0ce812 (diff) | |
download | uhd-23ff5c277fd0149aae19e6b03304bfe71c3c4f76.tar.gz uhd-23ff5c277fd0149aae19e6b03304bfe71c3c4f76.tar.bz2 uhd-23ff5c277fd0149aae19e6b03304bfe71c3c4f76.zip |
mpm: tools: eeprom-id: Add E320 product id to eeprom-id
Add E320 product id to eeprom-id executable
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'mpm/tools')
-rw-r--r-- | mpm/tools/eeprom-id.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mpm/tools/eeprom-id.c b/mpm/tools/eeprom-id.c index 151b38aff..24d34fdb8 100644 --- a/mpm/tools/eeprom-id.c +++ b/mpm/tools/eeprom-id.c @@ -11,6 +11,7 @@ #define N310_PID 0x4242 #define N300_PID 0x4240 +#define E320_PID 0xe320 static void usrp_sulfur_eeprom_print_id(struct usrp_sulfur_eeprom *ep) { @@ -18,6 +19,8 @@ static void usrp_sulfur_eeprom_print_id(struct usrp_sulfur_eeprom *ep) printf("product=ni,n310-rev%x\n", ntohs(ep->rev)+1); else if (ntohs(ep->pid) == N300_PID) printf("product=ni,n300-rev%x\n", ntohs(ep->rev)+1); + else if (ntohs(ep->pid) == E320_PID) + printf("product=ni,e320-rev%x\n", ntohs(ep->rev)+1); else printf("product=unknown-(%04x)\n", ntohs(ep->pid)); |