]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
update network map with new GbE
authorJan Michel <j.michel@gsi.de>
Thu, 16 Jul 2020 12:37:02 +0000 (14:37 +0200)
committerJan Michel <j.michel@gsi.de>
Thu, 16 Jul 2020 12:37:02 +0000 (14:37 +0200)
web/htdocs/network/map.pl

index 3f6ba657ea3a1c17e517d59ac36c52a0c0f2d1a4..4daa3451ed44ee7e5d4933d48e931b50b8628e88 100755 (executable)
@@ -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;