2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-14 10:20:31 +00:00

modify comments for mfg_id and prod_id in ipmi module

This commit is contained in:
ertaozh
2017-07-11 22:44:08 -04:00
parent 39abec2ef9
commit 50f5d4c649

View File

@ -1610,9 +1610,10 @@ sub isfpc {
sub isopenpower {
my $sessdata = shift;
if ($sessdata->{prod_id} == 43707 and $sessdata->{mfg_id} == 0) {
# mft_id 0 and prod_id 43707 is for Firestone,Minsky
return 1;
# mfg_id 10876 is for Supermicro, prod_id 2355 for B&S, and 0 for Boston
} elsif (($sessdata->{prod_id} == 0 or $sessdata->{prod_id} == 2355) and $sessdata->{mfg_id} == 10876) {
# mfg_id 10876 is for Supermicro, prod_id 2355 for B&S, and 0 for Boston
return 1;
} else {
return 0;