From e6cae86f9fc2de3a741a101475775fc785ed4095 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Thu, 16 Jul 2020 14:37:02 +0200 Subject: [PATCH] update network map with new GbE --- web/htdocs/network/map.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/htdocs/network/map.pl b/web/htdocs/network/map.pl index 3f6ba65..4daa345 100755 --- a/web/htdocs/network/map.pl +++ b/web/htdocs/network/map.pl @@ -191,10 +191,11 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) { $feat .= ", trigger generation" if ($inclLow->{$addr}&0x8000); } if($table == 1 || $table == 2 || $table ==3 || $table == 4) { - if ($inclHigh->{$addr} & 0x100) { $feat .= "\nLCD Output";} + if ($inclHigh->{$addr} & 0x100) { $feat .= "\nLCD Output";} if ($inclHigh->{$addr} & 0x200) { $feat .= "\nReference Time: through Clock Manager";} if ($inclHigh->{$addr} & 0x400) { $feat .= "\nSPI";} if ($inclHigh->{$addr} & 0x800) { $feat .= "\nUART";} + if ($inclHigh->{$addr} & 0x2000){ $feat .= "\nGbE";} if ($inclHigh->{$addr}>>12&0xF) { $feat .= "\nInput monitor:"; my $d = trb_register_read($addr,0xdf8f) // trb_register_read($addr,0xdf8f); @@ -315,6 +316,7 @@ sub GetSerial { if($type == 0x96) { $file = 'dirich'; } if($type == 0x97) { $file = 'dirich_concentrator'; } if($type == 0xa5) { $file = 'trb5sc'; } + if($type == 0xa6) { $file = 'mdcmbo'; } if($type == 0x23 && -e "/home/hadaq/trbsoft/daq/mdc/serials_oep.db" ) {$file = "/home/hadaq/trbsoft/daq/mdc/serials_oep.db";} return '-' unless $file; -- 2.43.0