.. | .. |
---|
32 | 32 | .liname = "SGI Indy", |
---|
33 | 33 | .flags = PROM_FLAG_ARCS, |
---|
34 | 34 | }, { |
---|
35 | | - .arcname = "SGI-IP27", |
---|
36 | | - .liname = "SGI Origin", |
---|
37 | | - .flags = PROM_FLAG_ARCS, |
---|
38 | | - }, { |
---|
39 | 35 | .arcname = "SGI-IP28", |
---|
40 | 36 | .liname = "SGI IP28", |
---|
41 | 37 | .flags = PROM_FLAG_ARCS, |
---|
.. | .. |
---|
87 | 83 | return system_type; |
---|
88 | 84 | } |
---|
89 | 85 | |
---|
| 86 | +static pcomponent * __init ArcGetChild(pcomponent *Current) |
---|
| 87 | +{ |
---|
| 88 | + return (pcomponent *) ARC_CALL1(child_component, Current); |
---|
| 89 | +} |
---|
| 90 | + |
---|
90 | 91 | void __init prom_identify_arch(void) |
---|
91 | 92 | { |
---|
92 | 93 | pcomponent *p; |
---|
.. | .. |
---|
98 | 99 | */ |
---|
99 | 100 | p = ArcGetChild(PROM_NULL_COMPONENT); |
---|
100 | 101 | if (p == NULL) { |
---|
101 | | -#ifdef CONFIG_SGI_IP27 |
---|
102 | | - /* IP27 PROM misbehaves, seems to not implement ARC |
---|
103 | | - GetChild(). So we just assume it's an IP27. */ |
---|
104 | | - iname = "SGI-IP27"; |
---|
105 | | -#else |
---|
106 | 102 | iname = "Unknown"; |
---|
107 | | -#endif |
---|
108 | 103 | } else |
---|
109 | 104 | iname = (char *) (long) p->iname; |
---|
110 | 105 | |
---|