From 23ff5c277fd0149aae19e6b03304bfe71c3c4f76 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Wed, 11 Jul 2018 12:23:50 -0700 Subject: mpm: tools: eeprom-id: Add E320 product id to eeprom-id Add E320 product id to eeprom-id executable Signed-off-by: Moritz Fischer --- mpm/tools/eeprom-id.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mpm/tools/eeprom-id.c') 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)); -- cgit v1.2.3