hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/arch/mips/fw/arc/identify.c
....@@ -32,10 +32,6 @@
3232 .liname = "SGI Indy",
3333 .flags = PROM_FLAG_ARCS,
3434 }, {
35
- .arcname = "SGI-IP27",
36
- .liname = "SGI Origin",
37
- .flags = PROM_FLAG_ARCS,
38
- }, {
3935 .arcname = "SGI-IP28",
4036 .liname = "SGI IP28",
4137 .flags = PROM_FLAG_ARCS,
....@@ -87,6 +83,11 @@
8783 return system_type;
8884 }
8985
86
+static pcomponent * __init ArcGetChild(pcomponent *Current)
87
+{
88
+ return (pcomponent *) ARC_CALL1(child_component, Current);
89
+}
90
+
9091 void __init prom_identify_arch(void)
9192 {
9293 pcomponent *p;
....@@ -98,13 +99,7 @@
9899 */
99100 p = ArcGetChild(PROM_NULL_COMPONENT);
100101 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
106102 iname = "Unknown";
107
-#endif
108103 } else
109104 iname = (char *) (long) p->iname;
110105