ARCS. All users updated.
+2013-04-30 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * include/grub/arc/arc.h: Account for missing "other" peripheral on
+ ARCS. All users updated.
+
2013-04-30 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/mips/loongson/init.c: Support halt for loongson 2E.
"eisa", "tc", "scsi", "dti", "multi", "disk", "tape", "cdrom", "worm",
"serial", "net", "video", "par", "point", "key", "audio", "other",
"rdisk", "fdisk", "tape", "modem", "monitor", "print", "pointer",
- "keyboard", "term", "other", "line", "network", NULL
+ "keyboard", "term",
+#ifndef GRUB_CPU_WORDS_BIGENDIAN
+ "other",
+#endif
+ "line", "network", NULL
};
static int
/*
Recognize:
serial(N)
- serial(N)other(M)
+ serial(N)line(M)
*/
for (i = 0; i < 2; i++)
{
&& grub_memcmp (ptr + 1 - (sizeof ("serial") - 1),
"serial", sizeof ("serial") - 1) == 0)
return 1;
- if (!(ptr + 1 >= name + sizeof ("other") - 1
- && grub_memcmp (ptr + 1 - (sizeof ("other") - 1),
- "other", sizeof ("other") - 1) == 0))
+ if (!(ptr + 1 >= name + sizeof ("line") - 1
+ && grub_memcmp (ptr + 1 - (sizeof ("line") - 1),
+ "line", sizeof ("line") - 1) == 0))
return 0;
- ptr -= sizeof ("other") - 1;
+ ptr -= sizeof ("line") - 1;
if (alt_names)
{
if (*ptr != '/')
GRUB_ARC_COMPONENT_TYPE_POINTER,
GRUB_ARC_COMPONENT_TYPE_KBD,
GRUB_ARC_COMPONENT_TYPE_TERMINAL,
+#ifndef GRUB_CPU_WORDS_BIGENDIAN
GRUB_ARC_COMPONENT_TYPE_OTHER_PERIPHERAL,
+#endif
GRUB_ARC_COMPONENT_TYPE_LINE,
GRUB_ARC_COMPONENT_TYPE_NET,
GRUB_ARC_COMPONENT_TYPE_MEMORY_UNIT,