diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2013-12-16 15:48:36 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-01-09 17:23:34 -0600 |
commit | b3763b9886269712055f7dad45bd29167c128062 (patch) | |
tree | 59df636bb27a679854da08c408c8901a9958a903 /src/usr/targeting | |
parent | 819dfbb10f619cf6054491fffebfb76881c93562 (diff) | |
download | talos-hostboot-b3763b9886269712055f7dad45bd29167c128062.tar.gz talos-hostboot-b3763b9886269712055f7dad45bd29167c128062.zip |
Modified how many pcie targets are added
Change-Id: I0a99c7769caed254c628c283f3249f8048b05a53
CQ: SW238553
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7754
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rwxr-xr-x | src/usr/targeting/common/genHwsvMrwXml.pl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl index 1b7768eef..a337aae5a 100755 --- a/src/usr/targeting/common/genHwsvMrwXml.pl +++ b/src/usr/targeting/common/genHwsvMrwXml.pl @@ -2361,7 +2361,14 @@ sub generate_pcies my ($proc,$ordinalId) = @_; my $proc_name = "n${node}:p${proc}"; print "\n<!-- $SYSNAME n${node}p${proc} PCI units -->\n"; - for my $i ( 0 .. 2 ) + my $max_index = 2; + # TODO RTC: 94803 + if ($CHIPNAME eq "venice") + { + $max_index = 3; + } + + for my $i ( 0 .. $max_index ) { generate_a_pcie( $proc, $i, ($ordinalId*3)+$i ); } |