summaryrefslogtreecommitdiff
path: root/mbgstatus/mbgstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbgstatus/mbgstatus.c')
-rw-r--r--mbgstatus/mbgstatus.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/mbgstatus/mbgstatus.c b/mbgstatus/mbgstatus.c
index 654367b..fdf1e07 100644
--- a/mbgstatus/mbgstatus.c
+++ b/mbgstatus/mbgstatus.c
@@ -1,7 +1,7 @@
/**************************************************************************
*
- * $Id: mbgstatus.c 1.17 2018/11/15 12:12:37Z martin REL_M $
+ * $Id: mbgstatus.c 1.18 2019/02/08 11:08:47Z martin REL_M $
*
* Description:
* Main file for mbgstatus program which demonstrates how to
@@ -10,7 +10,9 @@
*
* -----------------------------------------------------------------------
* $Log: mbgstatus.c $
- * Revision 1.17 2018/11/15 12:12:37Z martin
+ * Revision 1.18 2019/02/08 11:08:47Z martin
+ * Also print EPLD name in verbose mode.
+ * Revision 1.17 2018/11/15 12:12:37 martin
* Individual MBG_MICRO_VERSION codes are now obsolete.
* Revision 1.16 2018/07/03 15:28:55 martin
* Use -L rather than -l to display unique names of installed devices
@@ -453,8 +455,13 @@ void show_ext_stat_info( MBG_DEV_HANDLE dh, const PCPS_DEV *p_dev, const char *t
// now print information
if ( verbose )
+ {
printf( "Feature mask: 0x%08lX\n", (ulong) ri.features );
+ if ( verbose > 2 )
+ printf( "EPLD name: \"%s\"\n", ri.epld_name );
+ }
+
if ( _pcps_has_stat_info( p_dev ) )
{
if ( _pcps_has_stat_info_mode( p_dev ) )