From: Jan Michel Date: Mon, 1 Dec 2014 12:24:35 +0000 (+0100) Subject: fixed network map GbE entry X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=9110aa20cbc99b12ae34c4d02dba40d076c8817a;p=daqtools.git fixed network map GbE entry --- diff --git a/web/htdocs/network/map.pl b/web/htdocs/network/map.pl index 7106a01..e4523d2 100755 --- a/web/htdocs/network/map.pl +++ b/web/htdocs/network/map.pl @@ -138,14 +138,17 @@ if($ENV{'QUERY_STRING'} =~ /getmap/) { $feat .= GetTDCInfo($addr,$inclLow->{$addr},1); } } - if($inclLow->{$addr}&0x800000) { #GbE + if($inclLow->{$addr}&0x30000) { #GbE $feat .= "\nGbE: "; - if($inclLow->{$addr} & 0x10000) {$feat .= "data sending, ";} + if($inclLow->{$addr} & 0x10000) { + $feat .= "data sending buffer 64kB, " if(($inclLow->{$addr} & 0xc0000) = 0x40000); + $feat .= "data sending, " if(($inclLow->{$addr} & 0xc0000) = 0x00000); + } if($inclLow->{$addr} & 0x20000) { - $feat .="slow control, "; - if($inclLow->{$addr} & 0x400000) { - $feat .= "with multi-packet"; - } + $feat .= "slow control buffer 4kB, " if(($inclLow->{$addr} & 0x300000) = 0x10000); + $feat .= "slow control buffer 64kB, " if(($inclLow->{$addr} & 0x300000) = 0x20000); + $feat .= "slow control, " if(($inclLow->{$addr} & 0x300000) = 0x00000); + $feat .= "with multi-packet" if ($inclLow->{$addr} & 0x400000); } } $feat .= "\nHub: ".(($inclLow->{$addr}>>24)&0x7)." SFPs";