open-power / serverwiz

Apache License 2.0
4 stars 18 forks source link

P8NVLink support #18

Closed alvintpwang closed 8 years ago

alvintpwang commented 8 years ago

Add P8NVLink support

Change list

target_instances_v3.xml

target_types_mrw.xml

The hostboot code that depends on the TYPE such as "ABUS", "OCC" directly. https://github.com/open-power/hostboot/blob/master-p8/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C#L481 So need to remove P8P_XXX

In xmltohb.pl

sub enumNameToValue { my ($enumeration,$enumeratorName) = @; # Remove the preceding word of P8NVLink. Hostboot can't recognize the P8P_XXX $enumeratorName =~ s/P8P//g; my $nextEnumeratorValue = 0; my $found = 0; my $enumeratorValue;


This change is Reviewable