Rev 3591 | Rev 3664 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3591 | Rev 3607 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | if (strcmp(type_name, "cpu") == 0) { |
80 | if (strcmp(type_name, "cpu") == 0) { |
81 | uint32_t mid; |
81 | uint32_t mid; |
82 | 82 | ||
83 | /* |
83 | /* |
84 | * "upa-portid" for US, "portid" for US-III, |
84 | * "upa-portid" for US, "portid" for US-III, |
85 | * "cpuid" for US-IV* |
85 | * "cpuid" for US-IV |
86 | */ |
86 | */ |
87 | if (ofw_get_property( |
87 | if (ofw_get_property( |
88 | child, "upa-portid", |
88 | child, "upa-portid", |
89 | &mid, sizeof(mid)) <= 0 |
89 | &mid, sizeof(mid)) <= 0 |
90 | && ofw_get_property(child, "portid", |
90 | && ofw_get_property(child, "portid", |