aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/tools/db-id.c
diff options
context:
space:
mode:
authorDerek Kozel <derek.kozel@ettus.com>2018-02-07 17:33:41 +0000
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-10-25 10:30:59 -0700
commitb8abcdbec3447f2c01e65b2b0282e8a9410cf579 (patch)
tree104462667dddd0a83efd8fd405f948db49aa6d53 /mpm/tools/db-id.c
parente9077d3452b1d3204b34ac5ce5125c6f70fc2ac6 (diff)
downloaduhd-b8abcdbec3447f2c01e65b2b0282e8a9410cf579.tar.gz
uhd-b8abcdbec3447f2c01e65b2b0282e8a9410cf579.tar.bz2
uhd-b8abcdbec3447f2c01e65b2b0282e8a9410cf579.zip
mpm: tools: Added Rhodium ID to db-id utility
Diffstat (limited to 'mpm/tools/db-id.c')
-rw-r--r--mpm/tools/db-id.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpm/tools/db-id.c b/mpm/tools/db-id.c
index 87c06392b..7739c3532 100644
--- a/mpm/tools/db-id.c
+++ b/mpm/tools/db-id.c
@@ -1,5 +1,5 @@
//
-// Copyright 2017 Ettus Research, a National Instruments Company
+// Copyright 2017-2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
@@ -21,6 +21,8 @@ static void usrp_sulfur_db_eeprom_print_id(struct usrp_sulfur_db_eeprom *ep)
printf("product=ni,magnesium-rev%x\n", rev + 1);
else if (ntohs(ep->pid) == 0x180)
printf("product=ni,eiscat-rev%x\n", rev + 1);
+ else if (ntohs(ep->pid) == 0x152)
+ printf("product=ni,rhodium-rev%x\n", rev + 1);
else
printf("product=unknown-(%04x)\n", ep->pid);